• Argentum

    (@argentum)


    HI,
    I am using the OceanWP theme. I enabled this plugin and it worked out quite well, besides the header area resizing from quite large and not showing the logo -> and then contracting the page to its proper size and disabling, all in a split second but clearly discernible. I disabled images from this plugins settings and the behaviour went away. I found this snippet on your page, and added the logo class “custom-logo” and voilà the flicker went away. So just posting if anyone else run into the same problem.

    function rocket_lazyload_exclude_class( $attributes ) {
    $attributes[] = ‘class=”custom-logo”‘;

    return $attributes;
    }
    add_filter( ‘rocket_lazyload_excluded_attributes’, ‘rocket_lazyload_exclude_class’ );

  • The topic ‘Header flicker at page load OceanWP’ is closed to new replies.