将wordpress内容显示在一个智能手机屏幕上

问题描述 投票:0回答:2

我在小型个人网站和集成的自定义页脚小部件上工作。在桌面上一切都很好,但在智能手机上加载时,如果向左移动,可以用手指滚动网站。从智能手机直接显示更好的图像。

应该如何(没有左右滚动的选项)

enter image description here

现在如何(当用手指向左滑动时)显示白色屏幕。看起来很糟糕

enter image description here

所以我的问题是如何在这里制作相同的like。这是问题持续存在的URL

android css wordpress browser smartphone
2个回答
1
投票

保证金左侧是150px页脚,即使在小型设备上,也会将内容推出视野。也许尝试以下方法:

@media only screen and (max-width: 400px) {#footer-sidebar{margin-left:15px!important} }

0
投票

这似乎解决了我的问题:

@media only screen and (max-width: 600px) {
#footer-sidebar1 {float:left!important;
}
#footer-sidebar2 {float:left!important;
}
#footer-sidebar3 {float:left!important;
}
#footer-sidebar {
    margin-left:60px!important;
}
}
© www.soinside.com 2019 - 2024. All rights reserved.