Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   How Do I Implement a Sticky Footer (http://forum.bytesforall.com/showthread.php?t=18720)

jtsharp Oct 20, 2012 08:09 PM

How Do I Implement a Sticky Footer
 
I found some tutorials online but I'm afraid to start messing with Montezuma as it's not a "pure" theme. Any suggestions?

juggledad Oct 21, 2012 06:06 AM

Quote:

Any suggestions?
yup, create a test site and experiment then let us know how to do it.

Jam Oct 25, 2012 06:04 PM

lol

a moment of weakness Juggledad?

Love it.

rosetrees Oct 26, 2012 01:26 PM

Got it!!

Go to layout.css and add this into #footer-bg:

position: fixed;
left: 0px;
bottom: 0px;
width: 100%;

I don't claim credit for this. Thanks go to http://www.youtube.com/watch?v=yxzp00S2VKo

juggledad Oct 26, 2012 02:50 PM

Nice find!. You could also do something similar for the top (#banner-bg) you will have to give it a background colr, a z-index and change 'bottom' to 'top and move the content down, but that would give you a fixed header and footer on the page.

flyboy Sep 16, 2015 10:17 AM

Originally I was going to post a reply here with several methods of sticking the footer to the bottom, depending on the need.

But the post kept on growing, so I decided it's best to move it to a separate thread.

That way the very first post is a complete how-to for anyone else looking for this info. I included the above solution (with credits) as the first solution, and provided two more =)


All times are GMT -6. The time now is 07:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.