如何清除wordpress网站末尾的空格? [英] How to remove white space at the end of wordpress website?

查看:321
本文介绍了如何清除wordpress网站末尾的空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法摆脱在网站末尾添加的不必要的空白空间。



该网站的链接是: http:// www。 authorwilliamjwarren.com/



我试过,


  1. 停用插件


  2. html,body {height:100%}


  3. 重置为默认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 ,

  1. deactivating plugins

  2. html, body { height:100%}

  3. 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网站末尾的空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆