如何使页脚显示(在站点容器下显示?)

时间:2017-04-26 09:02:47

标签: html css wordpress footer

我正在开发这个http://37.60.224.253/~silviogu/staging.com/与wordpress,genesis框架和移动首先由Brian Gardner主题。我正在尝试重现briangardner.com中显示的页脚显示效果,但无法弄清楚如何在页面加载时避免在网站容器上显示页脚。

这是我正在使用的代码(由briangardner.com复制):

.site-container {
    background-color: #fff;
    margin-bottom: 300px;
    z-index: 9999 !important;
}

.site-footer {
    bottom: 0;
    height: 300px;
    position: fixed;
    width: 100%;
    z-index: -9999 !important;
}

1 个答案:

答案 0 :(得分:0)

我不确定,你可以尝试任何一个:

1。将背景颜色white指定给班级site-inner

2。使用班级site-container将页脚移到div之外。

它应该有用。