css - wordpress 上的粘性页脚问题

标签 css wordpress footer sticky-footer

我已经在我的 wordpress 主题上为粘性页脚实现了一些 CSS,它似乎工作了一半。您可以在此处查看该站点:http://westernalaskasportfishing.com/wptest

您会注意到我从 min-height:100%; 得到了太多的死空间;规则。我不是最擅长使用粘性页脚的人,而且我觉得我很接近。关于如何使其功能齐全的任何想法?

谢谢大家!

最佳答案

我不确定贴纸页脚是什么意思。如果粘性页脚是指您希望元素始终粘在网页底部,无论滚动如何,请使用 CSS“position: fixed; bottom: 0;”。

关于css - wordpress 上的粘性页脚问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15237640/

相关文章:

wordpress - 位置和主题作为子域和文件夹的 SEO 影响

php - Woocommerce 商店上的图像被粉碎和扭曲?

css - IE8 - 页脚 div float 在中间

css - 在 html5 css3 中创建类似页脚的多列

css - 每当我打开 Chrome 控制台时,页脚都会上升

html - Flex/Grid 布局不适用于按钮或字段集元素

javascript - 将 jquery 动画转换为 CSS3

css - Chrome无法应用过滤器:hue-rotate() and transform:rotate() at the same time in an animation

php - 在 wordpress 主题中添加 the_post_thumbnail 作为 CSS 背景

jquery - HTML不规则布局