How to customize banner style, colors, logos, and buttons (New Version)

Overview


Layout (position and dialog type) is covered separately. If you are moving from the Legacy Banner, see Migration Guide: Recreating your Legacy Look in New Version.


The Style tab controls how the banner, preferences dialog, and consent widget look. You can upload logos, choose button styles, set colors (including light and dark), adjust surfaces and fonts, and add custom CSS.


Style does not change when cookies are allowed. Consent rules stay in Settings > Consent model & regions.


New Banner. For stores with the New version badge on Settings > Banner. On the Legacy Banner, see How to switch to the new banner or switch back to the previous version.

Legacy steps: Migration Guide: Recreating your Legacy Look in New Version.


Before you start



Open the Style tab


  1. Open Shopify Admin > Apps > Pandectes GDPR Compliance.
  2. Go to Settings > Banner.
  3. Open the Style tab.
  4. Save when the unsaved-changes bar appears.


Banner and widget logo upload controls on the Style tab


Logos


You can set a logo for the main banner and a separate logo for the consent widget.


  • Banner logo — appears in the cookie notice and preferences header (unless Hide header is enabled on Layout).
  • Widget logo — appears on the consent widget.


Upload a PNG or JPG, or pick a logo from the gallery. After you save, storefront updates can take a short time to appear.


Buttons


Button settings apply to primary actions (Accept / Deny all) and secondary actions (Preferences / Save).


Typical options:


  • Filled or outlined (ghost) variants
  • Size and corner radius
  • Border
  • Bold button labels (fonts section)


Use a filled Accept button and an outlined Decline button when you want Accept to stand out. Google’s banner requirements still need a clear Decline and access to preferences. See How to create a banner that meets Google’s banner requirements (New Version).


Colors


Choose a color mode (for example light or dark), a preset, or your own colors.


  • Base, primary, secondary, and accent colors drive backgrounds, text, and buttons.
  • Auto calculate / auto-adjust can derive a palette from your Shopify theme so you do not enter every hex value by hand.
  • Preview Light and Dark backgrounds in the live previewer so the banner stays readable for visitors who use dark mode.


Surfaces, fonts, and animations


  • Surfaces — padding, corner radius, float (hovering window), border, shadow, and z-index (how the banner stacks above other theme elements).
  • Fonts — family and size. Leave empty to follow the store font.
  • Animations — enable or disable motion and set duration. Layout still chooses the animation type (fade, slide, zoom, grow).


If the banner sits behind a sticky header or chat widget, raise z-index. The maximum value is 2147483647. See How to fix the banner hiding behind theme elements (New Version).


Custom styling (CSS)


For changes the Style controls cannot do, use Custom styling / CSS Rules on the same tab. Rules apply inside the pandectes-cmp web component.


See Custom styling with CSS.


Custom CSS from the Legacy Banner does not copy over when you switch to the New Banner. Add the rules again under Style > Custom styling.


Mobile vs desktop


Many Style fields can differ on mobile. Use Mobile same as desktop or Mobile different from desktop. See How to use different banner layouts on mobile and desktop (New Version).



Updated on: 15/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!