wordpressmenunavigationvisual-glitch

Navigation Bar Glitches at start of refresh new pages


I'm building a website (http://theastbury.terryslaughter.com).

Whenever you navigate to a new page or refresh the current page, the navigation bar glitches. The logo is larger and the menu appears (even though display: none). Then it resizes and the menu disappears.

I'm not sure if it's because the site is too slow or something. Any suggestions?


Solution

  • Browsers ready the code from top to bottom. Looking at your code you have built the nav before the call for the css.

    Your start building the nav on line 15.

    And your first call to an internal CSS thats not for google or external fonts is line 48.

    Also your divs for your nav are in your head and not the body if I'm I'm reading everything correctly.