[Resolved] Site Header or Menu Height fluctuation

Home Forums Support [Resolved] Site Header or Menu Height fluctuation

Home Forums Support Site Header or Menu Height fluctuation

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1600386
    Kevin

    Hi,

    I have made some changes to the site header and primary navigation menu through customization. Now, I am facing a problem with page header height. When we load a page, the header set with extra height and after few seconds the height becomes normal.

    Can you please help me to resolve the problem?

    My site URL: https://specrosoft.com

    page header height issue

    #1600509
    Kevin

    Hi David

    Hope you guys are available now. Can you please give your suggestion for this issue or do you need more details to troubleshoot this problem?

    #1600532
    Kevin

    Please find the gif image for the issue: https://ibb.co/71FfPJY

    #1600566
    David
    Staff
    Customer Support

    Hi there,

    can you temporarily disable your Lazy Loader as i believe the issue is with the Logo being lazy loaded. If thats the case the you can add this PHP Snippet to exclude the Logo from lazyloading:

    add_filter( 'jetpack_lazy_images_blacklisted_classes', 'bbloomer_exclude_custom_logo_class_from_lazy_load', 999, 1 );
                   
    function bbloomer_exclude_custom_logo_class_from_lazy_load( $classes ) {
        $classes[] = 'is-logo-image';
        return $classes;
    }
    #1602193
    Kevin

    Hi David,

    Thanks for your reply.

    The lazy loader is already disabled and yet to enable on my site. Please check the below image

    https://ibb.co/dBy92MW

    Jetpack Lazy load option

    #1602395
    David
    Staff
    Customer Support

    Ok – you also have W3 Total Cache which is lazy loading the images.
    I believe that has an option to Exclude words from a tag….. you can add is-logo-image to that list to exclude the logo

    #1602410
    Kevin

    Hi David,

    Yes, you are correct. The lazy load is the problem. The problem solved after disable the lazy load and your suggestion also works fine.

    Meanwhile, if it is possible, can your team review my site and provide suggestions to improve the performance of the site. I have another site (https://morgantechspace.com) with GeneratePress which performs well. but this site (https://specrosoft.com) very slow to load. Also, I need suggestions on the plugins that I have used (ex: W3 Total Cache). If needed, I will create another thread.

    Thanks for your support.

    #1602446
    David
    Staff
    Customer Support

    Can you create a new topic so this one can be set to resolved. Thanks

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