Tagged: Cookie Consent
Hi, I need to disable the cookie consent message on specific (non public) pages. How can I achieve that?
Many thanks in advance.
Hey loyalzoo,
You can do this with css in your Quick CSS, if it is for a specific page use the page ID like this:
#top.page-id-1195 div.avia-cookie-consent {display:none !important;}
you can list a couple of pages easily using this, but it sounds like you want to disable for a group of pages for members, so you could block it for logged-in members with this css:
#top.logged-in div.avia-cookie-consent {display:none !important;}
If you are using a membership plugin and want to be more specific the plugin most likely adds a class to the page or post that can be added to the code, but we would have to take a look at the page as the member to find the class.
Best regards,
Mike
Perfect, many thanks for your help :-)
Hi,
I’m glad Mike was able to help you with this. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon