SOLVED: Bug in css styles | Priority of styles

I ran into such a problem that the styles in the frontend.min.css file are more important than the styles I set in bricks.

bug

Because of this, I can’t do the alignment in the slider and many other things.

I think it was more correct for frontend.min.css to be connected earlier than bricks styles. Then there wouldn’t be such a problem. I hadn’t noticed her before.

Hey Oleg,

thanks for your report.

This is not a priority but a specificity issue. Can you please enable the class chaining in the settings and see if that fixes your issue?

Note: Enabling the class chaining actually means disabling the setting’s switch (as seen on the screenshot). Don’t confuse this. :slight_smile:

Best,

André

I turned it on, but it didn’t help

Hey Oleg,

thanks for the update. For me it works when the class chaining enabled. But of course it should also work with the chaining being disabled. Not an easy one though as we can’t just change the CSS as this would break many existing sites relying on this. We’ll see what we can do about it.

Best,

André

Hi guys,
This issue should be solved by @layer (since 2.0).

Please let us know if you continue to experience problems.