• Resolved stepfaul

    (@stepfaul)


    Hi,

    Is it possible to remove the X (close) option on the Cookie banner? I am seeing bypassed in the cookie consent logs and suspect it is because users are selecting the x option to close the banner.

Viewing 4 replies - 1 through 4 (of 4 total)
  • neelakshsingh

    (@neelakshsingh)

    Hi,

    There is no inbuilt setting to remove the x(close) option from the banner. But, you can use custome CSS to do the same.

    Navigate to Cookie Settings -> Design and then scroll down to the bottom to see Add you custom CSS section. In there place the below code and hit Save Changes.

    cookie-banner-cancle-img{display: none !important;}

    This will do the trick.

    Thread Starter stepfaul

    (@stepfaul)

    Thanks for the quick response @neelakshsingh

    I have added the CSS to the custom css section, cleared website caching and browser cache but the x is still displayed. Do you have any other ideas?

    Thanks

    neelakshsingh

    (@neelakshsingh)

    No, there is no other way for now, make sure you have hit Save Changes button once to save the css. Also make sure the css property contains !important parameter ( #cookie-banner-cancle-img{display: none !important;} ). Also, keep in mind here the we are targetting the id – cookie-banner-cancle-img, so don’t miss putting the # before it inside the CSS I provided.(#cookie-banner-cancle-img{display: none !important;})

    Thread Starter stepfaul

    (@stepfaul)

    Thank you – adding the # has resolved the issue 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Removing the X close option on the Cookie Banner’ is closed to new replies.