2016-11-20 51 views
0

This is a Wordpresss site and I believe this is a theme issue that is causing the footer to stick to the top of the page.为什么我的网站页脚卡在我的页面顶部?

我找不出一个针对该问题的站点范围的修复程序。我用过:

.l-footer { 
position:absolute; 
bottom:0; 
} 

它只是使页脚完全消失。

+2

发布您的所有HTML和CSS,编辑您的问题,并打CTRL + M和粘贴代码,也可以链接到页面 – mlegg

+0

@mlegg http://www.gravitytransformation.com/videos/ – Jb11281992

+0

@ Jb11281992请将适用的代码/ html添加到您的帖子中。 – Jhecht

回答

0

尝试position:relative,position:fixeddisplay:block也。一旦你找到了合适的人,请记下他们的工作方式,并查看他们所做的改变。

+0

糟糕 - 我身边的可怕的错误。 – 0xA

+0

修复了错误。 – 0xA

+1

是的,他们也不工作。成功移动页脚的唯一方法是使用position:absolute,然后使用margin-top:100%,但对于我的所有页面而言并不一致 – Jb11281992

0

编辑:

试试这个:

.somefooter { 
    display:inline-block; 
    overflow: hidden; 
} 

通过我认为他们应该做的,将它们放置在您的页脚标签。

+0

不幸的工作 – Jb11281992

相关问题