Cookie banner

Topic summary

Removing an unwanted cookie banner in a Shopify theme.

  • OP reports the visible cookie banner doesn’t match the Customer privacy settings and appears hardcoded in the theme. Motivation: it clashes with the site’s color scheme and may be unnecessary outside certain countries.

  • Suggested fix: Edit theme code via Admin → Online Store → Themes → Edit code, open theme.liquid, and add a snippet before the closing tag to control/remove the banner.

  • Important caveat: The actual code snippet to add was not included in the reply (blank code block), so the exact implementation remains unspecified.

  • Media: An image of the banner was provided to illustrate its appearance.

  • Status/outcome: OP thanked the responder, but there’s no confirmation the solution worked; the issue appears partially addressed and may require the missing code details to resolve fully.

Summarized with AI on December 17. AI used: gpt-5.

does anyone know how to remove this cookie banner? I have messed with the cookie banner in the customer privacy but it is not the same banner which leads me to believe this current one is imbeded into the theme files coding. Would anyone know where it could be located? It looks ugly and doesn’t match the color way of website and it isn’t really necessary as cookie banners are only necessary in certain countries

@Arenae32 ,

Step 1: Go to Admin → Online store → Theme > Edit code

Step 2: Search for the file theme.liquid

Step 3: Add this code before tag


1 Like

Thank you