WordPress GuideErrors → Header Not Showing

Help! My header is not showing in my WordPress site

Headers disappearing in WordPress can be frustrating, especially when everything else on your site seems to be working. Whether you’re using a page builder or a custom theme, there’s usually a straightforward reason—and fix.

Let’s walk through all the common causes and how to troubleshoot them step by step.

1. Check your theme settings and visibility options

Start with the basics: if your header is hidden by a setting or only missing from certain pages, you might not need to touch any code.

Use the Customizer to confirm visibility

Investigate template settings

Review page builder display settings

Page builders can override the default template behavior:

2. Verify the header.php file and theme structure

When settings don’t explain the issue, your theme’s files are the next place to look.

Make sure header.php exists and is included

If it’s missing, WordPress won’t render the header.

Check for broken or missing code

Even a small typo or leftover tag from an edit can prevent the header from loading:

Understand the theme hierarchy

If you’re using custom post types or specialized templates (single-portfolio.php, for example), they may bypass standard header calls.

Refer to the WordPress Template Hierarchy to ensure each template includes a proper call to get_header().

3. Clear all caches and rule out conflicts

Even after fixing settings or code, a cached version of your site might still show a broken layout.

Clear your caches

Disable plugins temporarily

A plugin could be unintentionally hiding or breaking the header:

Rule out theme conflicts

Look for issues in custom CSS or JavaScript

Check for CSS that could be hiding your header:

Also inspect any custom JavaScript, especially if it alters the DOM or applies animation effects.

Disable lazy loading (if applicable)

Lazy loading is great for speed but can delay the loading of header images or elements:

4. Fix Elementor-specific header problems

If you’re using Elementor, the issue may live inside its Theme Builder system.

Review Theme Builder settings

Avoid using “Elementor Canvas” unless intentional

The Canvas layout removes the entire header and footer:

Regenerate Elementor CSS

To reset any corrupt or outdated styling:

5. Troubleshoot deeper theme and server issues

Still missing your header? These are some lesser-known, but critical, checks.

Check your WordPress and PHP version

In Tools > Site Health, look for:

Outdated environments can cause themes to misbehave.

Inspect for missing or corrupted theme files

Sometimes a partial update or failed upload can corrupt a theme:

Confirm admin toolbar visibility

This one’s just for logged-in users, but it trips people up:

6. Use Developer Tools to inspect hidden header code

This method helps you visually confirm whether the header is present but hidden.

Inspect the DOM with browser tools

Look for missing assets in the Network tab

Check for JavaScript errors in the console

In the Console tab, look for:

Additional resources

Diagnosing WordPress errors on your site →

Even more common errors, how to troubleshoot them, and how to solve them

Fixed: WordPress failed to write file to disk →

Learn how to fix the “Upload: Failed to Write File to Disk” error in WordPress with easy troubleshooting steps.

What is managed WordPress hosting? →

What it means, what it includes, and how to decide if it’s right for you