On this page
What this issue is
Cumulative Layout Shift (CLS) is a Core Web Vitals metric. It scores how much visible elements move unexpectedly while the page loads or while someone uses it. The score is a number with no unit. Google treats 0.1 or lower as good, 0.1 to 0.25 as needs improvement, and above 0.25 as poor.
Why it costs you leads or sales
When a page jumps, people tap the wrong thing. A button moves just as a thumb lands, and the visitor opens the wrong link, closes the form or loses their place. On mobile, where screens are small, one late banner can push a whole call to action out of reach.
CLS is also part of Google's page experience signals, so a poor score can weaken your search visibility on pages where other factors are equal. The impact is usually medium: it rarely breaks a funnel outright, but it quietly lowers conversion on the pages that matter.
- Page starts loadingText and button appear
- Visitor reaches for the buttonThumb is already moving
- Late banner or image loadsContent is pushed down
- Tap lands on the wrong elementWrong link or no action
- Form or checkout never startsLead or sale lost
The visitor aims at a button, content loads above it and the tap lands on the wrong element.
Content shifts at the last moment, so the visitor hits something else.
How to check if your site has it
Run PageSpeed Insights
Open pagespeed.web.dev, enter the URL of your home page, landing pages and checkout, and check the Cumulative Layout Shift figure. Look at both the field data (real users) and the lab data.
Open Chrome DevTools
Press F12, open the Performance panel, tick Screenshots, record a page load and look for red 'Layout Shift' markers in the Experience row. Click one to see which element moved.
Check Search Console
In Google Search Console open Core Web Vitals under Experience. Groups of URLs flagged 'CLS issue: more than 0.1' show which page types are affected.
Test on a phone-sized screen
In DevTools use the device toolbar to emulate a mobile device, and throttle the network to Fast 4G or Slow 4G. Shifts that are invisible on fast desktop connections often show up here.
Test as a first-time visitor
Use a private window so the cookie banner and any pop-ups appear, as they do for new visitors.
| Cause | What you see | Typical fix |
|---|---|---|
| Images or video without dimensions | Text jumps down when the image loads | Set width and height, or aspect-ratio |
| Cookie or promo banner inserted at the top | Whole page pushes down | Overlay it with fixed position or reserve space |
| Ads, embeds and iframes | Blank gap that suddenly fills | Set a min-height on the container |
| Web fonts swapping | Text reflows when the font loads | Preload the font, use size-adjust fallback |
| Content injected by scripts | Widgets, reviews or chat bars appear late | Reserve a fixed-size slot |
How to fix it
Start with the elements Chrome DevTools flagged. The rule is the same everywhere: tell the browser how much space an element needs before it loads.
Give images and video dimensions
Add width and height attributes that match the file's real proportions, then let CSS scale them with max-width: 100% and height: auto. The browser then reserves the right space.
Reserve space for embeds, ads and widgets
Wrap each in a container with a fixed min-height or an aspect-ratio so the slot exists before the content arrives.
Stop banners pushing content
Show cookie notices and promo bars as fixed or sticky overlays at the bottom, or reserve their height from the first paint.
Tame font swapping
Preload your main font, use font-display: swap or optional, and match the fallback font's metrics with size-adjust.
Avoid inserting content above existing content
If a script must add something, add it below the visible area or into a reserved slot, unless it responds to a user's tap.
Animate with transform
Animate with transform and opacity instead of top, left, height or margin, which cause layout shifts.
<img src="hero.jpg" width="1200" height="600" alt="Product hero" style="max-width:100%;height:auto;">.video-embed {
aspect-ratio: 16 / 9;
width: 100%;
}
.ad-slot {
min-height: 250px;
}
.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
@font-face {
font-family: "Brand";
src: url("/fonts/brand.woff2") format("woff2");
font-display: swap;
}Check images
Modern WordPress adds width and height to images inserted in the editor. Images in page builders, old posts or theme templates may lack them, so edit those templates.
Review plugins
Disable popups, banners and sliders one at a time on a staging copy to find which causes the shift. Set a fixed height for the slot in the plugin settings or custom CSS.
Check caching and optimisation plugins
If you use a performance plugin, make sure options such as lazy loading skip the first image on the page and that CSS is not delayed in a way that causes a flash of unstyled content.
Fix theme images
In Online Store > Themes > Edit code, check that image tags in your Liquid sections output width and height, for example with the image_tag filter.
Review apps
Apps that add announcement bars, review stars or pop-ups often inject content late. Disable them one at a time in a theme copy and re-measure.
Reserve space for app blocks
Add a min-height to the section that holds the app block in your theme's CSS.
Find tags that inject content
Look for Custom HTML tags that add banners, widgets or chat bars. Check their trigger: late triggers such as Window Loaded cause late shifts.
Reserve the slot
Add a placeholder element with a fixed height to the page template, and have the tag fill it rather than insert a new element above content.
Use overlay positions
Change injected bars to position: fixed so they do not push content.
Set image sizes
In the Designer, select each image and set its width and height in the Settings panel, or set an aspect ratio on its container.
Fix embeds
Put video and map embeds inside a container with a fixed aspect ratio in the Style panel.
Check custom fonts
In Project Settings > Fonts, set the font display option to Swap and remove font weights you do not use.
Set element heights
In the funnel or website builder, give sections, images and embeds a fixed height instead of letting them size to content that loads late.
Check pop-ups and chat widgets
Make sure they open as overlays and do not push the page content.
Compress and size images
Upload images close to their display size so they load fast and the space is predictable.
Review pinned and animated elements
In the editor, check entrance animations and strips that appear after load. Remove or simplify those on the first screen.
Check apps
Third-party apps from the Wix App Market may add late content. Remove ones you do not need and retest.
Set image dimensions
Resize image containers explicitly in the editor so they are not stretched after load.
Review announcement bars and banners
Check the announcement bar and cookie banner under Website settings. If one pushes the page down, switch to a style that overlays or reserve its height.
Check image blocks
Use fixed-ratio image blocks where possible, so the space is set before the image loads.
Add custom CSS
Use Custom CSS to set min-height on code and embed blocks.
Audit templates
Search your templates for img, iframe and video tags without width and height, or without an aspect-ratio rule.
Inline critical CSS
Make sure layout styles load before first paint so the page does not restyle itself after load.
Test with throttling
Re-run the Performance panel with network and CPU throttling to expose late shifts.
CLS above 0.1
- Images load with no reserved space
- Cookie banner pushes content down
- Embeds pop in and move buttons
- Font swap reflows headings
CLS at or below 0.1
- Images have width and height
- Banner overlays at the bottom
- Embed slots have a set aspect ratio
- Fallback font matches the web font
Example: illustrative scores for one page as each fix is applied. Your numbers will differ.
How to confirm it's fixed
- Re-run PageSpeed Insights on each affected page and confirm lab CLS is 0.1 or lower
- Record a fresh DevTools Performance trace and confirm no large Layout Shift markers remain
- Test as a first-time visitor in a private window with the cookie banner visible
- Test on an emulated mobile device with throttled network
- Check the Core Web Vitals report in Search Console and start validation of the fix
- Wait for field data to update, which takes about 28 days of real-user data
How to prevent it happening again
- Always set width and height or an aspect-ratio on images, video and embeds
- Test every new banner, pop-up, widget or app for shifts before it goes live
- Add new tags and scripts to a staging copy first and measure CLS
- Set a CLS budget of 0.1 for key pages and check it on a schedule
- Review CLS after theme, plugin or page builder updates
- Keep font changes deliberate and test the fallback font
How FunnelGuard handles this
FunnelGuard detects this issue today. It uses a Core Web Vitals budget check (cwv_budget): when a robot visitor runs your journeys on a schedule, it measures page performance on the pages it visits and flags a page whose CLS goes over the 0.1 budget. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
This is a lab-style measurement from a robot visit, not your real-user field data, so use Search Console for that view. You can start with the Free plan (1 site, 2 journeys, daily checks, no card), or try any paid plan free for 3 days. A free read-only website audit is also available.
Related background
0.0 s
Example: text and a hero area appear, with no space reserved for the image
0.8 s
Example: the hero image loads and pushes the headline and button down
1.5 s
Example: the cookie banner is inserted at the top and moves everything again
2.2 s
Example: the web font swaps in and the heading wraps onto a new line
After the fix
Space is reserved for each element, so nothing moves
Questions people ask
What is a good CLS score?
A good CLS score is 0.1 or lower. Between 0.1 and 0.25 needs improvement, and above 0.25 is poor. Google judges this at the 75th percentile of real page visits.
Why is my CLS so high?
The most common causes are images and embeds without set dimensions, banners or pop-ups inserted above content, ads and widgets that load late, and web fonts that swap in. Record a trace in Chrome DevTools Performance and click the Layout Shift markers to see which element moved.
How do I fix CLS caused by images?
Add width and height attributes that match the image's real proportions, or set an aspect-ratio in CSS. The browser then reserves the space before the image loads, so nothing jumps. Keep max-width: 100% and height: auto so the image still scales.
Does a cookie banner cause layout shift?
Yes, if it is inserted into the page flow and pushes content down. Show it as a fixed overlay at the bottom of the screen, or reserve its height from the first paint, so the page does not move when it appears.
Does CLS affect SEO?
CLS is one of the Core Web Vitals and part of Google's page experience signals, so a poor score can hurt your search visibility. It is one signal among many, and relevant content still matters most. It also affects real users by causing misclicks.
How do I find which element causes layout shift?
Open Chrome DevTools, go to the Performance panel, record a page load and look at the Layout Shift entries in the Experience row. Clicking one highlights the element that moved. PageSpeed Insights also lists 'Avoid large layout shifts' with the elements involved.
How long until Search Console shows my CLS fix?
Search Console uses real-user data collected over about 28 days, so improvements show up gradually. After you fix the issue, use Validate fix in the Core Web Vitals report and re-check lab results in PageSpeed Insights meanwhile.
Related issues
- SEO-251Mobile layout broken (horizontal scroll, overlapping elements)Fix guide
- SEO-253LCP over 2.5 s on key pagesFix guide
- SEO-255INP over 200 msFix guide
- SEO-256Field (CrUX) Core Web Vitals failing while lab passesFix guide
- SEO-258Heavy pages over budgetFix guide
- SEO-261Fonts causing invisible text (FOIT)Fix guide