Site logo

Archived topic

CLS issue: more than 0.25 (mobile)

41 replies · Started by purnima banik on June 14, 2020

Viewing posts 16–30 of 42

You're welcome

Hi there,

your Logo is being lazyloaded - which is one issue i can see. Most lazyloaders allow you to exlude images by their filename.

I'm using WP Rocket Lazy loader settings. But there is no option for exclude any specific file.

Pagespeed insight is giving Below code that is creating this issue.

<body class="home blog wp-custom-logo wp-embed-responsive post-image-above-header post-…" itemtype="https://schema.org/Blog" itemscope="">

I'm totally new to these codings, so if you can share some resources, it will be a great help.

Regards
Sachin Sival

Excluding images by filename in WP Rocket are covered here:

https://docs.wp-rocket.me/article/15-disabling-lazy-load-on-specific-images

function rocket_lazyload_exclude_src( $src ) {
	$src[] = 'your-logo-file-name-here';

	return $src;
}
add_filter( 'rocket_lazyload_excluded_src', 'rocket_lazyload_exclude_src' );

where it says your-logo-file-name-here change that to your logo name e.g SVGlogo

The other issues you're are having is because you now have Critical CSS enabled. Unless you know who to manually create this - you should disable the option.

Hi, could you take a look at mine please, I'm getting the same issue

Thank you
Heather

Hi there,

can you raise a new topic and we can take a look :)

thanks will do

Hello,

I am getting the same issue "CLS issue: more than 0.25 (mobile)" on around 25 pages on my site.

There is some white space loading above the single post title and disappearing shortly. I couldn't find the reason behind this.

My site :

Thanks

Hi Ryan

can you raise a new topic where you can share your site link in the Private Information box.

Hi,

I'm not sure after what update new CLS issues arise, but I'm getting LayoutShift on related nodes:

div.summary.entry-summary
div.woocommerce-product-gallery__image.flex-active-slide

Any ideas how to solve those? I appreciate your help a lot!

Hi there,

can you raise a new Topic where you can share a link to your site so we can take a look?

Hi, I'm having the same issue with my site https://monkeysandmountains.com/ (CLS issue: more than 0.25) reported on more than 420 urls. Can you please advise what I need to do to fix this?

Thank you

Hi Laurel,

Can you open up a new topic for this so we could have a proper thread for discussion what you can do about it? Thank you. :)

Hi GP team,
I have 74 URL with this issue (more 2,5s.(movil)
My web is https://gadgetsbuyindia.com/
Could you give me any information to solve it?
Thank you
Monu

This archived topic is closed to new replies.