Make the footer stick at the bottom of the page

2019-08-05 19:46发布

Here is the site (made in Wordpress): http://milabalami.com I want to have the footer stick at the bottom of the page. Any solutions in how I do this? I have already tried cssstickyfooter.com and xs4all.nl/~peterned/examples/csslayout1.html but none worked as I wanted. What happened was that the main body of the page overlapsed the footer.

I have been wrapping my head around this the past two days and Im lost. Is there anyone that can solve this puzzle?

4条回答
狗以群分
2楼-- · 2019-08-05 20:26

Are you using z-index in the style for your footer?
It'll make the footer come out front so the content doesn't overlap it.

查看更多
再贱就再见
3楼-- · 2019-08-05 20:27

I've always used footerStickAlt, detailed here: http://www.themaninblue.com/writing/perspective/2005/08/29/

查看更多
萌系小妹纸
5楼-- · 2019-08-05 20:41

try position: fixed; on the footer element. Is that what you are looking for?

查看更多
登录 后发表回答