I want to apply a class to a button using ‘code element’ .
When I apply the class without having an already existing button with this class in my page, the style won’t take effect, even though I checked and the button have this class.
But if I do have button with this class in my page, it works fine.
Hi Dennis,
In this case, you should add your class manually to Bricks » Settings » Custom CSS so it is always available. For performance reasons, classes added within the builder are only available in the front end if assigned to an element.