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.
- Ad clickVisitor arrives on the landing page
- Hero imageBackground file returns 404 or is blocked
- Headline and buttonWhite text on white, unreadable
- Form or checkoutNever reached
The image fails, so the hero text can't be read and the funnel stops at the first screen.
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.
Open the page in a private window
Use a fresh browser profile so cached files don't hide the problem. Try desktop and mobile.
Open DevTools Network tab
Press F12, open Network, filter by Img and reload. Look for red rows or status 404, 403 or blocked.
Inspect the hero element
Right-click the empty area, choose Inspect and check the computed
background-imageandbackground-colorvalues.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.
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.
.hero {
background-color: #1a1a2e; /* shows if the image fails */
background-image: url('/images/hero.jpg');
background-size: cover;
background-position: center;
color: #fff;
}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.
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.
Clear caches and optimisation plugins
Purge page cache and CDN. Check image optimisation or lazy-load plugins are not blocking the background file.
Check the section settings
In Online Store > Themes > Customize, open the banner section and confirm an image is selected for desktop and mobile.
Set an overlay or colour
Many themes have an overlay opacity or colour scheme setting. Choose a dark scheme so white text still has contrast.
Check Files
In Content > Files confirm the image was not deleted.
Set a background colour
Select the hero section, open Style > Backgrounds and add a solid colour layer under the image layer.
Check the asset
In the Assets panel confirm the image still exists, then republish the site.
Add a strip colour
Select the strip, choose Change Strip Background, and set a colour with the image on top or an overlay.
Replace the image
Reselect the image from the Media Manager if it shows a placeholder.
Set a section background colour
Edit the section, open Format > Background, and choose a dark colour or add an overlay to the image.
Re-add the image
Replace the background image and save.
Set the section background colour
In the funnel or website builder, select the section, open Background settings and set a dark colour in addition to the image.
Check the image URL
Confirm the file is still in Media Storage and the link is not private or expired.
Add background-color
Add a dark
background-colorto the same rule asbackground-image.Fix the path
Check the URL is correct and relative paths work from the CSS file's location. Check server and CDN return 200.
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
- 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
- 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.
Related issues
- PRF-372Page looks broken after theme/plugin update (visual regression)Fix guide
- PRF-379Blank page with only header and footerFix guide
- PRF-380Empty white screen (JS crash)Fix guide
- PRF-382Form elements unstyled (browser defaults) after CSS failureFix guide
- PRF-383Images not loading below fold due to broken lazy-loadFix guide
- PRF-384Background video black on mobileFix guide