A prominent feature of the Divi Theme is the responsive header which starts off large, then shrinks to a smaller version as you scroll down. This smaller header hovers above the content of the page.
Disabling the Fixed Divi Header
If you’d rather not have the header shown when you scroll down, the best option is to disable the fixed header in the Divi configuration options. To do so:
- Log into your WordPress dashboard
- Go to the ePanel at "Divi > Theme Options" (or "Appearance > Divi Theme Options" in Divi prior to version 2.4)
- Under "General Settings" you'll find a box titled "Fixed Navigation Bar".
- Set this to Disabled, then scroll down to the bottom of the page and press save.
Now the Divi header will no longer hover over the content when you scroll down.
Disabling the Fixed Divi Header via CSS
If for any reason you need to a way to hide the header via CSS, you can do so by adding some CSS to your Divi Theme as follows:
.et-fixed-header { display:none; }
With this, when you scroll down the header will disappear instead of shrinking.
(Note that the transition isn’t as smooth as I’d like, so when I get a chance I’ll try and improve this).
Hi,
I want to add different colors to the menu bar when scroll. Is it possible? Thanking for the article.
Hi Md, you can control some of the styles / colors of the scrolled (or "fixed") menu bar using the settings at:
Divi > Theme Customizer > Header & Navigation > Fixed Navigation Settings
Hopefully that has what you need, but if not, perhaps you can let me know what parts of the menu bar you'd like to be able to re-style? Thanks!
Hi! I still don't know how to remove the top header (contains just my e-mail and a phone number) from the single landing page. Is there any hint on that?
Hi Borys, I've just put up a post explaining how to do it:
https://divibooster.com/hiding-divis-secondary-menu-bar/
See the last paragraph of the CSS section for details on applying it to a single landing page.
I hope it helps, but let me know if you have any questions, etc. Thanks!
Important and 'HARD TO FIND SNIPPET'
For those who want to keep a stationary fixed navigation menu header with no hiding or shrinking on the lead page or subsequent pages.
Under "Deactivate this effect on select pages".
http://www.elegantthemes.com/blog/resources/exploring-divi-2-4-all-new-header-styles-and-design-settings
Thanks Gary!
This is exactly what I'm looking to do however these directions do not match what I have in my dashboard. under appearance there is no Divi Theme options. Maybe I'm looking in the wrong place. Do you have screen shots or a video? that would be most helpful.
Hi Sharice, the location of the Divi ePanel was moved from "Appearance > Divi Theme Options" to "Divi > Theme Options" in Divi 2.4. I've updated the post to reflect this. I hope that helps.
Divi is such an awesome plugin and yes I don't know how to make the header fix at the top. So thank you for sharing this simple yet helpful tip.