Genesis, Dynamik and Beaver Builder

About this forum
These forums have not been active for several years. They're available for search and reference, but a lot of this information is likely out of date.

For current information, try visiting our Knowledge Base.

Home / Support / Custom Module Development / Genesis, Dynamik and Beaver Builder

This topic is: resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100123

    Jon
    Participant

    With my extensive range of modules for Beaver Builder, the Genesis and Dynamik users all come across the same problem where the Frameworks CSS overrides the BB Modules CSS Styling

    For example:
    This is my HTML
    <a class="sw-btn-one" href="#">Button</a>

    and this is my CSS

    <?php $color = $setting->btn-one-color; ?>
    .sw-btn-one { color: #<?php echo $color; }

    However it gets overriden by Genesis which may look like this
    a { color: #222; }

    If I add !important tags, then my CSS gets prioritised, but of course I am not going to do that. For one it is poor practice, secondly, that is just way to much work haha

    So any suggestions/ideas for Genesis compatibility, I have never used it nor know how it is coded etc to work, but I know BB has a huge Genesis client base so thought you may be able to offer some insight?

    #100227

    Justin Busa
    Keymaster

    Solved in Slack. The solution was to make the selectors more specific…

    a.sw-btn-one instead of .sw-btn-one

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Custom Module Development’ is closed to new topics and replies.