I have a class “section-dark” defining a block-margin.
Here is the class:
Here is the element itself:
Class-chaining is deactivated.
It works fine in the builder:
However in the frontend the order is reversed:
So the block margin never kicks in…
How to solve this?
timmse
3
Thanks for reporting this! I could reproduce the issue with external CSS files and have added it to our internal bug tracker.
As a workaround, please switch Bricks → Settings → Performance → CSS loading method to Inline styles.
We’ll update this thread once the issue is fixed.
We’ve addressed this in Bricks 2.5-beta (beta release), now available for manual download from your Bricks account.
With the External files CSS loading method, component root styles now override assigned global class styles, matching the inline CSS output.
Please read the changelog entry before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.