Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们在 Wordpress 中构建了我们的网站,一切都很完美,但后来我们想添加一个博客,而页脚奇怪地漂浮在主要内容上,而不是在页面底部应该在的位置。
我们尝试添加一个上边距来解决问题,但这可能不是一个好主意......
这些页面可以在这里看到:
任何有关如何正确解决此问题的帮助将不胜感激。
谢谢。
我不知道包装器之外的div.box是什么,只需删除它在 CSS 上的高度即可解决问题:
在第 413 行的style.css中,删除/注释以下规则:
/*height: 170px*/
一切都应该工作。因为那个 div 限制了 primary_content_wrap 的高度并使页脚显示在更高的位置。