Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Blank page with only header and footer: how to find and fix it

PRF-379High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

The page returns normally and the site chrome (logo, menu, footer) looks fine. But the area in between is empty. There is no headline, no form, no buy button. Unlike a fully white screen, which is usually a script crash, this fault leaves the layout standing and is easy to miss at a glance.

Common causes:

Typical causes and how they show up
CauseWhat you see in page sourceTypical trigger
Template does not output contentHeader and footer HTML, no body contentTheme or template edit, missing the_content() or {{ content_for_layout }}
Content empty or unpublishedEmpty container elementDraft reverted, page restored from trash, section deleted
Content rendered by JavaScriptEmpty div, scripts presentScript blocked, error, or API call failing
Shortcode or block not registeredRaw shortcode text or nothingPlugin deactivated or updated
Stale or broken cacheOld or empty HTML servedCache built while the page was empty

Why it costs you leads or sales

Nothing between the header and footer means nothing to read, fill in or buy. Paid traffic lands on the page and leaves. Because the page still returns a normal response, uptime monitors report it as healthy, and you may only notice when leads or sales dry up.

Where the funnel breaks
  1. Ad clickVisitor arrives
  2. Landing pageHeader and footer only
  3. Form or offerNever rendered
  4. Lead or saleCannot happen

The page loads, but the content area is empty, so every later step is lost.

Leads per day before and after content disappearsExample numbers
Leads per day before and after content disappears (example)Day 1: 12 leads; Day 2: 11 leads; Day 3: 13 leads; Day 4: 0 leads; Day 5: 1 leads; Day 6: 0 leads; Day 7: 12 leads051012111301012Day 1Day 2Day 3Day 4Day 5Day 6Day 7leads

Example: illustrative numbers for a landing page that goes blank on day 4 and is fixed on day 7.

How to check if your site has it

Diagnose the blank area
  1. Open the page in a private window

    This rules out logged-in views and your own cache. Test on desktop and on a phone.

  2. View the page source

    Right-click, View page source (not Inspect). Search for a headline you expect. If it is in the source but not on screen, the problem is CSS or JavaScript. If it is missing from the source, the server did not output it.

  3. Open the browser console

    Press F12, open Console and Network, reload. Look for red errors and failed requests (status 4xx or 5xx) that load the content.

  4. Check the page in your editor

    Confirm the page is published, has content, and uses the template you expect.

  5. Bypass the cache

    Purge your cache plugin or CDN, or add a query string like ?nocache=1, and reload.

How to fix it

Match the fix to what the source check showed. Steps differ by platform.

Restore the missing content by platform
  1. Check the template

    In Appearance, Theme File Editor (or your child theme), make sure the page template calls the_content(); inside the loop. Custom templates often lose it after edits.

  2. Check the page itself

    Open the page in Pages. Check status is Published, restore a revision from the Revisions panel if the content is empty, and check the Template setting in the sidebar.

  3. Check plugins

    If the page uses a page builder or shortcode, confirm the plugin is active and updated. Deactivate recently updated plugins one at a time to find the culprit.

  4. Purge caches

    Clear your caching plugin, server cache and CDN.

Check for hiding rules in the console (look for these in Styles)css
/* Rules that commonly hide a content area */
.content-wrapper {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
}

How to confirm it's fixed

Confirmation checklist
  • Headline, form and main button are visible in a private window
  • Expected text is present in View page source
  • Works on desktop and mobile
  • No red errors in the console
  • Cache purged and the page still shows content
  • Form submits and the test lead arrives
Page before and after the fix

Broken

  • Header and footer render
  • Content area is empty
  • No form or button
  • Uptime monitor still says OK

Fixed

  • Header, content and footer render
  • Form and button visible
  • Expected text found in source
  • Leads flow again

How to prevent it happening again

Prevention habits
  • Test theme, plugin and template changes on a staging copy first
  • Check key landing pages after every update
  • Keep key content in server-rendered HTML where you can
  • Purge caches after publishing and check the page again
  • Keep revisions or theme backups so you can roll back quickly
  • Monitor key pages for text that must appear, not just for a 200 response
How it usually unfolds
  1. Example: 09:00

    A plugin or theme update changes the page template.

  2. Example: 09:05

    The content area stops rendering. Header and footer look normal.

  3. Example: 09:06

    The blank version is cached and served to ad traffic.

  4. Example: next day

    Someone notices leads dropped.

  5. Example: next day

    Template restored and cache purged.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. When you set up a journey step, you can tell it to expect specific text on the page, for example your main headline or the label of your submit button. On each scheduled run, the robot visitor loads the page and checks for that text. If the page is blank between header and footer, the text is missing, the check fails, the failure is re-checked from a second region, and you get one alert with a screenshot and a likely cause.

What it does not do: it does not judge on its own whether a page looks empty. It only catches the problem if you have set expected text for that step, and it does not catch a page where the expected text is present but the rest of the content is missing. It also does not review every page on your site.

To cover the rest by hand: pick one or two phrases that only appear when the real content has rendered (a headline and a button label) and set them as expected text on every key funnel step. Then, after template, theme or plugin changes, open your main landing pages in a private window on desktop and mobile and check the body is there. You can start with the Free plan (1 site, 2 journeys, daily checks, no card), and a free read-only website audit is also available.

A page with an empty body

The page loads but the area between header and footer has no content.

Questions people ask

Why does my page show only the header and footer?

The main content area is not being output or is hidden. Common causes are a template missing its content call, an unpublished or empty page, a plugin or shortcode that stopped working, a failed script that renders the body, or a stale cache. View the page source to see whether the content is in the HTML.

How do I fix a WordPress page that shows a blank space between header and footer?

Check that the page is published and has content, that its template calls the_content(), and that any page builder plugin is active. Then deactivate recently updated plugins one by one and purge all caches. Restoring an earlier revision often helps if the content was lost.

Why is my Shopify page empty except for the header and footer?

Usually the page template has no sections, or {{ content_for_layout }} was removed from theme.liquid. Check the page's template in Online Store, Pages and the code in Edit code. Publishing the previous theme version is a quick rollback.

How can I tell if content is missing or just hidden?

Use View page source and search for a headline you expect. If it is there, CSS or JavaScript is hiding it. If it is not there, the server or template did not output it.

Will uptime monitoring catch a page with an empty body?

Often not. The page returns a normal 200 response, so a simple uptime check sees it as healthy. You need a check that looks for specific text that only appears when the real content renders.

Can caching cause a blank page between header and footer?

Yes. If a cache stored the page while it was empty, it keeps serving the blank version after you fix the cause. Purge your caching plugin, server cache and CDN, then retest in a private window.

Does FunnelGuard detect a blank page with only header and footer?

Partly. It checks for expected text you set on a journey step and fails when that text is missing, then alerts you after a second-region re-check. It does not detect an empty page by itself, so set expected text from inside the content area.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: assert expected text fails.

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.