Andreas09 Footer Question Andreas09 Footer Question
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Andreas09 Footer Question

Started by mrsleep99, August 12, 2007, 04:30:13 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mrsleep99

http://coppermine-gallery.net/demo/cpg14x/index.php?theme=andreas09

^^Check out the theme.
My question is, when you click "Search" the bottom footer resizes and moves up, for whatever reason, and when you click "Home" it goes back to the bottom and appears to be fixed. How do you make it so it's just permanently fixed to the bottom and never resizes? I've looked all over I can't figure this out! Please help!

Joachim Müller

There's less content on the search page than on the gallery home page. The header and footer just wrap the content. If there is less content on a page, the footer will of course be displayed further up on the page.
The effect is visible for you because you run a higher screen resolution than I do on my older notebook (1024x768) on which I'm typing this. If this bothers you, you can add "blind" content (either to the coppermine pages that have less content or to the overall template file for your theme) by adding some linebreaks or a blind gif (spacer.gif) at the bottom. For details, post details: attach two screenshots (using "additional options" when composing your message).

mrsleep99

I tried those methods but is there any other way to change it? A more advanced way? Because when I use spacer images it still changes from page to page depending on how much "content" there is.

Nibbler

Set the #container to be a certain minimum height using css.


#container {
  min-height:600px;
  height:auto !important;
  height:600px;
}

mrsleep99

Quote from: Nibbler on August 12, 2007, 06:08:57 PM
Set the #container to be a certain minimum height using css.


#container {
  min-height:600px;
  height:auto !important;
  height:600px;
}



That seemed to work more efficiently, thank you!
Out of curiosity is it possible to remove the whole wrap feature? Are there any reasons why I wouldn't want to do that?

Nibbler

I don't know. I didn't make the theme.