Styling your banner
This section covers every way to change how your consent banner looks - the visual settings in the editor, the design tokens behind them, and custom CSS when you need full control.
New here? Start with Quick Start, then Customization Guide.
Something not applying? Go straight to Troubleshooting - most cases are selector specificity or a sanitizer rule.
Getting started
Section titled “Getting started” Overview What custom CSS is, when you need it, and how it fits the Shadow DOM architecture.
Quick Start Change your banner's colours, fonts and corners in a few minutes.
How Custom CSS Works (Shadow DOM) Why your site's stylesheet cannot reach the banner, and what that means for you.
Anatomy and reference
Section titled “Anatomy and reference” Banner Anatomy Every region of the banner and the element that renders it.
CSS Classes All banner classes with their DOM path, default properties and tokens.
Design Tokens The CSS custom properties that drive colour, shape and typography.
7 Templates What each template changes, and which tokens it reads.
Customization
Section titled “Customization” Customization Guide Decision tree, specificity cheat sheet, light and dark mode, anti-patterns.
Examples Worked examples: brand colours, rounded corners, custom fonts, full redesign.
Responsive Design Adapting the banner across breakpoints.
Accessibility Contrast, focus rings and target sizes that keep the banner usable.
Before you ship
Section titled “Before you ship” GDPR Compliance Risks Styling choices that turn a valid banner into an invalid one. Read this first.
Branding Policy The attribution element cannot be hidden or restyled via custom CSS.
CSS Sanitizer Rules Patterns that are stripped or rejected when you save.
Troubleshooting My CSS does not apply, I get a 422, the preview does not match the live site.