Hide the Divi Theme Header when Scrolling Down

Written by Dan Mossop

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:

  1. Log into your WordPress dashboard
  2. Go to the ePanel at "Divi > Theme Options" (or "Appearance > Divi Theme Options" in Divi prior to version 2.4)
  3. Under "General Settings" you'll find a box titled "Fixed Navigation Bar".
  4. 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).

We may earn a commission when you visit links on our website.

Enhance Your Divi Site with Elegant Transitions!

Bring a touch of elegance to your Divi experience with the Divi Transitions plugin. Ideal for those looking to enhance the aesthetic appeal of their site by introducing seamless fade, zoom, and wipe effects that complement features like the fixed header. These transitions work seamlessly with the back button and new tabs, ensuring a refined user experience.

Latest Posts

Add a Branded QR Code in Divi

To create a branded QR Code in Divi, you can use the Divi QR Code module and its "Center Image" feature. This lets you add an image / logo in the center of the QR code, perfect for promoting your brand or adding a unique twist to your QR Codes. The image is displayed...

Add Text Before the Number in the Divi Circle Counter

Adding a custom number prefix to your Circle Counter lets you clarify what the value represents—such as currency, units, or labels—without relying on the default percentage format. This helps your counters better match real-world metrics and keeps the design...

Add a Second Line of Text in a Divi Button Module

Adding a second line of text beneath a button’s main label lets you provide extra context, a brief benefit statement, or a supporting call-to-action without cluttering your design. This can improve clarity and increase clicks by making the button’s purpose more...

Top (or Bottom) Align Divi Icon List Module Icons

When Icon List items wrap onto multiple lines, the default icon alignment can make the icon appear vertically centered next to the text, which may look unbalanced or harder to scan. Setting the icons to align at the top creates a cleaner, more consistent...

Make Divi Button Modules Full Width with Centered Content

This configuration makes a Divi button stretch to the full width of its container while keeping its label neatly centered, creating a bold, edge-to-edge call-to-action. You might want this for hero sections, pricing tables, or any layout where a standard-sized button...

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

9 Comments

  1. Hi,
    I want to add different colors to the menu bar when scroll. Is it possible? Thanking for the article.

    Reply
    • 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!

      Reply
  2. 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?

    Reply
    • 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!

      Reply
    • Thanks Gary!

      Reply
  3. 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.

    Reply
    • 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.

      Reply
  4. 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.

    Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

News