Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

How To Make A Fixed Divi Header Menu On Desktop or Mobile

Nelson Miller Profile Orange
This quick guide will teach you how to make a fixed Divi header menu on desktop or mobile using the Divi Theme Builder or on a regular page.

▶️ Please watch the video above to get all the exciting details! 👆

#1. Create Your Fixed Divi Theme Builder Header Menu

From your WordPress Dashboard, go to Divi>Theme Builder. Create a new template, and assign where needed. In our example, we chose to assign the menu to a specific page.

Click on “Add Custom Header” and in the popup choose “Build Custom Header.”

create a fixed Divi header

In the Divi Theme Builder template, create a section and add a row with any layout you want. In our example, we used a menu module with a logo.

The main thing we need to do is go to the section settings to the Advanced tab and go down to the Position toggle. Set the position to Fixed.

create a fixed Divi header on desktop or mobile with the Theme Builder

#2. Set Fixed Divi Header for Desktop or Mobile

Use The Build-In Divi Responsive Settings

At this point you can leave the Position setting set to default, which will affect all devices, or to set it to something different per device. 

how to create a fixed Divi header menu on desktop
how to create a fixed Divi header menu on mobile

You can set your Divi header to be fixed just on Desktop, or just on Phone.

If you notice that the header overlaps the page content, and want a genius way to solve it, check out our other tutorial below!

Don’t forget, we have tons of tutorials in our Divi Header series!

Subscribe For More Things Like This!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, and product news. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course you can unsubscribe if you are no longer interested!

Blog Post Optin
Divi Logo (2)

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trial Guides

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

12 Comments

Comments By Members

These comments are highlighted because they were posted by fans who have a membership on this site.

  1. Jelle Buelens <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

    When the header is already at the top it is flashing/flickering when scrolling down. The sticky option works good if the element is not already sticked to the top. Is this a known bug and is there a fix for this?

    Reply
    • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

      Hi Jelle!

      The flickering issue is a bug at the Element Themes end. You can get in touch with them for an ETA on it.

      Reply

Comments By Others

  1. Noel Wiggins

    I added background-color: rgba(18, 18, 45 ,7)!important; to the background color to change the background color to a 70% transparency. But it still shows it 100%, Am I missing something?

    Reply
  2. Ivo Kruchten

    Hi Nelson,

    I don’t seem to get a transparent menu (position: absolute) stick to top while scrolling. Either it is fixed or transparent, but not both 🙁

    Hope you can help.

    Reply
    • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

      Hey Ivo,

      Could you please share the URL of the website for me to investigate further?

      Reply
      • Ivo Kruchten

        Hi Hemant,

        I’ve struggled in the meantime, but I was able to make it work. Somehow I missed is to set the section to stick to top and to set the row’s position to absolute. This way I was able to make it transparent AND sticky.

        Our staging server is behind a firewall, so I can’t send you the link to our website.

        Thank you for getting back to me, appreciate it,
        Regards, Ivo

      • Hemant Gaba <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

        Hey Ivo,

        I am glad that the issue is fixed now.

        Let us know if you need any further assistance

  3. ffafafe

    create two global header

    Reply
  4. Maksym

    Hey Nelson,
    Thanks for the tutorial!

    I believe you remember I wrote to you on Facebook about ET issue about their fixed header.
    So we can see it if we compare how it looks on 1:35 and 2:42. So the header “eats” some content of 1st section and it goes up behind the header.

    So I found a way to fix that. In the CSS of Global Header we need to add this CSS:

    #main-content {
    padding-top: 125px;
    }

    125px is the example of the height of the header. You can check the height of yours and change that value.
    And then change the value for all 3 devices: Desktop, Tablet and Mobile by using CSS media query.

    Reply

Submit a Comment

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

Recent Posts

0

Your Cart