问题描述
我无法摆脱在网站末尾添加的不必要的空白空间。
该网站的链接是:
我试过,
-
停用插件
-
html,body {height:100%}
-
重置为默认CSS
但是没有一个没有为此工作。
我已经检查了大多数其他答案同样的问题,但似乎不符合我的情况。
任何帮助将不胜感激,
谢谢!!
在您的样式表中,您有:
media =all
.navbar {
position:relative;
min-height:50px;
margin-bottom:20px;
border:1px solid transparent;
}
将其替换为以下内容:
media =all
.navbar {
min-height:50px;
margin-bottom:20px;
border:1px solid transparent;
}
相对于.navbar的位置会导致您的空格问题。 / p>
I can't get rid of the unwanted white space that added itself at the end of the website.
The link to the website is : http://www.authorwilliamjwarren.com/
I tried ,
deactivating plugins
html, body { height:100%}
reset to default CSS
But none of them didn't work for this.
I've checked most of other answers to the same problem, but nothing seem to fit my case.
Any help would be greatly appreciated,Thank you !!
In your stylesheet you have:
media="all"
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
Replace it with the following:
media="all"
.navbar {
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
The position relative on the .navbar is causing your "whitespace" problem.
这篇关于如何清除wordpress网站末尾的空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!