• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

desktop menu flickering/fashing before responive menu shows on mobile

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › desktop menu flickering/fashing before responive menu shows on mobile

This topic is: not resolved

Tagged: Magazine Pro

  • This topic has 2 replies, 3 voices, and was last updated 7 years, 7 months ago by spektrumede.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 16, 2018 at 2:48 pm #219031
    onehour
    Member

    Hello:

    I am developing a site using Magazine Pro. On a mobile device, the regular navigation menus (desktop) flash/flicker before the mobile (hamburger) menu appears. I have a gif of this to demonstrate here: https://imgur.com/a/Ctl3b

    I know this is somehow controlled by jquery, but I am not a developer or a coder. I have several sites on StudioPress themes, that all seem to do this in a varying capacity, so it seems to inherit in these themes. I have fast hosting (Pressidium) and a few scripts on these sites -- but I try to keep things lean.

    The flickering gives a really BAD mobile experience. The theme seems to have a lag time when it's figuring out what navigation menu (regular vs. mobile) to call up for the screen size.

    Is there a way to stop this flickering?

    October 9, 2018 at 3:11 pm #223624
    lifanovsky
    Member

    Same on my site. But only in mobile Chrome. In mobile Safari everything seems to be ok.

    October 11, 2018 at 1:07 pm #223676
    spektrumede
    Member

    I would really need to see the site to say for certain, but I had the same problem on my site spektrume.de too, using the Infinity Pro Theme. It's not a very clean solution, but what worked for me was:

    1. Adding this code to the scripts before header:

      <script type="text/javascript">
        jQuery('html').attr('id', 'hidden');
       jQuery(window).on('load', function () {  
          jQuery('html').attr('id', '');  
         });  
       </script>

    2. Adding CSS:

    html#hidden{
    display: none;
    }

    This code hides the website until it has loaded. It would be better to do this with a class, rather than ID, but that doesn't work as it gets overwritten by the "js" class.

    If anyone knows how to do this more cleanly, I'd be very interested!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble