Skip to content
Nazmul Nikhil
Menu

Cumulative Layout Shift (CLS) in PageSpeed Insights: Stop Pages From Jumping

CLS measures how much the page jumps while loading. It's a Core Web Vital and 25% of the score. Here's how to find the elements moving and stop them.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Cumulative Layout Shift (CLS) in PageSpeed Insights: Stop Pages From Jumping
Photo: Imagine Buddy on Unsplash

In short

Cumulative Layout Shift measures how much visible elements move unexpectedly within the viewport. It's a Core Web Vital and 25% of the Performance score. 0.1 or less is good; over 0.25 is poor. Most shifts come from images and embeds without reserved space, ads and banners that push content down, and web fonts swapping in.

Everyone has tapped the wrong button because the page moved at the last second. CLS measures that.

Common causes and fixes

Cause Fix
Images or videos without dimensions Add width and height attributes (or CSS aspect-ratio)
Ads, embeds, iframes Reserve a fixed-size slot
Cookie or promo bars inserted at the top Overlay them at the bottom instead of pushing content
Content injected above existing content Insert below, or reserve space
Font swap changes text size Use font-display with a matched fallback font, or size-adjust
Animating top/left/height Animate transform instead

Find the culprit

Open Layout shift culprits in the report. It lists the elements that moved and, where it can, why (unsized image, web font, injected content).

WordPress: make sure the theme outputs image dimensions, and check cookie and popup plugins. Shopify: check announcement bars and review widgets that load late. Webflow and Wix: set fixed heights for embeds. Custom builds: reserve space for anything loaded after first render.

Lab vs field CLS

PageSpeed's lab test only measures shifts during load. Real users also scroll and click, so field CLS (the top box) can be worse than the lab number. Trust field data when they disagree.

Common mistakes

  • Fixing only the lab number while shifts after scrolling (lazy-loaded ads) remain.

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsCumulative layout shiftFix clsLayout shift pagespeed
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Core Web Vitals

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com