It is a pretty common scenario to have styled an element in Bricks using its ID instead of creating/assigning a class and then styling the class. Now you want to move the style from the ID to a class.
Fortunately, Bricks enables us to copy styles back and forth between ID and any of the classes that apply to that element.
Here are the steps to copy styles from ID to a class:
- Select the element for which there is at least 1 custom style set to its ID
- Click on the element classes input
- Create or select a class for the element
- Click on the element classes input again
- Click “Copy styles” icon for the element ID
- Click “Paste styles” icon for your desired class
- Click “Reset styles” for the element ID
1 comment
Karthikeyan Ramnath
This was a lifesaver. The reliance on icons in bricks is often frustrating.
Thanks