Code by Day | Explore By Weekend

How To Create A Fixed Divi Header Menu On Desktop or Mobile Tutorial by Pee-Aye Creative

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

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.

#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 called How To Automatically Stop Your Fixed Divi Header From Overlapping The Page And Push It down Instead.

Fixed transparent header with Divi

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

12
Last updated Jan 3, 2021 @ 1:07 pm

Please share this post!

Nelson Lee Miller (aka The Divi Teacher)

Nelson is the owner of Pee-Aye Creative Co in the beautiful state of Pennsylvania. He loves helping small businesses, exploring, building websites with Divi, and teaching others.
Divi Adventure Club Product And Course Membership by Pee Aye Creative

Become A Member!

Gain access to everything we offer!

Learn More

Recent Posts

Leave A Response!

Subscribe
Notify of
guest
4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Maksym
Maksym
10 months ago

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.… Read more »

tim
tim
5 months ago

Thank you Mr. Nelson.

ffafafe
2 months ago

create two global header

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Divi Adventure Club Product And Course Membership by Pee Aye Creative

Become A Member!

Gain access to everything we offer!

Learn More

Divi Tutorials On YouTube

Join over 4,700 others and subscribe to our helpful Divi videos!

Visit Our Channel

Pin It on Pinterest

0

Your Cart