•

The editor looks fine, but the live page is broken

When a page looks right in the editor and wrong on the site, it’s natural to assume the editor is lying. It isn’t, exactly. It shows you the blocks or widgets and their settings, with enough of your theme’s styling to make editing comfortable. The live page is that content plus everything else your site loads around it. The difference between the two is where the problem lives.

Is this what you’re seeing?

  • Your page looks fine in the editor but broken to visitors.
  • Your WordPress website looks different in the editor from how it looks live: different spacing, fonts or colours.
  • Elements overlap, or text and images spill out of their boxes, on the live page only.
  • The sticky header isn’t sticking, or it sits over the top of your content.
  • A block is visible in the editor but hidden on the live website.
  • Columns overlap on smaller screens, or the layout is broken on phones.
  • A popup, the mobile menu, an FAQ or a scrolling banner works in the editor’s preview but not on the site.

What usually causes it

Visitors are seeing an old copy of the page

If you’ve just changed the page, a cache may still be showing visitors the version from before your change. Elementor also stores each page’s styling in CSS files, which can go stale. How to tell: a private browser window shows the old version, or some of your changes appear and others don’t. See changes not showing on your site.

Theme styles that only apply on the live site

The editor loads some of your theme’s styles. The live page loads all of them, plus every plugin’s styles and any custom CSS a developer added. A rule written for something else, such as a fixed width, a margin or an image size, can catch your section and push it out of place. How to tell: the problem shows on every device and every browser. If you’re curious, right-click the broken part, choose Inspect, and you’ll see which stylesheet’s rules are winning.

Scripts that only run on the live page

Sticky headers, popups, accordions, sliders and scrolling banners usually rely on JavaScript. The editor keeps them still so you can edit them, so it can’t show you whether they work. On the live page, a script error, a clash with another plugin, or a speed setting that delays or combines scripts can stop them. This is why a caching or speed plugin can seem to break a layout. How to tell: the element looks right but won’t move, open or close, and it often started when a speed setting was switched on.

Settings for one screen size

Both Elementor and the block editor let you set things per device, including hiding a section on mobile or desktop. The editor’s tablet and phone views are a close guess, not a real phone, and phones vary in width. How to tell: the page is right on your computer and wrong on your phone, or the other way round. Check the device views in the editor for spacing, sizes or “hide on” settings that only apply there.

Content wider than its container

A fixed width, a long web address or word, an embedded map or video, or a negative margin can make something wider than the screen. The rest of the page then shifts or overlaps. How to tell: on a phone, the page scrolls sideways, or there’s a gap down the right-hand side.

Being logged in

When you’re logged in, WordPress adds its admin bar to the top of the page, which moves a sticky header down. Logged-in users also usually skip the cache, and some plugins show them different things. How to tell: compare what you see logged in with a private window, where you’re a normal visitor.

What you can safely try

Take a backup first. Every step here can be undone.

  1. Open the live page in a private window, and on your phone using mobile data rather than Wi-Fi. Screenshot both, and the same part of the page in the editor. The differences tell you where to look.
  2. Clear your caches: the caching plugin, your host’s cache and Cloudflare if you use it. On an Elementor site, use “Regenerate Files & Data” in Elementor’s Tools first, then clear the caches. Check again in a private window.
  3. If you recently switched on a speed setting, such as delaying, combining or minifying JavaScript or CSS, switch that one setting off, clear the cache and check. Turn it back on if it made no difference. Change one setting at a time.
  4. In the editor, switch to the tablet and mobile views and look for settings that only apply there, including any that hide a section.
  5. Look at the page’s revisions: in the block editor’s settings sidebar, or Elementor’s History panel. Compare with a version from before it went wrong, and restore it if the change was your own. Restoring creates a new revision, so you can go back again.
  6. If the site has custom CSS (in Additional CSS, the Site Editor’s styles or Elementor’s custom CSS), copy it into a text file before anyone changes it, so it can be put back exactly.

When to stop and get help

  • The fix means editing theme files, custom blocks or scripts that someone else wrote.
  • It’s broken on some phones or browsers and fine on others.
  • The broken part covers something people need to press: a booking button, the basket, a form, or a cookie banner’s buttons.
  • Several things are wrong across several pages, and you’d be chasing them one by one.
  • Turning off a speed setting fixes the layout, but you need the speed as well.
  • You’ve changed a few settings and can’t remember which ones.

A real example

A brand’s block-editor site had been built with the WordPress block editor and a number of custom design touches. The list of things that needed attention was a good tour of this whole guide: the homepage hero, content overflowing its container, a marquee-style scrolling banner, the sticky header, popups, the FAQ section, and the layout on smaller screens.

None of those lived in just one place. What visitors saw came from the blocks, the theme’s CSS, custom JavaScript and the breakpoints for each screen size, all acting on each other. That’s exactly the situation where the editor and the live page part company, because the editor shows the blocks and only some of the rest. I worked on each component where its problem was: in the block settings, the theme’s styles or the script behind it. I didn’t replace the site or add a page builder on top of it.

What I find on sites like this is that changing the block in the editor rarely sticks, because the block wasn’t the cause. A style or a script elsewhere wins again on the live page. Finding which layer is in charge comes first. The fix itself is often small.

Getting it fixed

Send me the page address, screenshots from the editor and the live site, and what it should look like. I take a backup, find which layer is causing it, fix it there and check it on desktop, tablet and phone. A layout fix for one section, menu or mobile layout is £39, for up to 30 minutes of work. If layouts are broken across the site after an update, a WordPress repair is a fixed £119, which covers finding the problem and up to 90 minutes of fixing it, and you’re never charged more without agreeing first. Several pages, or a whole site’s mobile layout, is a half day at £319.

Questions

Why does my site look different when I’m logged in?

Logged in, you get the admin bar, which pushes a sticky header down, and you usually skip the cache, so you see your latest changes when visitors don’t. Some plugins also show logged-in users different content. A private window shows you what a visitor sees.

It’s fine on my computer but broken on my phone. Why?

Usually a setting that only applies to smaller screens, or something with a fixed width that doesn’t fit a phone. The editor’s mobile view is a guide, not a real phone. Check on an actual phone, and look for anything that makes the page scroll sideways.

My caching plugin is breaking my layout. Should I turn it off?

Turn off the one setting that’s causing it, not the whole plugin. It’s usually a JavaScript or CSS optimisation, and the layout comes back when it’s off. The proper fix is to exclude the script that’s affected, so you keep the speed. If speed is the bigger worry, see fast when logged in, slow for visitors.

Can you fix custom blocks without rebuilding the website?

Usually, yes. Most of these problems are one style rule, one script or one setting. I fix that and keep your design, rather than moving you to a different page builder or starting the page again. If something really can’t be saved, I’ll tell you why before you spend more.

I use Elementor, not the block editor. Does this apply?

Yes. The causes are the same: theme styles, scripts, per-device settings and caching. Elementor adds two of its own: stale CSS files, which “Regenerate Files & Data” fixes, and Theme Builder templates that may be showing instead of the page you edited.

Written by Peter Claridge, who fixes WordPress sites for businesses across the UK from Reading. Last checked on WordPress 7.1, November 2026.