CSS: Background Image Not Showing: Paths and Height
Backgrounds.
A CSS background image that does not show usually has a wrong path, no height on its container, or an unsupported property.
Step 1: Check the path

The url() in CSS is relative to the CSS file, not the HTML page. Open the image address in the browser to confirm it loads.
Step 2: Check the container height

An empty element has zero height, so a background has no space to show. Set min-height or add content.
Step 3: Check the properties

You normally need background-image, and often background-size: cover and background-position: center.
Step 4: Check the file type and name

Case and spaces matter. Avoid spaces in names.
Step 5: Check specificity and overrides

In F12, Elements, Styles, see whether another rule overrides yours.
Step 6: Check caching

Hard reload and clear CSS caches.
Step 7: Test in another browser

Some formats such as WebP or AVIF need fallbacks.
Still stuck?
If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.
Related guides
- WordPress Theme Customizer Preview Blank or Stuck Loading
- WordPress Multilingual Plugins: URLs, Duplicates and SEO Issues
- WordPress Block Editor Fonts and Icons Missing in Editor But Fine on Site
- WordPress Background Images Not Loading on Mobile