Skip to content
FunnelGuard

Fix guide by FunnelsGuard

White text on white background: how to find and fix it

PRF-378High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many landing pages put white text on top of a photo or gradient in a hero section. The text colour is set to white (#fff), and the dark look comes only from a background image. If that image is missing, blocked, too slow or points to a deleted file, the section has no dark colour behind it. The page background is white, so white text on white is invisible.

Why it costs you leads or sales

The hero is usually where your offer, headline and main button live. If visitors cannot read them, they cannot tell what you sell or where to click. Most will leave. Paid traffic makes it worse, because you pay for each click that lands on a blank-looking page.

Where the visitor is lost
  1. Ad clickVisitor arrives on the landing page
  2. Hero imageBackground file returns 404 or is blocked
  3. Headline and buttonWhite text on white, unreadable
  4. Form or checkoutNever reached

The image fails, so the hero text can't be read and the funnel stops at the first screen.

Effect on a landing pageExample numbers
Effect on a landing page (example)Image loads: 8 % of visitors who click the main button; Image missing: 1 % of visitors who click the main button03681Image loadsImage missing% of visitors who click the main button

Example: illustrative numbers only. The same page with the image loaded and with the image missing.

How to check if your site has it

Look at your key pages on a real device, then test what happens when the image fails.

Check for a missing background image
  1. Open the page in a private window

    Use a fresh browser profile so cached files don't hide the problem. Try desktop and mobile.

  2. Open DevTools Network tab

    Press F12, open Network, filter by Img and reload. Look for red rows or status 404, 403 or blocked.

  3. Inspect the hero element

    Right-click the empty area, choose Inspect and check the computed background-image and background-color values.

  4. Simulate a failed image

    In the Network tab, right-click the image request and choose Block request URL, then reload. If the text disappears, you have no fallback.

  5. Check the mobile version

    Many themes load a different image on small screens. Use the device toolbar to test it.

How to fix it

There are two fixes. First, repair the cause so the image loads. Second, add a fallback background colour so the text stays readable even when the image does not load.

Fallback colour behind the imagecss
.hero {
  background-color: #1a1a2e; /* shows if the image fails */
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}
Fix it on your platform
  1. Re-upload the image

    In Media Library, check the hero image still exists. Re-upload it and reselect it in the page builder or Customizer.

  2. Set a background colour

    In your builder (Elementor, Divi, Gutenberg Cover block) set a dark background colour or overlay on the section. In the Cover block, use the Overlay colour option.

  3. Clear caches and optimisation plugins

    Purge page cache and CDN. Check image optimisation or lazy-load plugins are not blocking the background file.

Hero section

No fallback

  • White text, image only
  • Image 404s and the section looks empty
  • Button and headline cannot be read

With fallback

  • Dark background colour set
  • Text stays readable if the image fails
  • Image path fixed and cache cleared

How to confirm it's fixed

Confirm the fix
  • Hero image loads with status 200 in the Network tab
  • Text is readable with the image blocked
  • Desktop and mobile versions both checked
  • Cache and CDN purged
  • Contrast ratio is at least 4.5:1
  • Checked in Chrome and Safari

How to prevent it happening again

Prevention habits
  • Always set a background colour when text is white
  • Never delete media files without checking where they are used
  • Review key pages after theme, plugin or CDN changes
  • Keep images on a stable URL, not a temporary link
  • Look at landing pages on a phone before launching ad campaigns

How FunnelGuard handles this

FunnelGuard does not check for white text on a white background yet. It is a possible future check. Today it does not judge how a page looks or whether text is readable.

What it does cover nearby: a robot visitor runs your real journeys on a schedule, such as lead forms, checkouts and booking or chat buttons. It checks each step, the tracking hits and whether test leads arrive. If a hidden or broken page stops the journey from completing, that step can fail and you get an alert with a screenshot and a likely cause. That is a side effect, not a visual check.

To watch for this issue, open your top landing pages on desktop and mobile after each change, use a browser extension or DevTools to block the hero image, and run a free contrast checker. Our free read-only website audit is a useful starting point for your wider funnel.

Questions people ask

Why is my text invisible on my website?

Most often the text is white and the background image meant to sit behind it has not loaded. The white page shows through, so the text blends in. Inspect the element and check whether the image request returns an error.

Why is my hero image not showing but the text is there?

The image URL may be wrong, the file may have been deleted, or a cache, CDN or optimisation plugin may be blocking it. Check the Network tab for a 404 or blocked request. Then re-upload the image and clear caches.

How do I add a fallback background colour in CSS?

Add background-color to the same rule as background-image, for example background-color: #1a1a2e;. The browser paints the colour first and shows it if the image fails. Choose a colour that contrasts with your text.

How can I test what my page looks like if an image fails to load?

Open Chrome DevTools, go to the Network tab, right-click the image request and choose Block request URL, then reload. If the text vanishes, you need a fallback colour. You can also test on a slow connection.

Does white text on a white background hurt SEO?

Text that is in the HTML is still readable by search engines, but a visitor who cannot read it will leave. Deliberately hiding white text on white is a spam tactic, so fix accidental cases quickly.

Can FunnelGuard detect white text on a white background?

No, not yet. It is a possible future check. FunnelGuard runs your real customer journeys and alerts when a step fails, but it does not judge visual contrast, so check key pages manually.

What contrast ratio should text have?

WCAG recommends at least 4.5:1 for normal text and 3:1 for large text. Use a contrast checker with your text colour and your fallback background colour.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.