I've been adding this type of code to some of the sites I've built:
http://qrayg.com/experiment/footerstick/
It makes the footer stick to the bottom of the page. I know it is a pain in the butt..
Does anyone know the best way to add this to Zen? It can make a site look a lot nicer.
Comments
Comment #1
Hueij commentedFor my own site I use the technique explained at http://www.themaninblue.com/writing/perspective/2005/08/29/ . In page.tpl.php I moved #footer out of #page and put it below it, like
I think with this change your method will work too, and I think that this moving of #footer should be standard in Zen.
Comment #2
ajudson commentedI've got this working using #1 method, and a couple of bits from http://www.alistapart.com/articles/footers/. In my case I'm working on a subtheme using the fixed width layout. The css changes applied are:
Comment #3
photocurio commentedHi ajudson, I finally noticed your post. I made the changes you suggested, but my layout didn't budge. Did you have to override core drupal settings?
Comment #4
photocurio commentedgot it to work.. footer requires absolute positioning.
Comment #5
vm commenteddid you clear your cache tables in administer -> performance after altering the css file?
Comment #6
akalata commented