Can't find my Cookie Acceptance box

Hi,

I took over managing my companies site, but cannot for the life of me find where/how to edit the pop up that appears on the homescreen for managing Cookies. I know it’s there, but just can’t find it in the editor!

Many thanks for your help.


Hi @Tay1, it looks like there’s some custom code in your Project Settings that’s adding that cookie consent banner on the published site.

<!-- Cookie Consent -->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "#aa0000",
      "text": "#ffdddd"
    },
    "button": {
      "background": "#ff0000"
    }
  },
  "theme": "classic",
  "position": "bottom-left",
  "content": {
    "href": "/legal/privacy-policy"
  }
})});
</script>

Ah perfect! Why I didn’t think to look there I will never know…

Thank you.

1 Like