Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #959719

    Hi, I need to disable the cookie consent message on specific (non public) pages. How can I achieve that?
    Many thanks in advance.

    #960322

    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

    #960374

    Perfect, many thanks for your help :-)

    #960468

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Disable cookie consent on specific pages’ is closed to new replies.