如何减少主页上的高度(避免过度滚动)

时间:2013-12-07 18:45:57

标签: wordpress

我目前正在网站上工作,而且我是一名高级新手。有人可以告诉我如何减少页脚下的空间量?我似乎无法弄明白。 http://www.echoasylum.com/strong/category/artists/ 谢谢!

2 个答案:

答案 0 :(得分:0)

从侧栏的css中删除以下行:

padding-bottom: 5000px;

这意味着你应该得到以下结论:

#sidebar {
    background-color: #333333;
    width:225px;
    text-align: center;
    float: left;
    color:#999999;
    font-size:12px;
    line-height: 15px;
    padding-bottom:30px;
    /* margin-bottom: -5000px; */
    /* padding-bottom: 5000px; */


    right: 0px;
}

考虑到这一点,我假设你在这里想要做的是将左侧栏一直拉到页面底部。我相信这(Full height sidebar and full height content, fluid layout)应该有所帮助。祝你好运!

答案 1 :(得分:0)

在你的style.css(第98行)中,你有#sidebar{padding-bottom: 5000px;}。 只需删除它。

相关问题