【发布时间】:2017-01-13 01:49:52
【问题描述】:
我们接管了一个 Wordpress 网站。网站使用 Bridge 主题,这个主题使用 QODE 滑块作为横幅插件。
问题是: 横幅在桌面上不可见,仅在移动布局上可见。当页面在横幅位置加载时可见但加载完成后,横幅会弹出。我们可以通过一些 CSS hack 来修复它,但这不是正确的方法。这可能是插件或主题中的设置,但我们在任何地方都找不到。
它看起来也像一个 js 文件为内容添加了 1100px 的负边距...... 我们使用的 css hack 是:
@media screen and (min-width: 900px) {
.header_bottom .container_inner {
position: fixed !important;
width: 100% !important;
background-color: white !important;
margin-top: -20px !important;
}
.container{
position: relative !important;
}
.content{
margin-top: 0 !important;
}
.q_slider_inner{
padding-top: 20px !important;
}
.title_size_small{
height: 0px !important;
}
.header_bottom .container_inner{
margin-left: -45px !important;
}
.content .container .container_inner.page_container_inner{
padding: 200px 0 0 0 !important;
}
}
你们中的一些人对桥接主题或 QODE 插件有任何经验吗?或者您知道如何找到此类问题是 Wordpress?
【问题讨论】:
标签: javascript css wordpress wordpress-theming