+1 to this request.
Wonder what was the initial idea doing it the way it behaves now.
Well does responding to this amount to a vote of support or is there something else one needs to do. I’m on mobile so maybe I’m missing it?
I agree. Would be nice if it’s done a bit cleaner. Just the class name that’s needed.
This is an issue that must be addressed and fixed. +1
Custom classes should be reusable and not chained like this. Unless there is some other “normal” way to do independent global custom classes?
- 1,000,000 Totally agree.
It would make things easier.
+1 This is a critical issue that needs to be addressed and fixed asap
+1 agree, thats need to be adressed.
+1
do like the id… be able to turn off the classes
Thank you so much for pointing out this possible improvement @touchdowntech.
The classes are currently applied to elements like this because of a technical decision in Bricks 1.0. A decision that was made way before Bricks had any global classes support. Definitely something we’ll address & improve, but it’s not gonna be tomorrow. Just to manage expectations.
I will share any updates I have about this in this post here.
nice to hear! but one question, what does not tomorrow mean? some kind of minimal timeframe would really help! thanks
Great to hear Thomas.
Do we need to be afraid or scared that we have to adjust/update tons of sites and spend tons of time with fixing broken layouts as soon as the improvement has been launched?
I believe it is not going to happen in the next update. Maybe it will come after 1 or 2 more updates, I assume?
so we got a block out of nowhere but have to hope for essential fixes like this. okok we’ll see. also waiting for an answer about the question “beziehungsweise” above
Awesome! Thanks for the quick response!
Nope.
Help with what? Does the current way the class-based styling is implemented prevent anything critical from working?
Thanks Thomas. Helps a lot!
I second this. There’s no need to chain the CSS class.
Hi guys,
We’ve added a “disable class chaining” setting in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks
You’ll find the setting under Bricks > Settings > Performance > Disable chaining element & global class
Once enabled global classes are output without the element class like: .my-global-class
.
Meaning you can use your global classes on non-Bricks elements too.
If the feedback is positive, the next step is to provide one global class CSS file (when using the external file CSS loading method) rather than loading those rules inline.
Best regards,
timmse