Skip to content
Advertisement

WordPress with Divi does not show display logo in main menu

Hy, i work on a website made with WordPress, Divi and a child theme. I have an header with a navigation and the logo centered on the nav. The header is fine when i’m connected but when i’m not connected (like a visitor) the logo is on display: none and out of the navigation list. The header is generated by WordPress, the logo is insert in the general section of Divi settings.

Here is the code when i’m connected to the Back office

JavaScript

And here is the code when i’m not connected to the Back office

JavaScript

We can see the logo container is moving. When i’m connected it’s in the navigation list and when i’m not connected it’s out of the navigation. I don’t touch anything in the header.php of my child theme. It’s for that i’m out of ideas.

I wish i’m almost clear.

Thank’s for your time.

Advertisement

Answer

I’m sorry, but i resolve it. It was the configuration of WP Rocket ! thank’s for your time !

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement