In WordPress, and especially in the Divi theme of Elegant Themes, the possibilities are almost endless. The header, that important element of any website, can be decisive for a user to stay on the website or decide to ignore it.
Fortunately, the Divi header is highly customizable and gives you the possibility to change it, design and make the best user experience. In addition, the versatility to play with the logo layout and menu items are also advantages that you get when you install Divi.
I’ll tell you some of these customization possibilities. To apply them, we must have at least version 2.6 of the Divi template.
1.- Floating, fixed or sticky menu
Divi by Elegant Themes allows us two types of header for a website or blog:
1.1.- Floating, fixed or sticky header design
In this type of Divi header, the menu is static when you scroll down, that is, the menu and the logo will always be visible even if we scroll through the page.
The advantage of this type of Divi header is that the user always has the navigation menu available. The disadvantage is that it occupies space on the screen and therefore decreases the view of the content that the user wants to see on the web. That’s why it is important that the height occupied by this heading is not exaggerated. In fact, Divi allows us to even remove the logo when it is scrolled and thus enlarge the space of vision of the web.
This menu option is active by default when we install Divi.
How can we deactivate it? Easy:
Go to Administration Panel.
Select “Divi” and then “Theme options”.
Go to the “General” tab, then select “Fixed navigation bar” and in the selector we click on “Deactivate”
As always, we scroll down and save changes.
1.2.- Traditional menu (no sticky):
In this type of menu when the user scrolls over any of the pages of the website, the menu disappears from the view of it. To access the menu it will be necessary to scroll again, but this time upwards. Upon reaching the top of the page the user will again see the website’s navigation menu.
2.- Non sticky menu, with large and centered logo
If you want to put a logo of large dimensions in the Divi header of your website, you must first examine the possible dimensions to adapt the image you are going to upload.
How to upload the logo?
Go to “Administration Panel”.
Click on “Divi” and then “Theme options”.
In the “General” tab, we look for the Logo section and click “Upload”.
Save the changes!
How to center the logo?
If we want the logo to be centered on the elements, we will repeat the first two steps mentioned above: we’ll go to the Administration Panel, select Divi and then Theme Options.
Go to “Header and navigation”.
We select “Header format”.
We will choose “Header style” and select “Centered”.
Again, save the changes!
How to maximize the dimension of the logo?
Go to “Administration Panel”, then “Divi” and click on “Theme Customizer”.
Click on “Header and navigation”, then on “Main menu bar”.
In the section “Height menu” we select the maximum.
In “Logo max height” we will also select the maximum “.
Save and publish the changes!
To increase the margin between the logo and the menu items, we will have to reduce the size of the logo.
Maximum size for the logo
But surely you will ask yourself: What if I want this style, but I do not want it to occupy too much height? Let’s see two options:
NO Sticky Menu: As explained above, with a non-sticky menu, the Divi header logo may disappear when scrolling, improving the web’s viewing space.
Sticky menu without logo: We can use this type of menu but configure it so that when the scroll disappears, the logo disappears.
How do we make the logo disappear only?
In the Divi Administration Panel we will select “Theme Customizer”.
Go to “Fixed navigation settings” and check the box “hide image of the logo”.
As always, we click on Save and publish.
3.- Traditional: Menu with logo on the left
This type of header is configured by default in Divi: the logo is on the left and the menu items are shown on the right. This header design can be float or not float (at the beginning we explain how to configure it).
How to select the traditional header design?
If you are not starting from scratch and you want to have this type of header, we will follow these steps:
We will go to the Divi Theme Customizer, entering through the Administration Panel.
Select “Header and navigation”.
Click on “Header format” and then select “Default”.
Click on Save and publish.
If you can’t see the header correctly, you must modify the parameters of the Height menu as we indicated in the previous step.
4.- Logo centered and on top of the menu
Even if you don’t want a logo of large dimensions, if you want it centered and just above the menu items we will have to follow these steps:
Go to “Theme Options”, in the Divi administration panel.
Go to “Header and navigation” and select “Header format”.
In “Header style” choose “Centered” and save the changes.
5.- Logo on the same line as the menu items
If you want the centered logo, in medium dimensions and in line with the menu with elements on the left and right, follow these steps:
We go to the Divi Administration Panel.
We click on the Theme Customizer and go to “Header and navigation”.
Select “Header format” and then “Header style”.
By clicking on the previous option we will see and select “Online centered logo”.
If your chosen menu style as Sticky, you can make that centered logo disappear by scrolling down.
To do this, follow this steps:
Go to the Divi Theme Customizer and click on “Header and Navigation”.
Select “Fixed navigation settings and we will see several options.
Select “Hide logo image”.
Save the changes.
Divi Mega Menu
Now that you have created a customized your Divi header layout, the next thing you should do is to personalize the menu. But you can quickly realize that feature is a bit lazy and doesn’t provide the necessary features to get simple things like integrating an image or shop products in the menu.
That’s why we strongly recommend you to install our Divi Mega Menu plugin that will help you to save a lot of time than configuring your own mega menu functionality.
As you can see in our demo, this mega menu for Divi has a simple and intuitive interface, integrated into the Divi customizer dashboard, allowing you to create and customize an unlimited amount of mega menus and tabs menus without any programming skills.