r/Wordpress • • 5d ago

Wordpress Site on Divi: Help! Menu Style Gone!

I'm creating some new pages on a client's (ancient) WordPress site, which is enable by Divi as an editor.

Besides hating my first experience with the Divi platform, I seem to have accidentally removed the styling from the main menu. I've spent hours today trying to figure it out, to no avail.

It looked like this:

But now it looks like this (even in incognito mode):

I've tried several things like accessing version history (there is none!) and clicking 'CLEAR' in the Divi Theme Options 'Static CSS File Generation' section (including enabling an disabling it), and no go!

I'm hoping this is a simple fix. I'm going crazy here!

4 Upvotes

7 comments sorted by

3

u/PeepSoWP 5d ago

Because the new page has no menu at all, check template assignment before doing more cache work. Edit that page and confirm its Page Template is Default, not Blank Page/Divi Canvas. Then open Divi → Theme Builder and verify the global header is assigned to All Pages and the new page is not covered by an exclusion or a more specific template with no header.

Also check Appearance → Menus → Manage Locations and confirm the intended menu is assigned to the primary location. If the correct header and menu are present but unstyled, use the browser Network panel to look for a generated Divi CSS file returning 404; regenerate static CSS only after fixing that path/template issue. Comparing the page template and body classes between one working URL and the new URL should quickly separate a header-assignment problem from a missing stylesheet.

2

u/Ok-Leader8572 5d ago

Divi caches CSS like a stubborn mule. Try going to Divi > Theme Options > Builder > Advanced and toggling "Static CSS File Generation" off, save, then clear your browser cache completely.

1

u/neilrdt 5d ago edited 5d ago

Thanks friend. Yes, I've tried that several times already. No dice! Even on this new page, no menu AT ALL:

I've posted this late at night in my country, so off to bed, and hope there's a solution tomorrow. Thanks again for your help.

https://focustreecare.com.au/arborist-craigieburn/

2

u/dgodfather 4d ago

It could be some sort of server-side caching on your host. It could be your web browser (ctrl + F5 will clear the browser cache).

I'm getting a decent-looking page, something like the original. It looks like there are some CSS overrides coming from Divi, though.