html - 为什么我网站的页脚会卡在页面顶部?

标签 html css wordpress

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;
}

它只会让页脚完全消失。

最佳答案

也可以尝试 position:relativeposition:fixeddisplay:block。找到合适的后,记下它们的工作原理并查看它们所做的更改。

关于html - 为什么我网站的页脚会卡在页面顶部?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40700032/

相关文章:

css - 少样式表语言 : prevent parentheses from being omitted in compiled CSS

javascript - jQuery Resizable Handles 固定位置

php - 需要一个 PHP 解释器

php - WordPress WP_Query 循环似乎与实际查询不同

html - 如何防止抖动div文字褪色

html - 使链接在水平导航栏中居中

javascript - 无法读取 null 的属性 'innerHTML' (我正在使用 window.onload - 在本书演示文件中工作)

wordpress - 使用 wordpress post thumbnail 确定图像方向

javascript - 返回值的编码

javascript - 如何将内联 onclick 函数编写为 es6 箭头函数?