How to Build a Custom Global Header in Divi using the Theme Builder

Make your Divi Header appetizing

Just like when browsing the menu at your local burger spot, any burger will look delicious, but you go for the one that looks the tastiest. Your Divi Header is no different! By default, Divi comes pretty functional with menus and buttons, and various elements that make up a website, but just like a hamburger that is just like every other hamburger, things get a bit bland.

Let’s go and explore how to add some spice to your Divi Header by making your Divi Header not look like another Divi Header.

Let’s gooooooo…

More in this series.

Continuing our Divi Tutorial Series on making your Divi sites not look like Divi sites, we will turn the looking glass on the Divi Menu. Another clear tell that a site was built using the Divi Theme is that notorious default Divi Menu. Now Elegant Themes do not completely leave you in a lurch here as they give you some basic options via the Theme Customizer, but if you want to do anything a little fancier, you’d need to either know CSS, install a plugin, or utilize the Divi Theme Builder.

We know the Divi Theme Builder is still a scary concept for some Divi die-hards out there, but today’s Divi tutorial will take you step-by-step through building out a Divi Menu based on a design we found on dribbble (← linked).

Let’s do this!

NOTE: For those of you that might not know dribble, definitely check it out. Dribbble is a great resource to find some design inspiration when you hit a creative block, or just want to see some cool things other designers are creating.


Default Divi Menu
Design INspiration
Hinge Header
Divi Engine Global Header

Video Tutorial

Build a Divi Menu using the Theme Builder

Let’s start by demystifying the Divi Theme Builder and build out a new Global Header that will contain our Divi Menu and some other elements found on our inspiration site.

Hinge Menu

At first glance, we can see that it consists of 3 columns that contain the logo, the menu, and some text with a phone number. Wait, Divi has all that! To build our Divi Global Header we will need a Row with 3 columns, an Image Module, a Menu Module, and a Text Module.

Easy peasy lemon squeezy.

Alright, so to get going, let’s head to the following area in our Divi Install:

Divi > Divi Theme Builder

Add new Divi Theme Builder template

Add a New Global Header

Add Global Header > Build Global Header

Section Settings

Padding Top/Bottom: 0px

You’ll be greeted by the Divi Visual Builder and now we need to add a Row that will be the new home of the required Modules.

Add a 3 Column Row (25/50/25)

3-Column Row Settings



Equalize Column Heights: YES


Time to add the image module that will be our site logo. We used the Divi Engine logo, but you can obviously use any logo your little heart desires.

Add an Image Module in Column 1

Image Module Settings



Image: Upload or select your fancy logo



Max Width: 200px (You might need to play with this depending on your logo image)


Logo locked in, now it is time for the menu. Please make sure that you already created a menu over at Appearance > Menus which we can use here.

Add an Menu Module in Column 2

Menu Module Settings



Menu: Select your menu



Style: Centered

Menu Text

Menu Font: Poppins
Menu Font Weight: Light
Menu Font Color: #333333
Menu Text Size: 21px


The last hurdle in the building phase here is to add the text in the far right column. In our example, they are probably using conditional logic to display the hours for the day and this is something you can definitely do in Divi. Check out Part 3 on our Clone Any Online Store Series that covers Conditional Display Logic in-depth if you are curious to learn how this works in more detail.

For now, we will just use plain text.

Add an Text Module in Column 3

Text Module Settings



Body (Text View)
Call Us
<h3>0800 123 4567</h3>



Text Text Size: 16px
Text Alignment
: Right

Heading Text (H3)

Heading 3 Font: Poppins
Heading 3 Font Weight: Bold
Heading 3 Text Size: 26px


Divi Global Header

Ok, looking good, we just need to add a little bit of CSS to finish the design.

Adding CSS to the Divi Global Header in the Theme Builder

So make our Divi Header fantastic and mimic the effects on the Hinge site, we need to add CSS to achieve 2 things:

Vertically Center Modules in their Columns

Add the Animated line being drawn on Hover

Center Modules Vertically

Let’s start by centering those Modules vertically in their Columns.

3-Column Row > Column 1 > Advanced Tab > Main Element

Add this single line of CSS:

align-self: center;

Repeat this process for Columns 2 & 3.

Now you feel like a super l33t coder because you see those modules floating in mid-air. Great job!

Center Divi Module Vertically CSS

 Add Underline Hover Effect

Time to fancy and underline those menu links when you hover over them with the mouse. For this, we will add some CSS to the Divi Theme Options, but first, we need to add a class to our Menu Module to let Divi know where to go apply the CSS.

Menu Module Settings > Advanced Tab > CSS ID & Classes

Add this class in CSS Class:


Add Class to Divi Menu Module

Now, all that is left is to add our code to the Divi Theme Options and we will have that sexy underline animation when the menu links in the Divi Global Header is hovered.

Let’s head back to the WordPress Dashboard making sure to save our work.

Divi > Theme Options > Custom CSS 

Copy and Paste the code below.

Now, all that is left is to add our code to the Divi Theme Options and we will have that sexy underline animation when the menu links in the Divi Global Header is hovered.

Let’s head back to the WordPress Dashboard making sure to save our work.

Divi > Theme Options > Custom CSS 

Copy and Paste the code below.

Woohoo, run to the frontend and see what you’ve created! Shock and awe…well…AWE, mostly awe.

Custom Divi Global Header

Taking things further with Divi Mega Menu & Divi Mobile

This part is not mandatory, so the class is dismissed! Still here? Good. Time to share some Divi Super Powers.

You can do a ton of amazing things with stock Divi, but sometimes you see features on other sites that are must-haves. Things that will set your site so far apart from a Divi site, it could have hitched a ride to Mars with uncle Elon. Two things that come up all the time are Mega Menus and Hamburger Menus on Desktop devices.

Luckily Divi Engine has got your back with two affordable plugins that can do just that and more!

Let’s take a quick look.

Divi Mega Menu

In short, a Mega Menu is basically a type of menu where you can add some flair to the boring Divi Menu by allowing you to use other modules other than just plain sleepy text. With Divi Mega Menu you can use the Divi Builder you know to build out complex or simple works of Divi Menu art. Picasso. We even added a couple of unique modules you can use to really set yourself apart.

Did you spot the Mega Menu on our inspiration site from dribbble?

Hinge Mega Menu

This looks awesome and you won’t believe how easy it is to build this out in Divi using Divi Mega Menu and the Divi Builder. We love Mega Menus so much, we actually used a very similar design on our website when you click on Plugins.

Divi Engine Mega Menu

This is just one example of what is possible when using Divi Mega Menu. We simply built a layout with some blurb modules for each menu link and then applied some hover effects and BAM! One super slick Mega Menu in Divi using skills you already have.

Divi Mega Menu adds tons of extra ways to express your site’s identity with menu overlays, 2 NEW Modules for things like vertical tabs in your Mega Menu, as well as popups that can be triggered from anywhere on the page.

Divi Mobile

Don’t let the name fool you, Divi Mobile does more than help you create amazing Mobile Menus for your Divi sites. You can use Divi Mobile to place a Hamburger Menu on your desktop devices as well as create some pretty unique effects.

Adding a Background Text Hover Effect to Divi Menu - After

Yep, all that was done using just our little Divi Mobile plugin. Now, this is not some one-trick pony, Divi Mobile will let you set custom breakpoints for showing the mobile menu, give you 6 preset styles for your actual mobile menu, and even let you change the hamburger icon and animations. That and so much more.

Elegant Themes checking out your Divi Menu…


There you have it folks, a quick functional Divi Tutorials that showed you How to Build a Custom Global Header in Divi using the Theme Builder. What is even better, we showed you how to dissect and analyze a design you like and transport it into your Divi abode. 

Go, YOU!

Don’t skimp either, go check out both Divi Mega Menu and Divi Mobile to see how you can start building better Divi Websites.

Definitely drop a comment below to let us know what you think, and for sure share any suggestions.

Check these out
2 Things you should change on every Divi site you build
How to Add a Secondary Menu to your Global Header in Divi using the Theme Builder
How to vertically align text & images in Divi
How to Add Dynamic Content to your Global Footer in Divi using the Theme Builder
How to Build a Custom Global Footer in Divi using the Theme Builder
How to Build a Custom Global Header in Divi using the Theme Builder
Make Divi Buttons not look like Divi Buttons with Global Styles and Divi Global Presets
How to un-Divify your Divi Sites Tutorial Series

1 Comment

  1. sadly unlike the normal menu, fixed navigation and hide logo doesnt work in this. Anyway we can make it work? Pls help.

Submit a Comment

Explore more from Divi Engine