Site logo

Archived topic

Avoid Large Layout shifts

5 replies · Started by Matias on January 21, 2021

Viewing posts 1–6 of 6

Hi all.
Im getting an Avoid Large layout shifts issues in Pagespeed insight and Gtmetrix in my website.
These DOM elements contribute most to the CLS of the page.

The 5 issues are from Elements Hook in home, nav menu, text in sidebar and load more post buttom.
How can I fix them?
Thanks
captura

Hi there,

looks like the two most common issues we see:

1. The Logo is being Lazy Loaded, most lazy loaders provide an option to exclude images using a CSS Class - you can use is-logo-image

2. You have Critical CSS enabled on your site, unless you know how to manually write Critical CSS then you should disable this option.

Thanks for the answer
Where I disable critical css. Im using WP Rocket Plugin.
Should I disable any options in plugins?
Thanks

Thank again
Im going to read it

You're welcome

This archived topic is closed to new replies.