Naming classes
Blocks
Our custom blocks are named:
Items inside block:
Please note: If there is no need for these items, they don't need to be added. For example if there is other items, you don't need an extra div inside container.
Items
These can be columns, upsells, grids, masonries, social media walls, logowalls, etc.
Parent
Children
Wrappers
Site-header and site-footer follow the WordPress guidelines:
Content width container is always:
Something "smaller" like text:
Other general wrappers:
Headings
We use heading
instead of title
.
Icons
Buttons and links
Defined in _button.scss component.
Last updated
Was this helpful?