A consent banner is often the first thing a new visitor reads on your site. If it looks like a stock widget dropped on top of the page, it costs you a little trust before the visitor has seen anything else. If it looks like part of the page, it reads as part of your brand, and the choice it asks for feels like a fair question from you.
Cookie Compliance, by Hu-manity.co gives site owners, marketers and agencies the controls to make the banner theirs: where it sits, how big it is, its colors, buttons, font, motion, words and languages. You see every change in a live preview before you publish, and every look setting is on the Free plan.
This guide walks through each design option as a use case: what you want, what you set, and what your visitor sees.
Use cases at a glance
| Your site | A good starting point |
|---|---|
| Minimal or SaaS site that wants the banner to take little space | Compact banner style, fixed to the bottom: one slim row on a wide screen |
| Dark-themed site or portfolio | Dark background, light text, a bright Primary Color, Button style Solid |
| Editorial or magazine site | Standard style, centered popup, your website’s font, soft rounded buttons |
| Corporate site with a strict brand guide | Fixed top bar, square corners, brand colors set exactly, Button style Outline |
| Shop with a chat widget in the corner | Floating card, and the reopen icon moved to the other corner with extra margin |
| Agency managing many client sites | Start each client from a gallery design, then change two colors and the font |
| Brand serving several countries | Your own wording, translated into the languages your visitors use |
Quick start: three steps
- Create a free account at cookie-compliance.co and add your site.
- Pick a starting look from the New banner gallery or the Classic banner gallery. Each design lists its exact settings.
- Set those values in the dashboard, adjust colors and font to your brand, check the live preview at desktop, tablet and mobile widths, then click Publish Now.
Two banner engines. Cookie Compliance has two banner engines: New, the default for new sites, and Classic. Most design settings work on both. Banner style (Standard or Compact), Button style (Outline or Solid) and Automatic button text are on the New banner. The dashboard tags any setting that applies to one engine only.
Layout: where it sits and how much room it takes
Use case: the banner should sit where it suits your layout, without covering your navigation or your main call to action.
What you set:
- Banner Position: top, bottom, left, right, or a popup in the center of the screen.
- Banner Size: Floating, a card with a gap around it, or Fixed, a bar from edge to edge.
- Margin Size: 0 to 40px between a floating banner and the edge of the screen.
- Banner style (New banner): Standard shows the heading, the message and the full set of consent levels. Compact leaves out the middle level (Balanced) on the first screen. Every category is still one click away under Customize, so both styles offer the same choices.
What your visitor sees: a wide card or a bar at the top or bottom, a panel down the left or right side, or a card in the middle of the screen. With Compact fixed to the top or bottom, a wide screen shows the whole banner as one slim row. On a phone, Standard stacks the choices as full-width buttons that are easy to tap, and Compact keeps them side by side in a single row.
Why it matters: the banner fits around your design instead of fighting it, and you decide how much of the screen it takes before the visitor chooses.
Colors: your palette, readable for everyone
Use case: the banner should use your brand colors, and every visitor should be able to read it.
What you set:
- Background Color, Text Color and Headline Color for the panel and its words.
- Primary Color, your brand accent: the level a visitor picks, switches that are on, the reopen button, and the buttons when Button style is Solid.
- Border Color for outlines and the level choices before one is picked.
- Button Text Color, or on the New banner Automatic, which picks a readable label for whatever fill color you choose.
- Level 1, 2 and 3 Color for the small level markers, when Bullet Points is on.
- Background Opacity from 0.5 to 1. On the New banner, a see-through background also softly blurs the page behind it, so the text stays easy to read.
What your visitor sees: a banner in your colors. While you design, the dashboard checks each pair a visitor has to read, such as body text on the background or button text on the Primary Color. When a pair is hard to read, it tells you the contrast and the target, and offers a one-click fix: a suggested color, or on the New banner Use Automatic. One tip: the check does not count opacity, so keep text contrast strong when you make the background see-through.
Why it matters: brand colors that also pass a readability check, without needing a designer to measure contrast by hand.
Buttons: shape, style and order
Use case: the banner’s buttons should feel like the buttons on the rest of your site.
What you set:
- Button style (New banner): Outline, a clear button with a colored border, or Solid, filled with your Primary Color with the button text color on top. This sets the look of the Customize button and of the Accept button on a blocked video or map. The level choices keep their own look.
- Border Radius from 0 to 25px: square corners, soft corners or full pills.
- Levels Order: Ascending, the most private level first, or Descending, the most open level first.
What your visitor sees: buttons that match your site’s own buttons. On the New banner, every consent level is a button, the most private one included, and nothing is pre-selected. The visitor makes the choice.
Why it matters: consistency with your site builds trust, and an even-handed set of choices is easy for visitors to understand.
Typography: your font, a size people can read
Use case: the banner should speak in the same type as your site.
What you set:
- Font: Your website’s font, Sans-serif, Serif, Device font (the visitor’s own system font), or Banner default. The banner never downloads a font, so it adds no extra request to your pages.
- Headline Font Size from 12 to 21px and Text Font Size from 12 to 16px.
- Any other font your site already loads, with one line in your stylesheet. The dashboard gives you the line to copy.
What your visitor sees: headings and text that look like the rest of the page.
Motion and timing
Use case: you want the banner to arrive calmly, or a moment after the page has loaded.
What you set: an entrance animation, Fade, Slide or None; Animation Speed from 0.1 to 1 second; and, with Delay Display on, a Delay Time of 1 to 9 seconds.
What your visitor sees: a banner that appears the way you choose. Visitors who have asked their device to reduce motion get no entrance animation on the New banner.
The reopen icon: changing a choice later
Use case: visitors who come back need an easy way to change their choice, and the icon should not clash with your chat widget or a sticky bar.
What you set: Update consent icon position, bottom left or bottom right, and Icon Margin X and Y from 0 to 60px.
What your visitor sees: a small icon in the corner you chose, clear of everything else on your page.
Blocked videos and maps that still look on-brand
Use case: where the region requires consent first, the banner holds trackers until the visitor chooses, and that includes embedded videos and maps. The space they leave should not look like a broken page.
What you set: nothing extra. The placeholder uses the same colors, font, corner radius and (on the New banner) Button style as your banner. You can edit its wording, and the dashboard preview can show a sample blocked video so you can check it.
What your visitor sees: a tidy panel in your design where the video or map will appear, with a short explanation and an Accept button that loads it.
Words and languages
Use case: the banner should sound like you, in the languages your visitors speak.
What you set:
- Every piece of text the visitor sees: the heading, the message, the level names and descriptions, the button labels, the privacy links and the blocked-content text.
- Languages from a list of more than 100. The Free plan includes one added language. Professional adds as many as you need, and lets the banner follow the visitor’s browser language as well as your site’s language.
What your visitor sees: your wording, in their language.
Accessibility, built in
Use case: every visitor should be able to read the banner and use it, including with a keyboard or a screen reader.
What you get:
- Readability checks in the dashboard and Automatic button text, as described above.
- On the New banner: full keyboard use, clear focus outlines that stay visible on any background, labels for screen readers on its controls, and respect for reduced motion.
- On the New banner, an option to move keyboard focus to the banner when it appears, so keyboard and screen-reader visitors reach it straight away instead of tabbing through the whole page. It only moves focus when nothing else on the page already has it.
Why it matters: the choice you ask for has to be one every visitor can actually make.
Galleries: start from a finished design
You do not have to start from a blank form. The Cookie Compliance manual has two galleries of complete designs. Each one is a screenshot of the real banner, comes with its exact settings to copy, and has every color pair a visitor reads checked for readability.
- Compact bottom bar: one slim white row, for sites that want the banner to take as little height as possible.
- Compact top bar, dark: a single dark row across the top, for dark-themed sites.
- Compact floating card: a pale violet card with pill-shaped buttons.
- Standard bottom card: a wide white card with all three levels.
- Standard centered: a cream panel in the middle of the page, for warm, editorial sites.
- Standard right panel: a full-height dark panel down the right side.
- Both styles on a phone.
- Minimal card, Dark mint bar, Corporate top bar, Centered violet, Warm left card, Dark rose side panel, Large text teal and Blue top card.
Pick the one closest to your site, set its values in the dashboard, then change the Primary Color and Background Color to your brand.



See it before your visitors do
The dashboard preview shows the real banner with your settings. Switch between desktop, tablet and mobile widths, add a sample blocked video, and check the result before you click Publish Now. Agencies can review a design with a client before anything changes on the live site.
For developers: going further with CSS
When you want a detail no setting covers, use your site’s own stylesheet. There is no separate CSS box to manage.
- The banner publishes documented CSS variables and class hooks, so you can change a color, a size or a single button without overriding internal rules.
- The New banner is shielded from your theme’s general button and text styles, so a theme rule written for your own buttons does not restyle the banner by accident.
- Where a design setting exists, prefer it, so the dashboard’s readability check still covers your choice.
For example, to use a font your site already loads, leave Font on the banner default and add one line:
body #hu, body #hu .hu-btn, body #hu-passive, body #hu-revoke, body .hu-iframe-overlay .hu-btn { font-family: "Your Font", sans-serif; }
The full list of variables, hooks and recipes is in the styling guide.
Design with an AI assistant
If you build sites with an AI assistant, connect it to the Cookie Compliance MCP server. Give it your brand color and page background, and it works out a complete banner design and checks the text and button colors against the WCAG AA readability level. It shows you a before-and-after preview first, and the change reaches your live banner only when it is applied with that preview.
Make the banner part of your site
Choose where it sits and how much room it takes. Set your colors and let the readability check guide you. Match your buttons and font. Preview it at three widths, then publish.
Create a free account at cookie-compliance.co, then browse the New banner gallery and the Classic banner gallery for a design that looks like yours.