Skip to main content

Why the Site Shows the Wrong Header or a Menu Listing Every Page in Divi 5

Learn how to fix a Divi 5 site that shows the wrong header or a menu listing every page by enabling the Default Website Template.

You built a custom header in the Theme Builder, but some or all of your pages show a different one: a plain header with your site title and a menu that lists every page on your site. It often shows up on newly created pages while older pages look fine.

This isn't a broken header - it's WordPress falling back to its default header because no Divi template applies to the page. This article explains why that happens and how to fix it.

What's Causing This?

  • The Default Website Template in the Theme Builder is disabled, so pages that aren't assigned to a custom template fall back to the default WordPress header.

  • The fallback WordPress header displays the menu assigned to the Primary Menu location. If no menu is assigned there, WordPress automatically generates a menu listing every published page - which is why you see pages you never added to any menu.

  • The page is assigned to a custom template that has no header of its own.

  • A stale cache is serving an old version of the header.

How to Fix It

Fix 1: Enable the Default Website Template

The Default Website Template controls the header, body, and footer for every page that isn't assigned to a custom template. If it's disabled, those pages get the WordPress fallback header instead of your Global Header.

  1. Go to your WordPress Dashboard → Divi → Theme Builder.

  2. Find the Default Website Template (the first template card).

  3. If it appears grayed out or crossed out, click its Eye icon to enable it.

  4. Click Save Changes in the top right of the Theme Builder screen.

  5. Reload the affected page.

Divi 5 - Global Header Template is Disabled

Once enabled, every page you create (and which does not have a custom Header template) will automatically use your Global Header and Global Footer - no per-page assignment needed.

Fix 2: Assign a Primary Menu

Even with your Divi header working, assign a menu to the Primary Menu location. It's what WordPress falls back to whenever no Divi template applies, and it stops the auto-generated list of every page.

  1. Go to Appearance → Menus.

  2. Select the menu you want to use (or create one and add your pages to it).

  3. Under Menu Settings, check the Primary Menu display location.

  4. Click Save Menu.

Divi 5 - Set a WordPress menu as the website's primary menu

Fix 3: Check Which Template Applies to the Page

If only certain pages show the wrong header, a custom template may be taking over.

  1. Go to Divi → Theme Builder.

  2. Look at each custom template's assignment to see if it applies to the affected page.

  3. If the template should show your site-wide header, make sure it has a header area. If it doesn't, the Global Header is not used automatically on a custom template whose header was removed - re-add it or remove the template assignment.

  4. Click Save Changes and reload the page.

Fix 4: Clear Your Caches

If the correct header shows on some loads but not others, or the fix doesn't appear right away, the old header is likely cached.

  1. Go to Divi → Theme Options and click the Clear CSS Cache button at the top right.

  2. Clear any caching plugin and server cache, then reload the page in a private/incognito window.

For the full cache-clearing walkthrough, see Why the Live Page Looks Different From the Visual Builder in Divi 5.

💡 Pro tip: Re-saving the Theme Builder (open Divi → Theme Builder, then click Save Changes) forces Divi to regenerate the header for the whole site. It's a quick fix when the header looks broken only on the front end.

Still Having Trouble?

  • Test with Safe Mode: go to Divi → Support Center, enable Safe Mode, and reload the page. If the header looks right, a plugin or custom code is interfering.

  • If the page body itself is blank or missing content (not just the header), see Why the Page Is Blank or Missing Content on the Live Site in Divi 5.

  • If the problem persists, contact Elegant Themes support with a link to an affected page and a screenshot of your Theme Builder screen showing your templates.

Did this answer your question?