Divi has all the time given you techniques to create customized menus, maximum particularly with the vintage Menu module. That module continues to be helpful, however additionally it is an all-in-one machine, this means that it could possibly really feel restricting when you wish to have complete keep an eye on over construction, styling, dropdown habits, or cellular navigation.
With Divi 5’s new menu options, you’ll construct navigation from smaller, extra versatile items. The brand new Hyperlink and Dropdown modules mean you can create customized menus, dropdowns, mega-menu taste layouts, and cellular navigation immediately within the Visible Builder, with out depending on third-party plugins or customized code.
On this step by step information, we’ll construct a customized menu with submenus and a separate cellular model the use of local Divi 5 options.
Contents
- 1 Getting Began With Divi 5’s New Menu Options
- 2 What Is The Hyperlink Module?
- 3 What Is The Dropdown Module?
- 4 How To Construct A Customized Menu With Divi 5
- 5 Construct Customized Menus In Divi 5 As of late
Getting Began With Divi 5’s New Menu Options
Sooner than construction your menu, be sure you are the use of the newest model of Divi 5. You’ll be able to get started from a contemporary set up or use the Divi 5 Migrator if you’re updating an current Divi 4 web site. In case you are migrating a reside web site, check the improve on a staging web site first so you’ll overview the whole thing sooner than pushing adjustments reside.
For this instructional, we’ll construct the menu within the Theme Builder as a part of a World Header. That manner, the menu seems constantly around the web site. You’ll be able to additionally create separate header templates for particular spaces, comparable to archive pages, product templates, or different Theme Builder layouts, when a venture wishes other navigation in numerous contexts.
A Fast Word On Menu Loops
We’re deliberately skipping Menu Loops for the desktop menu on this information. Menu Loops are helpful for dynamic, repeating navigation constructions, however they repeat the construction within the looped part. For those who position the similar Dropdown module inside of a looped Hyperlink module, every repeated hyperlink can inherit that very same dropdown construction, which isn’t what most standard desktop menus want.
For the desktop menu, we’ll use particular person Hyperlink and Dropdown modules so every top-level merchandise may have its personal submenu content material. Later, we’ll use Menu Loops for the cellular menu, the place an easy repeated checklist of hyperlinks makes extra sense.
What Is The Hyperlink Module?
The Hyperlink module is a standalone, customizable hyperlink designed for navigation. You’ll be able to use it as a top-level menu merchandise, a submenu merchandise inside of a Dropdown module, or a part of a extra complex navigation format. When put next with undeniable textual content hyperlinks or Button modules, the Hyperlink module will provide you with centered keep an eye on over how particular person navigation pieces glance and behave.
Upload your hyperlink textual content, assign a static or dynamic URL, and optionally come with an icon.
Like different Divi modules, the Hyperlink module will also be styled with Divi’s design settings.

Key Options At A Look
- Granular Styling: Each and every Hyperlink module may have its personal typography, colours, spacing, and hover kinds.
- Icon Improve: You’ll be able to upload icons immediately within the module, which comes in handy for customized menus, submenus, and extra visible navigation patterns.
- Dynamic Content material And Loop Compatibility: The Hyperlink module can pull labels and URLs dynamically, and it could possibly paintings with menu loops when you wish to have hyperlinks generated from WordPress menu information.
- Semantic Flexibility: You’ll be able to use Semantic Parts to select extra suitable HTML output in your customized navigation construction.
What Is The Dropdown Module?
The Dropdown module is a container for submenu content material. It may be nested inside of a dad or mum part, comparable to a Hyperlink module, to create layered navigation immediately within the builder. It controls how and the place submenu content material seems.

Key Options At A Look
- Computerized Guardian Triggering: When positioned inside of a dad or mum part, the Dropdown module can open on hover or click on, relying to your settings.
- Versatile Content material: The Dropdown module isn’t restricted to hyperlinks. As a result of it really works with Nested Modules, you’ll position different Divi modules inside of it, together with pictures, buttons, textual content, rows, and extra.
- Complex Positioning: The module comprises place, path, alignment, and offset settings so you’ll keep an eye on the place the dropdown seems.
- Constructed-In Menu Habits: For elementary dropdown habits, you’ll use the module’s integrated hover or click on settings as a substitute of manually growing that interplay from scratch.
How To Construct A Customized Menu With Divi 5
Now that you understand what the Hyperlink and Dropdown modules do, let’s put them to paintings. By means of the top of this instructional, you’ll have a customized desktop menu with dropdowns and a separate cellular menu constructed with Canvases, Menu Loops, and Interactions.
Construct The Desktop Menu
Get started through opening the Divi Theme Builder and clicking Upload World Header.

Sooner than including content material, click on into the Segment at the canvas and cross to the Design tab. Extend the Spacing menu and practice 15px of padding to the height and backside.

Subsequent, open the Complex tab, extend the Place menu, and set the Z Index to 999. This is helping stay the header above web page content material when dropdowns are open.

In the end, extend the Scroll Results menu and set the Sticky Place to Persist with Most sensible.

Now upload a single-column Row to the Segment. Edit the Column, transfer to the Design tab, and extend the Format menu. Set Format Course to Row, Justify Content material to House Between, and Align Pieces to Heart. This creates a horizontal header construction with the kid components focused vertically.
Sooner than including menu pieces, make certain you have already got a WordPress menu created. If no longer, cross to Look > Menus and upload your web page hyperlinks there.

Upload An Symbol Module
Upload an Symbol module in your emblem. Use Divi 5’s Responsive Editor or Customizable Responsive Breakpoints to dimension it correctly for various display screen sizes.
Upload A Staff Module
Subsequent, upload a Staff to the Row. This will likely hang the top-level menu pieces. Throughout the Staff, upload a Hyperlink module.
Move to the Staff’s Design tab, extend the Format menu, and set Format Course to Row, Justify Content material to House Between, and Align Pieces to Heart. Those settings position the top-level hyperlinks aspect through aspect.

Upload Hyperlink Modules
Make a choice the primary Hyperlink module and magnificence it to check your branding. Use settings comparable to Font, Textual content Colour, and Textual content Measurement to succeed in the specified glance.

You’ll be able to additionally use hover-state styling so as to add a Background Colour, Border Radius, or Spacing when customers engage with the hyperlink.
Subsequent, upload the label and URL for the primary Hyperlink module. Within the Content material tab, extend the Textual content menu and upload the label within the Textual content box.

Then extend the Hyperlink menu. Use the dynamic content material icon within the Hyperlink URL box if you wish to assign the web page hyperlink dynamically.
Reproduction the Hyperlink module as again and again as had to construct the remainder of your menu.
Replace the Textual content and Hyperlink URL for every duplicated Hyperlink module.

We’ll additionally upload a Button and an Icon module to finish the top-level navigation. The Icon will function the mobile-menu cause later within the instructional.

With the top-level navigation in position, you’ll get started including dropdowns for submenu pieces. Open some of the top-level Hyperlink modules in the principle row. Within the Content material tab, extend the Parts menu and click on + Upload Part so as to add a nested module.

Make a choice the Dropdown module when the Insert Module Or Row conversation seems.

Throughout the Dropdown, upload Hyperlink modules for the submenu pieces and magnificence the dropdown background as wanted.
For the primary Hyperlink module within the Dropdown, use the Content material tab to assign the label, icon, and URL.
Within the Design tab, use the Format settings to put the icon to the left or proper of the textual content and align the icon and label.

Use the Icon menu to taste the icon colour, dimension, and any background settings you wish to have so as to add.

Reproduction the submenu hyperlink or replica and paste its attributes onto the opposite submenu hyperlinks. Then replace every label, URL, and icon as wanted.
As soon as the submenu hyperlinks are styled, go back to the Dropdown module’s settings. Within the Design tab, extend the Dropdown menu and regulate settings comparable to Dropdown Place, Display Dropdown On, Dropdown Course, Dropdown Alignment, and Dropdown Offset.
Upload further Dropdown modules the place wanted, then save the template.
Construct The Cellular Menu
As a result of this practice desktop menu makes use of particular person Hyperlink and Dropdown modules, we’ll create a separate cellular menu that opens when a person clicks the hamburger icon within the header. We’ll use Divi 5’s Canvases characteristic to construct it.
Upload A New Canvas
Click on the Canvas Grid View icon to open the Canvas interface.

Click on + Upload Canvas to create a brand new Canvas for the cellular menu.

When the Upload Canvas conversation seems, give the Canvas a reputation, comparable to Cellular Menu, and assign a Z Index of 999 so the cellular menu seems above the web page content material. Click on Upload Canvas to release the builder.

Within the Segment settings, cross to the Design tab, extend the Spacing menu, and assign 15px of padding to the tip and backside.

Upload a single-column Row to the Canvas. Edit the Row’s Column and set the Vertical Hole within the Format settings to 15px.

Upload a Hyperlink module to the Row and magnificence it as wanted. Then extend the Loop menu within the Content material tab and permit Loop Part.

Within the Question Sort box, choose Menu.
By means of default, Divi will use the Number one menu. Use the Menu box to select the menu you wish to have for cellular. Divi will populate the loop with the pieces from that decided on menu. As a result of it is a Menu Loop, it’s best suited for an easy repeated checklist of hyperlinks, which is why this information makes use of a separate mobile-only menu construction right here.

As a substitute of coming into hyperlink textual content manually, use Divi’s dynamic content material choices to populate the hyperlink title. Click on into the Hyperlink module’s Textual content box, use the Insert Dynamic Content material icon, and select Loop Menu Textual content. Divi will replace every looped hyperlink with the proper menu label.
Extend the Hyperlink menu and use dynamic content material to assign Loop Menu Hyperlink to the URL box.

In the end, upload two extra modules, a Button and a Textual content module, and magnificence them as desired. We’ll use the Textual content module because the shut cause for the cellular menu. Within the Textual content module’s Background menu, upload a Background Colour.

Transfer to the Hover State and assign a hover Background Colour.

Transfer to the Design tab and extend the Spacing menu. Upload 15px of padding to all 4 facets.

Use Divi’s responsive settings to make any essential tweaks sooner than shifting on.
Create The Interactions
We’ll use Divi 5’s Interactions to glue the hamburger icon to the cellular menu. You’ll create a cause that opens the menu, an in depth motion, and breakpoint-based visibility controls so the desktop and cellular navigation keep out of one another’s manner.
Cellular Menu
Whilst modifying the Cellular Menu Canvas, choose the Textual content module on the backside of the format. Move to the Complex tab, extend the Interactions menu, click on + Upload Interplay, and choose Click on.
Within the Edit Interplay conversation, upload an Admin Label, select Conceal Part because the Impact Motion, and choose Root Container because the Goal Part. This makes the shut cause conceal the cellular menu when clicked.

Now choose the Canvas Segment. To stay the cellular menu hidden till it’s prompted, cross to the Complex tab, extend the Visibility menu, and disable the Segment on all breakpoints.

Save the Canvas, then go back to Canvas Grid View and choose the Primary Canvas.

Desktop Menu
For the desktop menu, we’ll conceal the Staff containing the desktop hyperlinks and the Button on smaller breakpoints. The ones modules must solely seem on desktop-sized displays.
Make a choice the Staff and cross to the Complex tab. Create an interplay titled Conceal Desktop Menu. Make a choice Breakpoint Input because the cause. Upload an Admin Label, set the Breakpoint to Pill Vast, and set the Impact Motion to Conceal Part. In the end, choose the Staff because the Goal Part.
Repeat the similar procedure for the Button module so it additionally hides on smaller breakpoints.
While you preview other breakpoints, the menu hyperlinks and button must disappear as soon as the Pill Vast breakpoint is energetic.
As a result of customers can resize their browser window, upload every other interplay to turn those components once more when the format returns to desktop dimension. Use the similar settings, however set the Impact Motion to Display Part and the Breakpoint to Desktop.

Disclose The Cellular Menu
The overall interactions will divulge the hamburger icon on smaller gadgets, conceal it once more on desktop, and use it to open the cellular menu.
Make a choice the Icon module and upload a brand new Interplay within the Complex tab. Make a selection a Click on cause, upload an Admin Label, select Display Part for the Impact Motion, and choose the Cellular Menu Canvas Segment because the Goal Module.
For the second one interplay, select Breakpoint Input because the Cause Tournament. Set Pill Vast because the Breakpoint, select Display Part because the Impact Motion, and choose the Icon module because the Goal Module.

For the 1/3 interplay, opposite that habits when the browser returns to desktop dimension. Upload a brand new interplay at the Icon module. Stay the settings the similar, however exchange the Breakpoint to Desktop and the Impact Motion to Conceal Part.

In the end, conceal the hamburger icon through default on all breakpoints the use of the Visibility settings within the Complex tab. The interactions will divulge it solely when wanted.

Take a look at the completed menu in a brand new tab and make any essential changes the use of Divi 5’s responsive settings.
Construct Customized Menus In Divi 5 As of late
The transfer from the vintage Menu module to the brand new Hyperlink and Dropdown modules opens up a a lot more versatile approach to construct menus in Divi 5. As a substitute of depending on one all-in-one menu module, you’ll bring together customized navigation from smaller items that paintings with Divi 5’s broader techniques, together with nested modules, Menu Loops, Canvases, and Interactions.
The workflow is extra hands-on, but it surely will provide you with extra keep an eye on over how your menu appears to be like and behaves. Whether or not you’re construction a easy dropdown, a mega-menu taste header, or a customized cellular navigation revel in, those equipment make it imaginable to construct that construction immediately inside of Divi. Obtain the newest Divi 5 free up and experiment with the Hyperlink and Dropdown modules, Canvases, and Interactions to construct your subsequent customized menu.
The publish How To Construct Customized Menus With Divi 5’s Hyperlink & Dropdown Modules seemed first on Sublime Issues Weblog.
WordPress Web Design
