doubaoguo7469 2018-04-29 13:22
浏览 41
已采纳

Wordpress站点中的页脚大页面? [关闭]

i have issue with some unexpected big spacing at bottom of homepage. There is showing big unwanted spacing that making my site to looks bad. I checked and found that is in this CSS class:

.foot-menu {
font-family: "Oswald", Tahoma, Arial;
float: right;
padding: 0 10px;
text-transform: uppercase;

}

but dont see CSS for spacing there. Can someone to help me how to reduce that?

  • 写回答

1条回答 默认 最新

  • dongshuiga2826 2018-04-29 13:29
    关注

    It is your .full div that is causing the unwanted spacing at the bottom. At present, you are saying that you want 273px at the top and bottom.

    <div id="layout" class="full"></div>
    

    You have:

    .full {
        width: 100%;
        margin: 273px auto }
    

    Change it to:

    .full {
        width: 100%;
        margin: 273px auto 0 auto }
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部