Styling & Customization

Complete guide to customizing your Ours Privacy CMP consent banner, including themes, colors, typography, layouts, and text content.

Styling & Customization

Ours Privacy CMP offers extensive customization options to match your website's branding and user experience. You can control everything from colors and fonts to layout and button styles, ensuring your consent banner feels like a natural part of your site.


Visual Customization Options

You can configure styles directly in the application via the Design tab in your CMP configuration. The Design tab covers core visual customization needs, including colors, button styles, and border radius. You can adjust these settings and use the Preview button to see how your changes will look before they go live. Important: Changes must be published to take effect. They are not applied immediately.

All of these customization options are available through point-and-click controls in the Design tab, no coding required:

  • Theme Selection: Choose from multiple pre-built themes including light, dark, and minimal designs
  • Color Customization: Set primary colors, background colors, text colors, and accent colors using color pickers
  • Typography: Control font families, sizes, and weights for all text elements
  • Layout Options: Choose between banner, modal, or floating button layouts
  • Button Styling: Customize button shapes, sizes, colors, and hover effects with simple controls
  • Border & Shadow: Add borders, rounded corners, and shadow effects
  • Responsive Design: All themes automatically adapt to mobile and desktop screens

One of the strongest UI differentiators in Ours Privacy CMP is flexible action-button composition in the consent modal. Instead of forcing a single default pattern, you can pick the exact button layout needed for your legal model and conversion strategy.

Available options:

LayoutWhat Visitors SeeBest For
Accept, Reject and PreferencesAccept All + Reject (Necessary) + Show PreferencesFull multi-action consent flows
Accept and PreferencesAccept All + Show PreferencesSimpler dual-action experiences
Information Only (No Buttons)No action buttons (content-only modal)Informational notices and legal disclosure-only scenarios
Preferences OnlyShow Preferences only (primary style)Opt-out jurisdictions where the main action is preference management
Accept OnlyAccept All onlyMinimal, high-friction-free consent entry points

You can combine these presets with regional policies to run different button strategies by geography.


Advanced Customization with CSS Variables

The Design tab covers most use cases. If you're not technical, you can typically configure everything you need without editing CSS.

For technical users who require advanced customization beyond the options available in the Design tab, CSS variables and CSS classes are available. You can find a complete reference of available CSS variables in the CSS Variables Reference tab within the Design section of your CMP configuration. These are intended for engineering and design teams who need deeper control over the consent modal's appearance.


Text & Content Customization

Beyond visual styling, you have complete control over all text content:

  • Banner Headlines: Customize the main title and description text
  • Button Labels: Set custom text for "Accept All," "Reject All," "Preferences," and other buttons
  • Category Descriptions: Write clear explanations for each cookie category
  • Legal Text: Customize privacy policy links and legal disclaimers
  • Regional Translations: Provide different text for different geographic regions
  • Accessibility: Ensure all text meets accessibility standards

Try Before You Configure

Want to see how different customization options look before implementing them on your site? The Design tab in your CMP configuration provides an in-app interface for configuring and previewing styles. You can adjust colors, button styles, and other visual settings, then use the Preview button to see how your changes will appear before publishing them to your live site.

  • Demo different themes and see how they look in real-time
  • Test color combinations and typography options
  • Preview layouts on different screen sizes
  • Experiment with text content and translations
  • Compare different consent modes (opt-in vs opt-out)
  • Test regional variations and compliance scenarios
  • Validate different button-layout strategies for each jurisdiction before publishing

The preview functionality lets you experiment with all customization options without affecting your live site, making it easy to find the perfect configuration for your brand and compliance needs.


Ours Privacy CMP offers a variety of theme options to match your website's branding and user experience needs.

The examples below show how varied the modal can be styled:


Next Steps

How is this guide?

On this page