Support » Plugin: Age Verify » Recommendation for mobile

Viewing 3 replies - 1 through 3 (of 3 total)
  • This fixed the issue I was having on mobile phones:

    @media only screen and (max-width: 800px) {
    #av-overlay {
       width: 75%;
       margin: 20px auto 0px auto
       }
    }

    I can’t get this techniques to work, do I modify the CSS under Appearance – Customize – Additional CSS?
    and in settings for the plugin do I need this checked or unchecked
    Use built-in CSS on the front-end (recommended)
    Thanks,
    Corey

    Hi,

    Just go to class-age-verify.php:
    public function custom_styles() { ?>

    <style type=”text/css”>

    #av-overlay-wrap {
    background: #<?php echo esc_attr( av_get_background_color() ); ?>;
    }

    #av-overlay {
    background: #<?php echo esc_attr( av_get_overlay_color() ); ?>;
    }

    #av-overlay {
    width: 75%;
    margin: 20px auto 0px auto;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Recommendation for mobile’ is closed to new replies.