Articles on: Settings

How to fix the banner hiding behind theme elements (New Version)

Overview


The banner renders as the pandectes-cmp web component. Theme CSS does not style it the same way as the Legacy #pandectes-banner element.


Sticky headers, announcement bars, chat buttons, and some apps use a very high z-index. If they sit above the banner, visitors cannot click Accept or Decline.


On the New Banner, raise stacking order under Cookie banner > Style (surfaces / z-index). The maximum value is 2147483647.


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


Before you start


  • Confirm the banner is enabled (or enabled for admins) and that Pandectes Core is on in the theme.
  • Reproduce on the storefront, not only in the in-app preview, because preview chrome is different from the live theme.


Raise z-index in Style


  1. Open Shopify Admin > Apps > Pandectes GDPR Compliance.
  2. Go to Cookie banner > Style.
  3. Find surfaces / z-index.
  4. Enter a value higher than the overlapping element (often 999999 or the maximum 2147483647).
  5. Save.
  6. Refresh the storefront (hard refresh) and try Accept / Decline again.


Surfaces controls including stacking depth (z-index)


If Style is not enough


Add a rule under Style > Custom styling. Scope it to the web component. See Custom styling with CSS.


Example:


pandectes-cmp {
z-index: 2147483647;
}


Other checks




Updated on: 05/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!