Menu Divi - Header - Header

Header and Divi Menu: header settings & customization

Updated on 03/06/24

2453 words

9 minutes of reading
255 comments

This article contains affiliate links recognizable by the percentage icon (%) → I am an affiliate link

How to create a menu in WordPress, how customize the header of a site made with the theme Divi, where to find customization options etc... All questions that will find answers in this article. I offer you a full file on Divi headers and menus. Here is the program:

  1. Create the main menu of your WordPress site
  2. Remove the logo from Divi and add yours
  3. Select the type of header proposed by Divi
  4. Set the appearance of menu items
  5. Some tips to customize your main Divi menu
  6. Resources to change the Divi menu

Before power customize header and Divi menuyou must be in possession of the elements to make appear in the Main navigation Your site. These elements may be:

  • pages,
  • Articles,
  • links,
  • of categories,
  • labels.

Step 1: Create menu items

The first step is to create pages (welcome, services, contact, about etc...) and possibly blog categories. These elements will have to have "published" status to be used within your main menu. You will therefore not be able to add pages with the draft status.

Step 2: Create your main menu

Go to the tab Appearance > Menu. Simply enter the name of your menu in the dedicated field and click "Create menu".

Create a WordPress navigation menu
Create a WordPress navigation menu

Once you create your menu, you will be able to check the items to add to your menu. The list of available items is on the left of the screen. These elements are classified by typology (pages, articles, custom links, categories).

Simply check the desired items (those you have published/created upstream) and click on Add to menu.

Step 3: Organize the main menu structure

You can drag and drop each item in the menu to reorder them. The highest element will be the leftmost element of your main menu – the lowest element will be the rightmost element.

If you move one of your elements to the right, it will then become a sub-element.

Step 4: assign a location to your menu

Remember to assign a location to your menu. Otherwise, your menu will not be visible on the front side (visitor side). Check the box "Main Menu".

Finish with Save Menu then go to front-office side to check how your menu appears.

To understand better, watch this video summary:

Note: creating a main menu of a site does not depend on a theme, it is a native WordPress feature. On the other hand, the appearance of the main navigation depends very much on the theme you use. And that's what we'll see in the rest of this article.

Do you know you can test Divi for free? See you on this page and click on "TRY IT FOR FREE"

Now that your main menu is created, you will be able to customize it.

Insert its logo in the main menu of Divi
Insert its logo in the main menu of Divi

Then go to the tab Divi > Theme Options > Logo. Click Put online and choose your image from the library or download it from your computer.

This step is simplistic...

Now you have all the cards in hand to start setting the type of header you prefer.

Go to the tab Appearance > Customize > Header & Navigation > Header Format.

In the drop-down menu, Divi offers 5 types of headers:

  • Default
  • Centered
  • Inline logo centered
  • Slide In
  • Full Screen

Your choice will result from different configuration options that we will see in detail.

Default Divi Menu
Default Divi Menu

Here is what the main menu of a WordPress site looks like using the default header of Divi. The logo is located on the left and the elements that make up your navigation follow with a right alignment.

This default header offers several options:

Option 1: "Hide the navigation bar if no scrolling"

If you check this option, the main menu will only appear when the user descends (scroll) to the bottom of the page.

When the Internet user is at the top of the page, navigation disappears.

This option may lead to confusion: if it is not comfortable with the internet, it will not necessarily have the idea of scrolling your page to make navigation appear and could leave your site before even having visited another page. This could have consequences for your rebound rate.

For my part, I never check this option, unless constraints due to design are imposed on me.

Option 2: "Enable vertical navigation"

vertical navigation Divi
Default Divi header option: vertical navigation to the right or left

The default header also allows to get a fixed and lateral navigation. This option allows you to place the side navigation to the right or left. The rendering is pretty and the logo will be placed at the top of the navigation.

Divi Central Menu
Divi Menu – Centered

The centered header displays the logo at the center of your page. The menu items will be centered just under the logo. This design type is ideal if you use a band logo. You can also be creative by preparing a special banner for your header using software such as PhotoShop or Affinity for example.

The centered header also offers the same options as the default header, namely:

  • "Enable vertical navigation" means: In this case, the side menu will look like the default side menu except that the navigation elements will be centered instead of aligned to the left.
  • « Hide navigation bar if no scrolling »
Menu Divi - Inline Logo Centered
Divi Menu – Inline Logo Centered

Header Inline Logo Centered, as you can see on the above screenshot, place your logo at the center of the elements that make up the navigation.

This kind of design can be valid if the elements of your navigation are in even number and if they have a number of characters more or less similar. Indeed, depending on the elements of your menu, the logo might not be centered and would then offer an inconsistency in the harmony of design.

Slide In Menu
Divi Menu – Slide In

Header Slide In, as its name indicates, offers a menu that slides from the right when the user clicks on the menu icon (the burger). Besides, if you don't like this burger, you can use a free plugin to change its appearance.

By default the background of this menu is blue, but don't worry, you can customize this menu in the tab Appearance > Customize > Header & Navigation > Slide In & Settings Full Screen Header.

Slide In Divi menu
Divi Slide In menu customization option

In the Slide In menu options you can:

  1. Make the search bar appear or not
  2. Set menu width
  3. Define the size of the various fonts
  4. Choose the menu font
  5. Select the background color as well as the menu links.
Full Screen Menu
Divi Menu – Full Screen

Full screen header of Divi is a cover header. When the user clicks on the menu icon, the screen is fully covered and makes the menu items appear.

The customization options are the same as the Slide In menu. You can also decide on the opacity of the background color.

Need more resources on Divi? Visit ElegantThemes blog full of ideas and tutos!

Now that you have chosen the header type, you will be able to define the appearance of the items in your menu.

Most of the options that Divi offers are in the tab Appearance > Customize > Header & Navigation > Primary Menu Bar. From this tab you can:

  • set the menu in full width mode
  • Hide logo image from menu
  • set menu height
  • set logo height
  • choose typo size and letter spacing
  • define the font of character and its appearance (gras, italics, capitals, etc.)
  • set the color of your menu items (text color, active link, sub-element color)
  • choose a background color for the main menu as well as for drop-down menus
  • choose the color of the drop-down menu line and the animation of this menu.

For "Slide In" and "Full Screen" headers, you will find some of these options in the tab Appearance > Customize > Header & Navigation > Slide In & Settings Header Full screen.

Need more resources on Divi? Visit ElegantThemes blog full of ideas and tutos! Or learn how to effectively use this theme through my training Divi !

Although Divi makes it easy to define the design of your site using its options, you may want to go beyond it. Here are some tips that may interest you:

Tip #1: Remove the grey line under the menu

You noticed him, didn't you? This thin grey line that delimits the Divi menu... Do you want to get rid of it? It's simple, go to the tab Appearance > Customize > Additional CSS and add this simple piece of code:

/* supprimer la ligne grise sous le menu principal de Divi */
#main-header {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

Still in the tab Appearance > Customize > Additional CSS You can add this code. Note that you can adapt to the needs of your background image:

/* ajouter une image en fond du menu principal */

#main-header {
background-size: initial;
background-repeat: no-repeat;
background-image: url(ajoutez ici l'URL de votre image) !important;
background-position: center;
}

With this simple bit of CSS code, you will be able to display a line that appears on the overview of each item that makes up the Divi menu:

/* ajouter une ligne au survol des éléments du menu */

#top-menu .current-menu-item a::before {
-webkit-transform: translateY(15px);
transform: translateY(15px);
opacity: 1.0;
}

#top-menu li a:hover:before {
-webkit-transform: translateY(15px);
transform: translateY(15px);
opacity: 1;
}

#top-menu li a:before {
content: '';
position: absolute;
top: 3px;
left: 0;
background: #666666; /* changez le code couleur HTML à votre convenance */
width: 100%;
height: 2px;
-webkit-transform: translateY(24px);
transform: translateY(24px);
opacity: 0;
transition: 0.3s ease;
}

This line, which appears over the mouse, may be easily modified with CSS... For more possibilities, here is a tutorial that offers 3 original ways to animate items in your Divi menu over the mouse.

Insert images in the main menu of Divi
Here is an example of a main menu (navigation) containing images to illustrate my blog categories

See you here to add more images in Divi's mega menu or consult the official documentation regarding the creating a mega menu simple (without images).

It is very easy to remove the main menu from a page or from a site made with Divi. In two clicks or a bit of CSS, you delete its display on a single page or on the entire site. Discover the tutorial to hide the Divi menu.

To achieve this, you will not really need knowledge. You can insert a Full Screen Menu module anywhere in your page and attach it to the top of the screen when the user scrolle down. Discover how to set the main menu to the scroll Here.

In the same spirit as the previous tutorial, you can easily set the main menu of your site at the bottom of the screen. It's very simple: follow this tuto to get a Fixed Bottom Menu.

Sometimes, simple little bits of CSS code are not enough to achieve what we want... Here are some other avenues to explore:

  • Create a transparent menu in a Hero section It's easy!
  • Mhmm – Mighty Header & Menu Maker : This plugin for Divi offers you to do extraordinary things. You can choose from a dozen different Divi headers. Many options will allow you to change the hamburger icon, create mega menus and more! See an example on the above video Discover plugin.
  • Integrate the Divi Builder into the Divi Header: PavéNum offers a tutorial to integrate the use of the Divi Builder into the Divi Header with hooks. I invite you to visit this page if you want to know more.
  • Quad Menu: This plugin allows you to create a custom mega menu for your Divi projects. Discover plugin.
  • Add icons to the Divi menu next to the text or in place of the text.
  • Use Divi's default header at the same time as Slide In header: Michèle de Divi Soup offers you a tutorial to pair two types of menu at the same time. Discover the tutorial.
customization of the Divi menu

Get Divi

Divi training

Ebook Divi PDF

Free tips

Divi Quiz

Live coaching

icon 256x256
Discover my wpLingua plugin, which makes your websites multilingual in just a few clicks! SEO-Friendly / Automatic / Editable

255 Comments

  1. Ade
  2. Lycia Diaz
  3. Bernard Clément
  4. Lycia Diaz
  5. Dustine
  6. Lycia Diaz
  7. Fred
  8. Lycia Diaz
  9. Néant
  10. Lycia Diaz
  11. Néant
  12. Lycia Diaz
  13. Néant
  14. Lycia Diaz
  15. Alexis
  16. Lycia Diaz
  17. Imane
  18. Lycia Diaz
  19. imane
  20. Lycia Diaz
  21. Imane
  22. annegerard
  23. Goldstein Tiffany
  24. Lycia Diaz
  25. Lycia Diaz
  26. Hélène
  27. Lycia Diaz
  28. Laura
  29. Lycia Diaz
  30. Imane
  31. Lycia Diaz
  32. Clémence
  33. Laetitia
  34. Lycia Diaz
  35. Lycia Diaz
  36. Zolo
  37. Lycia Diaz
  38. Walid
  39. Lycia Diaz
  40. Grégoire
  41. Lycia Diaz
  42. Christophe
  43. Lycia Diaz
  44. STEPHANE PERRAULT
  45. Lycia Diaz
  46. Christophe
  47. Lycia Diaz
  48. Autour de Vanessa
  49. Lycia Diaz
  50. Vanessa
  51. Lycia Diaz
  52. Christophe
  53. Lycia Diaz
  54. MyrtB
  55. Lycia Diaz
  56. LAURA
  57. Lycia Diaz
  58. Benoit
  59. Lycia Diaz
  60. Benoit
  61. Lycia Diaz
  62. Benoit
  63. Vdle
  64. Lycia Diaz
  65. Mecnun Becerik
  66. Lycia Diaz
  67. Mecnun BECERIK
  68. Lycia Diaz
  69. brig
  70. Lycia Diaz
  71. Pascal G
  72. Lycia Diaz
  73. 7hil
  74. Lycia Diaz
  75. François LC
  76. Lycia Diaz
  77. Mecnun
  78. Lycia Diaz
  79. Mecnun
  80. Emmanuelle
  81. Caroline COTTY
  82. Lycia Diaz
  83. Lycia Diaz
  84. Aurélien
  85. Lycia Diaz
  86. Jérôme
  87. Lycia Diaz
  88. DUHARD
  89. Lycia Diaz
  90. Marine
  91. Cyrielle Durand
  92. Lycia Diaz
  93. haddan mahfoud
  94. Lycia Diaz
  95. Antonio
  96. Lycia Diaz
  97. Antonio
  98. Lycia Diaz
  99. Antonio
  100. Ashleyoli Bree
  101. Solène
  102. Lycia Diaz
  103. Solvei
  104. Lycia Diaz
  105. Solvei
  106. celine
  107. Lycia Diaz
  108. Lycia Diaz
  109. Morgane
  110. Lycia Diaz
  111. Morgane
  112. Lycia Diaz
  113. Morgane
  114. Sophie R
  115. François
  116. Léa Laloyaux
  117. Thomas
  118. Thomas
  119. Thomas
  120. Lycia Diaz
  121. Lycia Diaz
  122. Lycia Diaz
  123. Lycia Diaz
  124. Lycia Diaz
  125. Lycia Diaz
  126. Lycia Diaz
  127. Alexis
  128. Lycia Diaz
  129. Kikinelux
  130. Lycia Diaz
  131. Kikibelux
  132. Lycia Diaz
  133. Image Yin
  134. Lycia Diaz
  135. Beetle SEO
  136. Lycia Diaz
  137. Youssef
  138. Lycia Diaz
  139. Youssef
  140. Arthur
  141. Lycia Diaz
  142. Alain SCATIZZI
  143. Youssef
  144. Lycia Diaz
  145. Elodie
  146. Lycia Diaz
  147. Lycia Diaz
  148. Lycia Diaz
  149. Cathy
  150. Sandrine
  151. Lycia Diaz
  152. Lycia Diaz
  153. Sandrine
  154. Lycia Diaz
  155. sandrine
  156. Lycia Diaz
  157. Mathilde
  158. patrick
  159. patrick
  160. Lycia Diaz
  161. Lycia Diaz
  162. patrick
  163. Georges
  164. Georges
  165. Lycia Diaz
  166. Patrick2
  167. Lycia Diaz
  168. Arnaud Baltus
  169. Marie
  170. Lycia Diaz
  171. Lycia Diaz
  172. Jean-Paul MONEDI
  173. KEVIN SAZ
  174. Yann
  175. Lycia Diaz
  176. Lycia Diaz
  177. Lycia Diaz
  178. Lycia Diaz
  179. zac
  180. Lycia Diaz
  181. Jean-Paul MONEDI
  182. Caroline COTTY
  183. Lycia Diaz
  184. Léo Favreau
  185. Lycia Diaz
  186. Pauline
  187. Lycia Diaz
  188. Stephane PRIVE
  189. just
  190. noel bughin
  191. Lycia Diaz
  192. noel bughin
  193. noel bughin
  194. noel bughin
  195. Lycia Diaz
  196. Lycia Diaz
  197. Lycia Diaz
  198. Philippe
  199. Lycia Diaz
  200. emeriaud
  201. Lycia Diaz
  202. emeriaud
  203. Bourdin-Faussereau Chloé
  204. Valérie M.
  205. Lycia Diaz
  206. valerie M.
  207. valerie M.
  208. Lycia Diaz
  209. Valérie M.
  210. Maroma
  211. Arthur
  212. Lycia Diaz
  213. 7hil
  214. Lycia Diaz
  215. Manfré Gabrielle
  216. Lycia Diaz
  217. monnet
  218. Lycia Diaz
  219. Payebien Cynthia
  220. Cynthia Payebien
  221. Aurélie
  222. Lycia Diaz
  223. Lycia Diaz
  224. Nao Banjo
  225. Lycia Diaz
  226. Lycia Diaz
  227. Lycia Diaz
  228. François
  229. Evelyne Lagardette
  230. Mecnun
  231. Lycia Diaz
  232. Halil20
  233. Jean-Marc Fileri
  234. Lycia Diaz
  235. Mecnun Becerik
  236. JM
  237. JM
  238. MitchDom
  239. rouvier tom
  240. NE
  241. Lycia Diaz
  242. Laeti
  243. Madina
  244. Mathieu
  245. Cornée
  246. MAGUY
  247. Lycia Diaz
  248. Lycia Diaz
  249. Lycia Diaz
  250. Lycia Diaz
  251. Lycia Diaz
  252. Lycia Diaz
  253. Lycia Diaz
  254. Mecnun BECERIK
  255. Lycia Diaz

Submit a comment

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

This site uses Akismet to reduce undesirables. Learn more about how your feedback data is used.