我在我的 WordPress 网站上使用基石页面构建器(我不确定它是否重要),我试图去掉一些白色间距,您可以在此处 www.simbie.com 的页面底部看到在页脚上方。
我已经尝试了所有方法,body {padding:0 margin:0}
Footer margin/padding 等。它不会消失。有没有人有什么建议。
干杯
最佳答案
试试这个代码
添加这些 css 以去除主页中的空白
div#x-section-7 {
margin: 0 !important;
}
section#content {
padding-bottom: 0 !important;
}
添加这些 css 来移除其他页面的空白
div#footerbottom, .no.content {
float: left;
width: 100%;
}
希望这对您有所帮助!
关于html - 去掉我网站底部页脚上方的空白,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45992946/