Custom CSS: stable class names you can target
Custom CSS lets you fine-tune how your website looks beyond what the Design tab offers. Write your rules against the names on this page: they stay the same in every template and through template updates, so your CSS keeps working.
Important: Everything else in your website's code (other class names, the order elements are nested in) belongs to the template and can change with any update. CSS written against it is yours to maintain, and CloudBridal support can't fix it.
Where to Add It
- Open Website and choose Advanced
- Type your rules in Custom CSS (up to 50 KB; the card shows how much you've used)
- Save, then publish
Your CSS is drawn after your template's own styles, so a rule wins over the template's when both are equally specific. It needs the Change custom code permission.
- Previews: custom CSS is off when you preview a different template, because it was written for your current one. Check it after switching
- Safe mode turns it off on your live site, together with custom code and HTML blocks
Attributes
Name | Where | Values |
|---|---|---|
| The page's | The template: |
| Each section's wrapper ( | The kind of section, such as |
| The same wrapper | The same value. Prefer |
| A section's own |
|
Classes
Class | What it marks |
|---|---|
| The announcement bar above the header, when you show one |
| The site header |
| The main menu in the header |
| The site footer |
| The page's main content |
| Each section's wrapper, one per section, in page order |
| A centered column: the inside of a section, the header and the footer |
| A heading: section and item titles, and a page's title |
| A button-styled link, such as a call to action or the header's booking button |
| A bordered panel: a card without a photo, or a box of details |
| An HTML block's holder; its frame sits inside it |
Examples
A thinner header on one template only:
[data-template='salon'] .cb-header .cb-container {
min-height: 3.5rem;
}
More room above every testimonials section:
.cb-section[data-section-type='testimonials'] {
margin-top: 2rem;
}
Square buttons everywhere:
.cb-button {
border-radius: 0;
}
Related Articles
Updated on: 23/11/2026
Thank you!
