【问题标题】:Will Visual Composer and Bootstrap 4.0 work together?Visual Composer 和 Bootstrap 4.0 会一起工作吗?
【发布时间】:2018-08-15 10:11:38
【问题描述】:

如果我使用任何主题并包含最新的 Bootstrap 框架 4.0,但我还想要插件 Visual Composer 进行一些所见即所得的编辑,它们会产生冲突吗?如果是,是否有任何解决方法?

【问题讨论】:

    标签: wordpress bootstrap-4 visual-composer


    【解决方案1】:

    您可能想要签出类似这个插件的东西,以使 Visual Composer 对列和行使用引导类而不是其本机类。

    https://wordpress.org/plugins/using-visual-composer-support-for-twitter-bootstrap-themes/

    这绝对是可能的,因为 Themeforest 销售这两种主题。

    https://themeforest.net/collections/4682897-themes-with-visual-composer-and-bootstrap

    【讨论】:

      【解决方案2】:

      是的,它会的。 Bootstrap 有 [class *= "col-"] 类显示表格单元格,Visual Composer 有 .vc-col-sm-12,会读取 bootstrap 类,会产生冲突。 您可以避免覆盖类取决于您的需要。

      【讨论】:

        猜你喜欢
        • 2015-05-27
        • 2010-10-20
        • 2012-01-17
        • 1970-01-01
        • 1970-01-01
        • 2018-12-12
        • 1970-01-01
        • 2014-06-30
        • 2014-07-13
        相关资源
        最近更新 更多