That’s somehow a follow up of my previous question (Page or Global CSS do not apply).
To visibly mark content or elements which are still in discussion on our staging entity, I gave those elements (rows, images, columns etc.) an additional custom class “attention”. At the global styles I styled this class like:
.attention {
outline: 5px dashed red;
z-index: 99999;
}
Everywhere - except for the homepage - this style is applied to elements with that custom class. Even when using “!important”.
To make it work on the homepage as well, I had to add the style to ../pro/framework/dist/css/stacks/integrity-light.css
I noticed a lot of "outline: 0 !important"
at that css which obviously overwrite my custom page or global css.
Is that intended?
I wonder how that can be because the inline styles are loaded after the integrity-light.css.
best regards
Mirco
PS: I’m aware that this change to the integrity-light.css will be gone after an update of the theme. and even if it may work at a child theme, I need to remember to remove that style before going life