How to Fix Cumulative Layout Shift (CLS)

Cumulative Layout Shift (CLS) is a Core Web Vitals metric that measures how much a page jumps around while it loads. When content moves unexpectedly, visitors tap the wrong button or lose their place, and your page speed scores suffer. This guide shows you how to find what is shifting and exactly which settings to change to hold the layout still, with no code. Every JetHost hosting plan includes the tools you need.

What CLS measures

CLS tracks how far visible elements move during loading, combined with how much of the screen they affect. A low score means the page settles into place and stays put. A high score means things shift after they first appear, which feels unstable. A good CLS result is about 0.1 or less.

Find what is shifting

Test your page at pagespeed.web.dev and look at the CLS value. Under the diagnostics, open “Avoid large layout shifts” to see which elements move. It is usually an image or ad without reserved space, or a late-loading font. Watching your own page load slowly also helps: refresh it and see what jumps. That tells you where to start.

How to reduce CLS

  1. Give every image a width and height. In LiteSpeed Cache → Page Optimization → Media Settings, turn Add Missing Sizes to ON. The browser then reserves the right space before each image loads, so nothing below it jumps.
  2. Stop fonts reflowing the text. Open LiteSpeed Cache → Page Optimization → CSS Settings, set Font Display Optimization to Swap, and if you use Google Fonts turn on Load Google Fonts Asynchronously. This shows your text straight away instead of swapping the font in late.
  3. Reserve space for lazy-loaded media. On the same Media Settings tab, turn on Responsive Placeholder so a correctly sized box holds the spot until the image or iframe arrives.
  4. Give ads and embeds a fixed-size container in your theme or page builder, so the slot does not expand when the content loads.
  5. Keep banners and cookie notices out of the way. Place them as an overlay or at the foot of the page, never pushed in above content the visitor is already reading.

Clear the cache and re-test

After each change, go to LiteSpeed Cache → Toolbox → Purge All, reload your page, and watch whether anything still jumps. Then re-run PageSpeed and check the CLS value. Fixing image dimensions alone usually brings the biggest drop.

On JetHost hosting

On JetHost, LiteSpeed Cache is already installed, so the Add Missing Sizes, font, and placeholder options above are ready to switch on. Image optimisation on the same plan keeps the correct dimensions on your media. If the page still shifts after the steps above, open a ticket and we will help you track down what is moving.

JetHost Experts Tip

Most CLS problems trace back to images without dimensions. Turn on Add Missing Sizes first, re-test, and only then chase fonts, ads, or embeds.

Frequently asked questions

What is a good CLS score?

Aim for 0.1 or less. Between 0.1 and 0.25 needs improvement, and above 0.25 is poor.

Why does my page jump as it loads?

Usually because images, ads, or embeds load without reserved space, or a font swaps in late. Turning on Add Missing Sizes and a swap font display stops the jump.

Do image dimensions really matter for CLS?

Yes. When an image has a set width and height, the browser reserves the space before it loads, so nothing shifts when it appears. This is the single biggest CLS fix on most sites.

New Hosting Plan with 80% OFF

Upgrade your website’s home without the heavy bill. Get new hosting plan with a huge 80% discount. Get free SSL, email accounts, and a control panel to manage your site. Enjoy fast performance, secure environment, and 24/7 support – all in one affordable package.

Need more help?

Still seeing layout shift on a site you host with us? Open a ticket through Client Area → Support Tickets and we will help you track down what is moving and settle it.