【问题标题】:Responsive footer CSS issue响应式页脚 CSS 问题
【发布时间】:2015-04-07 13:51:22
【问题描述】:

我有一个 wordpress 网站http://amcham.konsagous.com/ 页脚在桌面上看起来不错,但在移动设备上,您有一个不会移动的社交媒体链接 DIV。 此外,版权页脚不会在移动视图中向下移动。我尝试了以下方法:

.site-info{
position : absolute;
bottom : 0px;
}

但随后页脚消失了。有什么建议吗?

【问题讨论】:

  • 如果你想一直粘在屏幕底部:.site-info{ position : fixed; bottom : 0px; }

标签: wordpress css


【解决方案1】:

嗨,删除线条样式,它看起来很适合响应式设计。

text-2 
{
 position: absolute; - remove
}
text-3
{
position: absolute; - remove
top: 325px; - remove
}
text-4
{
position: absolute;  - remove
    top: 593px;  - remove
}
text-5
{
position: absolute;  - remove
top: 847px; - remove
}

除了#text-5 { 位置:绝对!重要; - 消除 }

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-10-31
    • 1970-01-01
    • 2021-10-15
    • 1970-01-01
    • 2014-01-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多