Age verification pop up—how can I hook to it and NOT have it appear on only ONE PAGE in my site?

This topic has 4 replies, 3 voices, and was last updated 7 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: sethr
    sethr
    Participant
    May 8, 2024 at 15:22

    I have a very unique case where I am looking to NOT have the Age Verification Pop up on one single page in my site. I have the pop up on, working across my whole site currently. I read the documentation and did some searching to see if there was any configuration at a ‘page’ level, but doesn’t appear so. Do you have any suggestion, or direction on how I might approach ‘blocking’ or ‘hiding’ or ‘removing’ it from only one page?

    Further information about my use case: I will have some advertising and media driving to a particular landing page I have built in my site, so when users show up at that page, I do not want or need them bothered with the age check—but when they navigate from that page to any other page in my site, then it has to run. Furthermore, I need to setup the same mechanism/scenario for the Cookies Pop Up. I assume if there is a hack or filter I can create for one, it would work for the other as well.

    Thank you in advance for any thoughts or directions on how I might approach this.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    May 9, 2024 at 04:35

    Hi @sethr,

    Please try adding the following CSS codes under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .page-id-3411 .et-popup-wrapper.et-age-verify-popup {
        display: none !important;
    }
    

    Hope it helps!

    Avatar: sethr
    sethr
    Participant
    May 10, 2024 at 18:40

    Perfecto! thank you so much!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 10, 2024 at 18:40

    Dear sethr,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Age verification pop up—how can I hook to it and NOT have it appear on only ONE PAGE in my site?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.