Skip to content
Nazmul Nikhil
Menu

Pages With Poor CLS (Ahrefs): How to Stop Layout Shifts

Poor CLS means content jumps around while the page loads. Here's what causes layout shifts, from images without sizes to late banners, and how to fix each one.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Pages With Poor CLS (Ahrefs): How to Stop Layout Shifts
Photo: CHUTTERSNAP on Unsplash

In short

Ahrefs flags "Pages with poor CLS" when a page's CLS score is over 0.25, Google's "poor" threshold. CLS measures how much visible content moves unexpectedly while people use the page. Good is 0.1 or less at the 75th percentile. Most shifts come from images and embeds without set dimensions, banners or ads inserted above content, and web fonts swapping in.

You go to tap a link, an ad loads above it, and you tap the wrong thing. That's a layout shift, and Cumulative Layout Shift (CLS) is how Google measures it.

The thresholds

Rating CLS
Good 0.1 or less
Needs improvement Over 0.1 up to 0.25
Poor Over 0.25

CLS is a score, not a time. It combines how much of the screen moved and how far. Shifts within half a second of a user's click or tap don't count, because the user expected a change.

Causes and fixes

Cause Fix
Images or videos without width and height Add width and height attributes, or CSS aspect-ratio
Ads, embeds or iframes with no reserved space Give the container a min-height matching the usual size
Cookie or promo banners pushing content down Overlay them (fixed position) instead of inserting at the top
Content injected above existing content Insert below the viewport, or reserve the space
Web fonts swapping and changing text size Preload key fonts and use a fallback font with similar metrics
Animations using top or height Animate transform instead

Free SEO audit

Not sure which issues matter on your site?

I'll review your site and send you the fixes that matter most, in plain English.

Get my free audit →

How to find the shifting element

In PageSpeed Insights, look for "Avoid large layout shifts" in the diagnostics. It names the elements that moved. In Chrome DevTools, the Performance panel highlights layout shifts in the timeline.

Platform tips

WordPress: WordPress adds width and height to images inserted through the editor. Shifts usually come from ad plugins, cookie banners, and sliders. Choose a cookie plugin that overlays content.

Shopify: announcement bars and apps that inject review widgets or upsells are common causes. Reserve space for them in the theme.

Webflow: set explicit sizes on images and embeds, and check interactions that move elements on load.

Wix: check strips and elements that load late, such as embedded apps and pop-ups.

Custom builds: always output image dimensions from the CMS (store width and height on upload), and reserve space for anything loaded after the first render.

Common mistakes

  • Testing only above the fold. CLS counts shifts throughout the visit, including content loaded as you scroll.

  • Checking on a fast desktop. Shifts are often worse on slower phones, where things load at different times.

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

Sources and references

TAGSAhrefs Site AuditPoor clsCumulative layout shiftFix layout shift
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 Site Audit Issues 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