我正在开发这个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;
}
答案 0 :(得分:0)
我不确定,你可以尝试任何一个:
1。将背景颜色white
指定给班级site-inner
。
2。使用班级site-container
将页脚移到div之外。
它应该有用。