Naming classes
Blocks
Our custom blocks are named:
.blockItems inside block:
.block-header.block-content.block-footerItems
These can be columns, upsells, grids, masonries, social media walls, logowalls, etc.
Parent
.items {
}Children
.item.item-something {
}Wrappers
Site-header and site-footer follow the WordPress guidelines:
.site-header {
}.site-footer {
}Content width container is always:
.container {
}Something "smaller" like text:
.content {
}Other general wrappers:
.wrapper-something {
}Headings
We use heading instead of title.
.heading-something {
}Icons
.wrapper-icons {
}Buttons and links
Defined in _button.scss component.
.wrapper-button,
.wrapper-link {
}Last updated
Was this helpful?

