Age Verify
Contnet flashes before Age verify overlap is loaded (2 posts)

  1. yarir1979
    Posted 2 years ago #

    I have installed the age verify plugin - I did customize to have a background image. When I go to my site the content of the home pages flashes then the age verify screen comes up - any suggestions



  2. Chase Wiseman
    Plugin Author

    Posted 2 years ago #

    Yes, this will happen from time to time as the verification form is simply an overlay covering the content.

    In your case, it looks like the overlay is waiting for other large elements that load first on the page.

    Perhaps try to switch the overlay from loading in the footer to loading in the header by removing it from the footer (via your theme's functions.php):

    global $age_verify;
    remove_action( 'wp_footer', array( $age_verify, 'verify_overlay' ) );

    Then add it elsewhere, like right after the body tag:

    <?php global $age_verify;
    $age_verify->verify_overlay(); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Age Verify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.