Support » Plugin: Age Gate » How do I hide the header until user fills age gate?

  • Topic title says it all πŸ™‚ I just want to hide the header until the user completes the age gate.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @deusex89,

    It’s just a z-index problem, add this CSS somewhere:

    
    .age-gate-wrapper {
        z-index: 100000;
    }
    

    And you should be good!

    Thanks
    Phil

    Thread Starter deusex89

    (@deusex89)

    Thanks, had to tweak it a bit:

    .age-gate-wrapper {
        z-index: 999;
    }
    .et_fixed_nav #main-header {
        position: fixed;
        z-index: 10 !important;
    }

    Worked πŸ™‚ Thanks for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.