# SOLVED: Instance cannot overwrite class settings - CSS class order wrong

**URL:** <https://forum.bricksbuilder.io/t/solved-instance-cannot-overwrite-class-settings-css-class-order-wrong/40731>\
**Category:** Bugs\
**Tags:** v2-4-4\
**Created:** [October 29, 2026, 1:07pm UTC](https://forum.bricksbuilder.io/t/solved-instance-cannot-overwrite-class-settings-css-class-order-wrong/40731 "2026-10-29T13:07:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbaierl](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mbaierl/32/33318_2.png) [@mbaierl](https://forum.bricksbuilder.io/u/mbaierl)\
**Post date:** [October 29, 2026, 1:07pm UTC](https://forum.bricksbuilder.io/t/solved-instance-cannot-overwrite-class-settings-css-class-order-wrong/40731/1 "2026-10-29T13:07:41Z")

</div>

I have a class “section-dark” defining a block-margin.

Here is the class:

 ![CleanShot 2026-10-29 at 14.02.54@2x](https://forum.bricksbuilder.io/uploads/default/original/3X/6/1/615f74cd8f7bc08d5c813afe0b27ceee6198fb04.webp)

Here is the element itself:

 ![CleanShot 2026-10-29 at 14.05.02@2x](https://forum.bricksbuilder.io/uploads/default/original/3X/2/5/2526725aa257c62ee405b8fa02d4ba7added0a47.webp)

Class-chaining is deactivated.

It works fine in the builder:

 ![CleanShot 2026-10-29 at 14.06.10@2x](https://forum.bricksbuilder.io/uploads/default/original/3X/5/7/57f2eeb0647b5e3fe51efe31e361072a138d6973.webp)

However in the frontend the order is reversed:

 ![CleanShot 2026-10-29 at 14.06.37@2x](https://forum.bricksbuilder.io/uploads/default/original/3X/f/5/f5dc4ce1ad68b0c2ab3eaaa25a0fea1fb072a8f1.webp)

So the block margin never kicks in…

How to solve this?

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 29, 2026, 3:01pm UTC](https://forum.bricksbuilder.io/t/solved-instance-cannot-overwrite-class-settings-css-class-order-wrong/40731/3 "2026-10-29T15:01:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bricks.assistant](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/bricks.assistant/32/32537_2.png) [@bricks.assistant](https://forum.bricksbuilder.io/u/bricks.assistant)\
**Post date:** [November 17, 2026, 12:22pm UTC](https://forum.bricksbuilder.io/t/solved-instance-cannot-overwrite-class-settings-css-class-order-wrong/40731/4 "2026-11-17T12:22:32Z")

</div>

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](https://bricksbuilder.io/release/bricks-2-5-beta/) before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.
