I’ve created the cookie-banner.liquid snippet in the snippets directory and have added the following code inside the body tags of the theme.liquid file as instructed:
{% render 'cookie-banner' %}
Unfortunately, it’s not showing up in my store.
When removing the fist line of code from cookie-banner.liquid snippet (#cookies-banner { display: none; …}), it does display, but doesn’t remember the users preference and pops back up every time the page is refreshed or re-visited.
Any idea of why this might be happening? I am located in Australia if that makes any difference.