Divi has advanced right into a modular, performance-focused platform with a extra streamlined builder, a rebuilt framework, and ongoing characteristic releases. As Divi 5 construction continues, new options are being rolled out incessantly. One fresh replace offered new menu options that permit you to construct navigation without delay throughout the Visible Builder, with out plugins or customized CSS.

The vintage Menu module continues to be to be had for easy setups, whilst the brand new Hyperlink and Dropdown modules act as development blocks for absolutely customized menus. Paired with up to date Loop Builder functions and selector-based Interactions, they permit you to design the whole thing from easy dropdowns to full-screen overlays, slide-ins, and mega menus the usage of local Divi 5 modules and settings.

On this put up, we’ll have a look at those new options, stroll via making a easy desktop and cellular menu with them, and percentage a couple of sensible pointers that will help you get began.

Let’s dive in.

Development Menus In Divi 5

Divi 5 rethinks navigation via shifting to a modular machine. As a substitute of being locked right into a unmarried Menu module, you’ll now mix Hyperlink and Dropdown modules as development blocks. This will give you way more inventive keep watch over without delay throughout the Visible Builder whilst letting those parts paintings along local options just like the Loop Builder and Interactions.

You’ll stay issues easy via styling particular person Hyperlink modules with customized textual content.

For menus that fluctuate steadily, Menu Loops are frequently the simpler choice. By way of enabling looping for a menu merchandise trend and the usage of Hyperlink modules with menu-based dynamic content material, Divi can pull your navigation construction without delay from a WordPress menu. That permits you to stay your customized design in Divi whilst managing the real menu pieces in WordPress.

For extra advanced navigation, the Dropdown module supplies the construction for dropdown menus, nested layouts, and mega menus.

You’ll choose from Hover or Click on triggers and use the Interactions panel to focus on particular parts, such because the mother or father, root container, or kid parts.

As a result of those are local modules, you’ll nest Rows, Pictures, Buttons, and different modules within Dropdown modules to construct extra complex navigation patterns.

What Is The Hyperlink Module?

In previous variations of Divi, a menu merchandise was once only a line of textual content throughout the Menu module. In Divi 5, each and every menu merchandise can also be its personal standalone module. That implies you get the similar design keep watch over over a unmarried menu hyperlink that you’d over a Button, Blurb, or CTA.

Key Options

One of the crucial helpful sides of the Hyperlink module is its integration with Dynamic Content material. When used within a menu loop, a Hyperlink module can robotically obtain the proper menu textual content and URL from the present menu merchandise. This implies in the event you rename a web page or replace a menu merchandise in WordPress, your customized menu can keep in sync.

Fashionable navigation frequently makes use of visible cues, comparable to icons that point out a dropdown or name consideration to a hyperlink. The Hyperlink module comprises local icon toughen, letting you set an icon subsequent in your textual content and elegance it independently within the Design tab.

styling link icons in Divi 5

The use of the integrated state controls, you’ll taste hover states on your hyperlinks, comparable to converting colour, weight, borders, or spacing.

For the reason that Hyperlink module is a standalone component, you aren’t compelled right into a one-size-fits-all menu taste. One hyperlink can stay easy textual content whilst every other can also be styled extra like a button, all inside of the similar navigation row.

What Is The Dropdown Module?

The Dropdown module is a container module whose content material can stay hidden till a person interacts with its cause. This makes it the mother or father construction for development the whole thing from vintage dropdown menus to extra advanced mega menus.

Key Options

With integrated cause common sense, you’ll keep watch over how your menu unearths itself. You’ll set the dropdown to open on Hover for a standard desktop enjoy or on Click on for a extra planned, touch-friendly interplay.

hover or click options in Divi 5

Navigation doesn’t all the time must drop down. Divi 5 permits you to make a choice the place the menu seems relative to its cause, with choices comparable to Above, Under, Left, and Proper. That makes it more uncomplicated to construct slide-out sidebars or different customized navigation layouts.

dropdown direction

Alignment controls are in-built too, with choices for Get started, Middle, and Finish relative to the mother or father component.

dropdown alignment

The Dropdown Offset additionally helps Divi 5’s Complicated Gadgets, providing you with exact keep watch over over the spacing between the cause and the dropdown content material.

dropdown offset

After all, you’ll make a choice how the dropdown behaves within the format. A Floating dropdown overlays the web page content material, whilst an Inline dropdown pushes surrounding content material down when opened.

dropdown position

For the reason that Dropdown module is a local container, you aren’t restricted to hyperlinks on my own. You’ll position Rows, Columns, Pictures, Buttons, Touch Paperwork, and even Video modules within it.

Working out Menu Loops

The Loop Builder is one among Divi 5’s maximum tough options. It lets you design a repeatable template merchandise and inform Divi to output that design for each merchandise in a particular information supply. On this case, that information supply is a WordPress menu.

Key Options

Inside the loop settings, you’ll make a choice Menu because the question sort. It is a specialised loop supply for navigation.

menu loops in Divi 5

As soon as the Menu supply is chosen, Divi seems to be on the WordPress menu you’ve selected and repeats your related design for each and every merchandise in that menu.

This will give you the most productive of each approaches. You get the design flexibility of Divi modules, however you’ll nonetheless arrange menu pieces centrally in WordPress. In the event you upload or take away an merchandise later, your customized Divi 5 menu can replace with out rebuilding the format.

The use of Menu Loops additionally improves consistency. Fairly than styling each and every menu merchandise one by one, you’ll design the trend as soon as and let Divi repeat it.

New Options In Interactions

In Divi 5, the Interactions tab within the Complicated tab is the keep watch over middle for triggers and results. Interactions have been launched all the way through the beta, and more moderen additions come with selector-based focused on plus breakpoint-based triggers comparable to Breakpoint Input and Breakpoint Go out.

Selector-Primarily based Concentrated on

There are a number of helpful focused on choices past deciding on solely a person module:

  • Father or mother objectives the containing component of the cause module. This comes in handy when a kid component must keep watch over one thing upper within the construction.
  • Root Container objectives the top-level component within the present element hierarchy.
  • Kid objectives kid parts throughout the cause container, permitting one cause to have an effect on a couple of pieces immediately.

In observe, those paintings along with triggers comparable to hover, click on, viewport access, and breakpoint adjustments, plus results comparable to appearing, hiding, or reworking parts. In Divi 5, the Dropdown module already ties its visibility to its mother or father cause, however Interactions permit you to prolong that conduct additional, comparable to final an off-canvas menu by the use of a kid icon that objectives the mother or father or appearing a cellular menu solely at sure breakpoints.

How To Create A Desktop And Cellular Menu

To turn how those options paintings in combination, we’ll construct a easy responsive menu the usage of the Hyperlink and Dropdown modules, Menu Loops, and Interactions. By way of the top, you’ll have a desktop menu and a cellular menu that may be proven and hidden with out third-party plugins or customized CSS.

Responsive menu with Divi 5

Get started via growing a brand new International Header within the Theme Builder.

create a global header in Divi 5

When the Visible Builder lots, click on the inexperienced + icon so as to add a brand new Row.

new menu features in Divi 5

Make a choice a single-column Flex Row.

new menu features in Divi 5

Sooner than including modules to the Row, regulate the Flex settings. Within the Design tab, enlarge the Structure settings on the Column point. Set Structure Course to Row, Justify Content material to Area Between, and Align Pieces to Middle. This puts the modules aspect via aspect and vertically facilities them throughout the container.

column flex settings

Now click on into the Segment, pass to the Design tab, enlarge the Spacing settings, and assign 15px of padding to the tip and backside.

new menu features in Divi 5

Create The Best-Line Navigation

With the Segment and Row in a position, get started via including an Symbol module on your brand. Within the Design tab, open the Sizing settings and set the Width to 7%.

adjusting image width in Divi 5

Use the Responsive Editor to outline other widths for smaller monitors. Turn on it via soaring over the sphere and clicking the Edit Responsive Values icon.

responsive editing in Divi 5

Click on each and every breakpoint within the Responsive Editor to assign the right price.

responsive editing in Divi 5

Subsequent, upload a Module Crew to carry the desktop model of your navigation hyperlinks.

Divi 5 module groups

Be sure that the Crew’s Structure Course is about to Row in its Structure settings.

editing module groups

Now upload a Hyperlink module throughout the Crew.

link module in Divi 5

Within the Hyperlink module’s Content material tab, input the Textual content price.

editing link module

Then upload the vacation spot. Enlarge the Hyperlink settings and hover over the Hyperlink URL box to expose the Insert Dynamic Content material icon.

dynamic content in Divi 5

Make a selection Web page Hyperlink from the to be had choices.

Divi 5 link module

Use the dropdown to choose the web page you’d just like the hyperlink to indicate to, then click on Observe.

From there, transfer to the Design tab to taste your hyperlink. Use hover and responsive controls as wanted for colour and spacing.

Replica the Hyperlink module so as to add the remainder of the hyperlinks to your menu, and replace the textual content and vacation spot for each and every one.

You’ll additionally upload a Button and an Icon module. Taste them on the other hand you favor. The Icon module will act because the cause for launching the cellular menu within the subsequent phase.

new menu features in Divi 5

Create The Dropdown Menu

Now that the top-level navigation is in position, create a dropdown menu for one of the crucial hyperlinks. Click on the Hyperlink module you need to glue it to. Within the Content material tab, open the Parts settings and click on + Upload Component.

new menu features in Divi 5

When the Insert Module Or Row conversation seems, make a choice a Dropdown module.

dropdown module in Divi 5

Upload Hyperlink modules throughout the Dropdown via clicking + Upload Component within the Parts settings of the Dropdown module.

dropdown module in Divi 5

For added visible readability, you’ll upload icons to these Hyperlink modules.

link module icon options

Upload as many hyperlinks as you wish to have, then taste the Dropdown module’s background and format settings to check the remainder of your navigation.

Within the Design tab, open the Dropdown settings. For this case, stay the defaults and set Dropdown Alignment to Middle.

dropdown module alignment in Divi 5

As soon as completed, save the template.

Create The Cellular Menu

Subsequent, create the cellular menu. We’ll use a brand new Canvas to deal with it. Click on the Canvas Grid View button within the builder’s height bar.

canvas grid view

When the Canvas window opens, click on + Upload Canvas.

Divi 5 canvases

Give the Canvas a reputation comparable to Cellular Menu and assign a prime Z-Index, comparable to 999999, so it may take a seat above the remainder of the web page content material. Click on Upload Canvas to open it within the builder.

Divi 5 canvases

Upload a single-column Row to the Canvas, choose the Column, and open the Structure settings within the Design tab. Set the Vertical Hole to 15px.

Upload Modules To The Cellular Menu

Now upload the modules for the cellular menu. Upload an Icon module for final the menu, adopted via a Hyperlink module and a Button module. Taste them as wanted.

As a substitute of including a couple of hyperlinks manually, use the Loop Builder to create a menu loop for the remainder of the menu. Click on the Hyperlink module and open the Loop settings within the Content material tab. Permit looping or position the Hyperlink module throughout the menu loop construction used to your format.

Loop Builder in Divi 5

Within the Question Kind dropdown, choose Menu and make a choice the menu you need to make use of.

Then be certain the hyperlink textual content is populated robotically. Open the Textual content settings within the Content material tab, hover over the Textual content box to expose the Insert Dynamic Content material icon, and choose Loop Menu Textual content.

For the hyperlink vacation spot, additionally use dynamic content material for the URL so each and every looped merchandise issues to the proper menu goal.

Configure Interactions

To release the cellular model of the menu and shut it once more, configure Interactions for the shut Icon, the cellular menu canvas content material, and the hamburger Icon in the principle header.

Whilst throughout the Cellular Menu Canvas, choose the shut Icon module. Pass to the Complicated tab, open the Interactions settings, and click on + Upload Interplay.

Divi 5 interactions

Make a selection Click on because the cause.

creating a click interaction in Divi 5

When the interplay editor opens, give the interplay an Admin Label comparable to Cover Menu, make a choice Cover Component because the Impact Motion, and set the Goal Module to Root Container. This closes the cellular menu when the person clicks the shut icon.

mobile menu interaction

Now conceal the cellular menu via default so it doesn’t seem till precipitated. Within the Visibility settings for the cellular menu content material, disable its visibility via default, then use Interactions to turn it when wanted.

visibility settings in Divi 5

Save the Canvas. Sooner than heading again to the Primary Canvas, use Divi 5’s Customizable Responsive Breakpoints to fine-tune the cellular format if wanted.

Click on Canvas Grid View and turn again to the Primary Canvas.

Configure The Primary Canvas Interactions

At the Primary Canvas, configure the desktop and cellular visibility conduct. Get started via deciding on the Crew that comprises the desktop Hyperlink modules. Within the Complicated tab, open Interactions and upload a brand new interplay. Give it an Admin Label comparable to Cover On Pill And Under, set the Cause Tournament to Breakpoint Input, make a choice the related breakpoint, set the Impact Motion to Cover Component, and goal the Crew.

creating interactions on module groups

Repeat that way for every other desktop-only parts, such because the Button module.

hide mobile interactions

For customers resizing their browser home windows, it’s a good suggestion so as to add every other interplay for the desktop-only parts to expose those parts because the browser window will increase in length. As an example, when resizing from smaller to greater breakpoints, the menu presentations the cellular model as an alternative of the Desktop model.

To right kind this, we’ll create Interactions to revive the Desktop Menu because the browser resizes. Create an Interplay for the Crew and Button the usage of Breakpoint Input because the Cause Tournament, Breakpoint set to Desktop, Display Component because the Impact Motion, and opting for the right Goal Module.

desktop only Interactions

Now choose the hamburger Icon module. Within the Complicated tab, open the Visibility settings and conceal it via default.

creating an interaction on an Icon module

Then create two interactions: one to display the Icon when coming into the pill breakpoint and every other to display the cellular menu on click on. For the primary, use Breakpoint Input with the specified breakpoint, Display Component because the impact, and the hamburger Icon as the objective.

creative reveal interactions in Divi 5

For the second one, create a Click on interplay with Display Component because the impact. Set the objective to the cellular menu phase within the Cellular Menu Canvas.

creating mobile menus with Divi 5 interactions

Save the template and preview the menu at the entrance finish. Resize the browser to substantiate that the desktop hyperlinks are hidden at smaller breakpoints, the hamburger icon seems, and the cellular menu opens and closes as it should be.

Guidelines And Absolute best Practices

Development a fancy navigation machine is solely part the activity. Keeping up it’s the different part. To get probably the most out of Divi 5’s menu options, stay your menus arranged, responsive, and simple to replace.

Use Layer View And Admin Labels

As a result of customized menus frequently contain Hyperlinks, Dropdowns, Teams, and Nested Modules, the canvas can get crowded temporarily. Use Admin Labels constantly and depend on Layer View to stay the construction simple to regulate.

Use Responsive Enhancing Early

A navigation format that appears nice on a big observe can damage down temporarily on a smaller instrument. Use Divi 5’s Customizable Responsive Breakpoints and the Responsive Editor early within the procedure moderately than ready till the top.

Use Variable Supervisor For Design Consistency

Sooner than styling your Hyperlink and Dropdown modules closely, open the Variable Supervisor.

Variable Manager in Divi 5

Outline your logo colours, fonts, spacing, and different reusable values as Design Variables. That means, in case your design machine adjustments later, you’ll replace it from one position as an alternative of modifying many particular person modules.

Use Presets To Scale back Repetitive Styling

If you end up making use of the similar padding, shadows, border radius, or spacing time and again, use Possibility Crew Presets. They permit you to save a reusable team of settings and practice it throughout other module varieties.

Option Group Presets in Divi 5

You’ll take this additional via the usage of an Possibility Crew Preset within an Component Preset. As an example, it’s possible you’ll create a Number one Button preset that features a reusable spacing preset. If that spacing adjustments later, updating the underlying preset can replace each module that depends upon it.

Plan For Accessibility

Since you’re development menus from modular items, bear in mind to test the general output, now not simply the visible design. Be certain that hyperlinks stay transparent, hover-only behaviors have touch-friendly choices the place wanted, and cellular menu triggers are simple to spot and perform.

Obtain The Information

In the event you’d like to look those options in motion, obtain the running information from this put up. To make use of them, import them into the Divi Library, create a brand new International Header Template within the Theme Builder, and cargo the sections into the builder.

.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !essential; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:earlier than { border-top-color: #ffffff !essential; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:earlier than, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:earlier than { border-top-color: clear !essential; border-left-color: #ffffff !essential; }
@media solely display and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:earlier than { border-top-color: #ffffff !essential; border-left-color: clear !essential; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !essential; border-left-color: clear !essential; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { colour: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:earlier than { background: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !essential } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 sturdy { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p sturdy, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape enter, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !essential;}

Download For Free

Obtain For Unfastened

Sign up for the Divi Publication and we will be able to electronic mail you a duplicate of without equal Divi Touchdown Web page Structure Pack, plus heaps of different wonderful and unfastened Divi sources, pointers and tips. Practice alongside and you’re going to be a Divi grasp very quickly. If you’re already subscribed merely sort to your electronic mail cope with beneath and click on obtain to get admission to the format pack.

You could have effectively subscribed. Please test your electronic mail cope with to substantiate your subscription and get get admission to to unfastened weekly Divi format packs!

Construct Customized Menus In Divi 5 These days!

The new menu options in Divi 5 permit you to mix the Hyperlink and Dropdown modules with Menu Loops and Interactions to construct customized menus without delay throughout the Visible Builder. Whether or not you’re development a easy header, a cellular overlay, or a extra complex mega menu, those gear come up with way more flexibility than the vintage all-in-one way.

Check out them on a staging web site or in a brand new header template and experiment with the mixtures. Get started easy, then layer in loops, dropdowns, canvases, and interactions as wanted. That’s the quickest technique to get pleased with Divi 5’s new strategy to navigation.

The put up The whole thing You Want To Know About Divi 5’s New Menu Options gave the impression first on Chic Issues Weblog.

WordPress Web Design

[ continue ]