Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Page looks broken after a theme or plugin update: how to fix it

PRF-372High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A visual regression is an unwanted change in how a page looks after you change something behind the scenes. The usual trigger is an update to your theme, a page builder, a form plugin or a caching plugin. The page still loads with no error, but something is off: a button is hidden, a form is squashed, fonts are wrong, or a section has gone.

Why it costs you leads or sales

How an unnoticed visual regression unfolds (Example)
  1. Night 1

    Auto-update installs a new theme version.

  2. Day 1

    The Book now button slips behind a banner. Ads keep sending traffic.

  3. Day 3

    Enquiries look lower, but nobody connects it to the update.

  4. Day 6

    Someone views the page on a phone and spots the problem.

  5. Day 6

    Update rolled back and layout restored.

Daily form submissions around an updateExample numbers
Daily form submissions around an update (example)Before update: 20 submissions; Day after update: 6 submissions; Day 5 after update: 5 submissions; After rollback: 19 submissions0815206519Before updateDay after updateDay 5 after updateAfter rollbacksubmissions

Example: illustrative numbers showing submissions falling after an update hides a button and recovering after rollback.

How to check if your site has it

Check your key pages after an update
  1. Note what changed and when

    Check your update log (in WordPress: Dashboard > Updates, or your host's activity log; in Shopify: the theme's version history). Match the date to when the problem started.

  2. Open your funnel pages in a private window

    Use a private or incognito window so your logged-in view and cached files do not hide the problem. Check the landing page, form, checkout and thank-you page.

  3. Test desktop and mobile

    In Chrome, press F12 and use the device toolbar to view a phone size. Many regressions only show on small screens.

  4. Click and submit everything

    Click each button, open menus, fill in and submit the form. A button that looks fine can still be covered by another element.

  5. Check the browser console

    In developer tools, open the Console tab and look for red errors, such as a script that failed to load after the update.

  6. Compare with a known good version

    Open a staging copy, a backup or the Wayback Machine capture and compare side by side.

What a regression looks like

After the update

  • Call-to-action button hidden or overlapped
  • Form fields stacked wrongly or cut off
  • Fonts and colours fall back to defaults
  • Mobile menu does not open

After rollback or fix

  • Button visible and clickable
  • Form laid out as designed
  • Brand fonts and colours back
  • Menu works on mobile

How to fix it

Roll back and fix by platform
  1. Restore a backup or roll back

    Restore a backup taken before the update from your host or backup plugin. Or install the previous plugin version from the plugin's Advanced view, or from a rollback plugin such as WP Rollback.

  2. Clear every cache

    Purge your caching plugin, any CDN cache and the host cache. Old CSS files often cause a broken look on their own.

  3. Find the conflict on staging

    On a staging copy, switch to a default theme and deactivate plugins one by one until the layout returns. The last one you switched off is the culprit.

  4. Check child theme overrides

    If you use a child theme, compare its template files with the parent theme's new versions. Outdated overrides are a common cause.

How to confirm it's fixed

Confirm the fix
  • Hard refresh the page and test in a private window after clearing caches
  • Check desktop, tablet and phone widths
  • Click every button and open every menu in the funnel
  • Submit a test form and confirm the email or CRM entry arrives
  • Check the console shows no new red errors
  • Compare against your known good screenshot

How to prevent it happening again

Prevention checklist
  • Test updates on a staging copy before applying them live
  • Turn off auto-updates for themes and page builder plugins on key funnel sites, and update on a schedule you choose
  • Take a backup right before every update
  • Save reference screenshots of your landing page, form and checkout on desktop and mobile
  • Keep custom CSS minimal and documented so you know what may break
  • Update one thing at a time so you know what caused a change
  • Keep a manual post-update check of your top funnel pages

How FunnelGuard handles this

Where an update breaks a funnel
  1. Ad clickVisitor lands on the page
  2. Theme updateCSS now covers the button
  3. Form submitCannot be reached
  4. Lead in CRMNever created

The update hides the button, so later steps never happen.

Questions people ask

Why does my website look broken after a theme update?

The new theme version probably changed its CSS or HTML, so your custom styles, child theme files or plugins no longer match. Clear all caches first, then roll back to the previous version and test the update on a staging copy to find the conflict.

How do I undo a plugin update that broke my site?

Restore a backup taken before the update, or install the previous plugin version. In WordPress you can use a rollback plugin such as WP Rollback. Clear your caches afterwards, because old files can make the page look broken even after a rollback.

What is a visual regression?

A visual regression is an unintended change in how a page looks or behaves after a code, theme or plugin change. The page still loads, but elements may be misplaced, hidden or unstyled.

How can I tell which plugin broke my layout?

On a staging copy, switch to a default theme and deactivate plugins one at a time, checking the page after each. The plugin whose deactivation restores the layout is the cause or is clashing with another one.

Should I turn off automatic updates for themes and plugins?

On pages that earn leads or sales, it is safer to turn them off and update on your own schedule after testing on staging. Keep security updates in mind and apply them promptly once you have checked the key pages.

Can FunnelGuard detect a visual regression after an update?

Only partly. FunnelGuard checks for changes in page structure (DOM) but does not compare screenshots. It will catch failures that follow, such as a button it cannot click, a form that will not submit or tracking that stops, so keep a manual visual check too.

Why does my page only look broken on mobile after an update?

Updates often change responsive CSS rules that apply at small screen widths. Use the device toolbar in your browser developer tools to view a phone size and inspect which rule changed on the broken element.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: DOM hash change; no screenshot diff.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.