在页脚上方的网站底部取走空白区域(Taking away white space at the bottom of my site above the footer)

编程入门 行业动态 更新时间:2024-10-27 20:39:47
在页脚上方的网站底部取走空白区域(Taking away white space at the bottom of my site above the footer)

我在我的WordPress网站上使用了一个基石页面构建器(我不确定它是否重要),我试图带走一些白色间距,你可以在页面底部看到这里www.simbie.com就在页脚上方。

我已经尝试了一切, body {padding:0 margin:0}页脚边距/填充等等它不会消失。 有没有人有什么建议。

干杯

I am using a cornerstone page builder on my WordPress site( I am not sure if it matters), I am trying to take away some white spacing which you can see at the bottom of the page here www.simbie.com just above the footer.

I have tried everything, body {padding:0 margin:0} Footer margin/padding etc. It will just not go away. Does anyone have any suggestions.

Cheers

最满意答案

试试这个代码

添加这些css以删除主页中的白色间距

div#x-section-7 { margin: 0 !important; } section#content { padding-bottom: 0 !important; }

添加这些css以删除其他页面的空白间距

div#footerbottom, .no.content { float: left; width: 100%; }

希望这可以帮助!

Try this code

Add these css to remove white spacing in home page

div#x-section-7 { margin: 0 !important; } section#content { padding-bottom: 0 !important; }

Add these css to remove white spacing for other pages

div#footerbottom, .no.content { float: left; width: 100%; }

Hope this helps!

更多推荐

本文发布于:2023-08-02 09:15:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1373235.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:脚上   取走   空白   区域   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!