• Hi,
    it seems that on my website the plugin doesn’t work on mobile.
    When I load pages I can see a blank page (or in some cases the correct page but with broken contents) with only the header, but If I flip the phone in landscape view the age gate wrap appears.
    In advanced settings, for “Use uncachable version” I checked “Use JavaScript Age Gate” because I’m using the cache plugin “Wp Rocket”. I tried to disable this check but the plugin didn’t work neither on desktop.
    I’ve also tried to disable Wp Rocket plugin but nothing has changed.
    Can you tell me other things that I could do?

    Thanks

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

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @martavivo,

    I’ve had a look at your site and I think there’s probably something conflicting for some reason, not 100% sure what though.

    If you switch the age gate from fixed positioning to absolute it seems to work. But if I tweak the styles in inspector it’ll appear (or rotate the device!). Can you try adding the following css and see it it sorts is out?

    
    body.age-restriction, html.age-gate-restricted { position: absolute; }
    

    Thanks
    Phil

Viewing 1 replies (of 1 total)

The topic ‘Plugin doesn’t work on mobile’ is closed to new replies.