【问题标题】:Wordpress QODE banner acting weirdWordpress QODE 横幅表现怪异
【发布时间】: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;
    }
} 

页面加载时:

当页面停止加载时:

当我们使用我们的 css hack 时:

你们中的一些人对桥接主题或 QODE 插件有任何经验吗?或者您知道如何找到此类问题是 Wordpress?

【问题讨论】:

    标签: javascript css wordpress wordpress-theming


    【解决方案1】:

    当我们不为客户创建自定义 WordPress 网站时,我们专门使用 Bridge 主题。最新版本的 Bridge 和 Chrome 55 更新存在问题。我认为这可能是您遇到的问题。现在有一个 Bridge 的更新可以解决这个问题,否则,你必须使用 CSS hack。您可以在

    上查看有关此问题的更多信息

    https://qode.ticksy.com/article/9535/

    【讨论】:

    • hmm 不能解决问题。无论如何。我们优化了自己的 CSS hack,现在可以正常工作了。但这不是我希望的解决方案。
    猜你喜欢
    • 2017-05-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-22
    • 1970-01-01
    • 2017-12-29
    相关资源
    最近更新 更多