coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mrsleep99 on August 12, 2007, 04:30:13 AM

Title: Andreas09 Footer Question
Post by: mrsleep99 on August 12, 2007, 04:30:13 AM
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!
Title: Re: Andreas09 Footer Question
Post by: Joachim Müller on August 12, 2007, 08:48:55 AM
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).
Title: Re: Andreas09 Footer Question
Post by: mrsleep99 on August 12, 2007, 05:50:30 PM
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.
Title: Re: Andreas09 Footer Question
Post by: 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;
}
Title: Re: Andreas09 Footer Question
Post by: mrsleep99 on August 12, 2007, 09:40:43 PM
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?
Title: Re: Andreas09 Footer Question
Post by: Nibbler on August 12, 2007, 10:01:06 PM
I don't know. I didn't make the theme.