SOLVED: Global CSS Classes properties are not being applied

When I assign a class to a button and then assign certain properties to it (in this case, background color), they are not being applied to the element. Screenshot is below.

I’ve tried on different sites but it won’t work. Is this a bug or something I might be missing?

Thanks!


Hi João,
In your screenshot, you can see that you also assigned a background color (white) to the ID of the button. The ID always wins against the class because it has a higher specificity. Remove the styling from the ID, and you get the desired result.

Best regards,
timmse