[Resolved] Website header looks strang on google mobile test

Home Forums Support [Resolved] Website header looks strang on google mobile test

Home Forums Support Website header looks strang on google mobile test

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #803571
    Kevin Wabiszewski

    Hello, when I run my website through google’s mobile friendly test the header looks weird, some times the logo even shows up twice sometimes I run the test.

    Here is the css I am using for mobile header

    .main-navigation {
    border-bottom: 2px #ba1f1f solid;
    }

    .post-template-default .widget_search {
    margin-top: 57px;
    }


    @media
    (max-width: 768px) {
    #mobile-header {
    background-color: #ffffff;
    }
    .main-navigation .main-nav ul li a {
    background-color: #ad0500;
    }
    button.menu-toggle {
    color: #ad0500;
    }
    }

    Any tips for me? If not no worries, but I figured it was worth asking

    #803594
    David
    Staff
    Customer Support

    Hi there,

    i wouldn’t be too concerned here – its where google fails to load some CSS and JS files when performing the test. Sometimes it will get them, sometimes it won’t.

    To improve its chances and overall performance check out our optimization tips:

    https://generatepress.com/fastest-wordpress-theme/

    #803598
    Kevin Wabiszewski

    Wow autooptimized increased the speed of my site so much and the site looks perfect on mobile test tool! Thank you David!

    #803603
    David
    Staff
    Customer Support

    Awesome – glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.