To fix Cumulative Layout Shift in WordPress, find what moves and what makes it move. Then reserve space for the image, banner or embed before it appears. Start with one page and reproduce the jump at the screen width where a customer sees it.
Jump to Trace the movement · Reserve image space · Handle late banners · Verify the fix.
Trace Cumulative Layout Shift in WordPress
Imagine a product page where Add to cart jumps down as a promotion banner loads. The button moves, but the banner above it causes the shift. Cumulative Layout Shift, or CLS, measures unexpected movement in the visible page. An image can be small in file size and still cause a jump when the browser has to make room for it late.
Open the affected URL in a private browser window and record a reload in Chrome DevTools’ Performance panel. Select a marker in the Layout shifts track and inspect the affected elements and timing in Summary. If a lower section moves only when you scroll, record that part of the visit as well. Check what appeared or changed size immediately above the moved elements. The Chrome DevTools Performance reference explains these trace controls.
Reserve space before images and embeds load

For a 1200 × 800 hero image, the rendered image can declare width 1200 and height 800 while responsive styling scales it down proportionally. Those attributes give the browser a 3:2 ratio before the image loads. Check the public markup, especially when a page builder, custom template or lazy-loading feature replaces the original image markup. If mobile uses a differently cropped image, verify that the reserved space matches the mobile image too.
For a video or other iframe, give the surrounding container a suitable aspect ratio or responsive size. Check both the waiting state and the completed embed. If an embed may expand beyond its initial size, test its actual behaviour at each important breakpoint and allow room for the common case. See web.dev’s guidance on optimising CLS.
Stop late banners pushing customer controls down

In the product-page example, render the promotion with the initial content when possible. If it depends on an asynchronous response, reserve a slot where it belongs and test with and without an eligible promotion. Collapsing an empty slot while it is visible can cause another shift. A floating alternative also needs testing so it does not cover the product controls or keyboard focus. See the WordPress keyboard accessibility test for a way to check that.
If text rewraps as a font loads, check whether the fallback font has a noticeably different width or line height. Compare the same trace with and without the web font on a WordPress staging site. Once you confirm the cause, choose a closer fallback or adjust how the font loads, then test the actual line breaks and button positions.
Verify the fix on mobile and in field data
Repeat the same browser recording at the same width and with the same interaction. Check the original movement and any new shift introduced by the change. For a WooCommerce template, use more than one product and include a longer product title or promotion label. A lab trace explains a specific visit. Search Console’s Core Web Vitals report uses real visits where sufficient data is available, so allow time for the field measurement to reflect the change. See Google Search Central’s Core Web Vitals guide.
Start with templates where a moving control interrupts a customer’s task. If the same jump repeats across product or landing pages, ask DriftFix about WordPress performance support and include the affected URL, screen width and what changes just before the jump.

