Cookie Banner not working
Hello. I implemented your script on a client site with GTM, following your instructions on this guide: https://www.cookiebot.com/en/google-tag-manager-gdpr/
It is working, but on the front end of the site I cannot visualize the cookie details, as the button only ticks the marketing cookies option. The site is visible at www.studionezzo.it. there is a caching/performance plugin but I verified that the issue is present also without the plugin. How can I troubleshoot and fix the issue?
-
Hi Gian,
The problem why you could not visualize the cookie details through the button on the cookiebot banner is because the "input" checkbox of the marketing category covers the details link. The marketing checkbox has CSS style that add width: 253px to it and that's why it goes over and cover the details button next to it and when you press it only the marketing option is changed.
You could inspect the marketing option and then disable this property:select, input, textarea, .wpb_button {
width: 253px;}This css adds width of 253px to the input field and in this way it goes over the element next to it, but when you remove the width style everything works fine. Just override this setting for the cookiebot banner input fields and everything should be fixed, hope this will solve your problem.Regards,
Spas0
Please sign in to leave a comment.
Comments
1 comment