Introducing DiviMenus Flex
The Divimenus Flex module is included in the DiviMenus Divi extension. If you have already installed DiviMenus, you can skip this section and start using the module.
I have purchased through Elegant Themes Marketplace
Products purchased from The Divi Marketplace will work under your current Divi License, so no additional license is required. Just install your plugin, activate it and start using it!
The only difference between the “Divi Marketplace” version and the “DonDivi version” on our site is the License key.
Nothing to worry about!
I have purchased through DonDivi
If you have purchased this product at DonDivi, you will receive an email with the download link and your license key.
- Install the ZIP file into your website and Activate it.
- Introduce your License Key at DonDivi > Licenses and Activate it.
- Use the Check License button whenever you want to check the status of your License.
After installing this Divi extension, two new modules are added to the Divi Builder called DiviMenus and DiviMenus Flex.
You can think of them as two different approaches for creating the final menu-like design.
DiviMenus Flex uses CSS Flexbox and lets the browser to position the elements. This is the recommended menu builder for those who are used to work with Divi built-in modules.
DiviMenus, on the other hand, is the responsible for positioning the elements. This is the recommended menu builder for those who want to go one step further with absolute-positioned menus, such as circular ones or menus with titles near the menu items.
Please, choose the one that best fit your project. Whichever approach you use, you will be able to bring the coolest designs to Divi.
This is the documentation for the DiviMenus Flex module. The DiviMenus module documentation is available here.
1. Go to the Visual Builder and choose the DiviMenus Flex module from the Divi modules list.
2. Click “Add New Menu Item”. This way, a dummy Menu Item will be added next to the Menu Button.
3. That’s it! Start editing your DiviMenu template by using the module fields as described below!
The DiviMenus Flex module allows you to create* beautiful Divi designs using a menu-like builder in real time.
DiviMenus Flex is not just a menu module as the name suggests. Actually, you can use it to build a menu, but also to build grids, custom layouts, buttons inside images or videos, social sharing buttons, filter tools, content toggles or even to display popups and show elements. The possibilities are almost endless.
You can look at some pre-made layouts here.
DiviMenus Flex is fully responsive and compatible with the latest versions of Divi, the Visual Builder and the Theme Builder. Also, you can also take advantage of the coolest Divi features, such as the mobile options, the hover options, dynamic content for the destination links, etc.
* DiviMenus Flex is a powerful menu builder (i.e. you can use it to create new menus, not to render your WordPress menus). This module will allow you to create and customize new kinds of menus instead of only customizing existing WordPress menus as most menu modules do.
When you click a Menu Item, something occurs. You can define this behavior by selecting a Link Type option as shown in the screenshot below.
This option is the most commonly used as you probably will want the Menu Item to open a destination URL.
You can enter manually the URL. In case you want to enter a existing post, page, project or any WordPress post, you can take advantage of the Dynamic Content option that the plugin offers, as shown in the following screenshots.
Once the Dynamic Content is selected, we only have to choose the link we want to add. For this example we will select the Post link and a list with the existing posts will be displayed as shown below.
This is the recommended way of entering your website URLs. Please, use this option whenever possible and enter manually the link for custom and external URLs.
Enable Active State
You can turn on this toggle field if you want the Menu Item to become active when the introduced URL matches the current page URL. This is also useful when creating anchor links, as the Menu Item active state will change on page scroll.
This option allows you to show a popup rather than opening a destination URL.
You can pop up any layout saved in the Divi Library by selecting them from the Divi Layout select field.
Since a popup is a Divi layout being displayed over the page content, you can create your popup in the Visual Builder, and afterwards save it into the Divi Library.
Popups can be a either a Section, a Row or simply a Module.
In order to ensure the best popup experience, the popup will keep all the styles and animations even when they are clicked over and over as showing here or here (please, click on some menu item and close the popup several times).
You can use the Popup Alignment field to change the horizontal alignment. Default is center.
The popup will take up to 80% of the screen width. You can change this default value by going to the Design Tab -> Popup -> Popup Max Width (as of diviMenus 1.3). For example, if you want the popup to be full width, you have to change this field value to 100%.
DiviMenus will set automatically the width to the layout (Section / Row / Module) if necessary so that you don’t have to adjust anything in order to display the popup correctly.
Also, DiviMenus will restrict the width of the layout in order for the popup width to be smaller than the screen width on larger screen sizes. You can disable this limit behavior by going to the Design Tab -> Popup -> Limit Width on Large Screens.
Of course, you can go to the Divi Library and use the Divi Settings Modal to customize the popup size:
- Design Tab > Sizing > Max Width: This is the recommended way to reduce the popup size. For example, you may want your popup to be only 400px in desktop.
- Design Tab > Spacing > Margin & Padding: You may also want to change or remove the spacing around, especially in sections and rows layouts.
Note: The padding is part of the popup size, so we recommend that you use a background color in case your popup includes outer padding, in order to recognize all the popup parts.
All Popups have a space around by default which is required to close them (you can add them a close button as well). You will notice that the pointer becomes an X there.
The default overlay color is Black 40%: rgba(0,0,0, 0.4)
You can customize the Overlay in the Design Tab.
See also the Show Link Type documentation.
This option allows you to show an element rather than opening a destination URL.
This opens up a lot of possibilities related to visibility. Basically, you can design the elements of your page and decide which ones to show or hide when clicking or hovering a Menu Item.
For example, you can create buttons to show and hide elements, content toggles and visibility filters. You can also recreate menu sublevels, which are very convenient when it comes to menus! (remember that DiviMenus is not a module to render WordPress menus, it is a powerful tool that brings to Divi the coolest designs using a menu-like builder).
How to show and hide elements
Even though using this Link Type is pretty straightforward, we are going to guide you through all the steps so you can see how it works.
First, you have to select the Show option from the Link Type dropdown:
Element CSS ID
Type here the CSS ID of the element you want to associate with this item. You can bind any element of the current page to the Menu Item. Since DiviMenus 2.1, you can also bind multiple elements by typing their CSS IDs separated by commas.
Element CSS Class (since DiviMenus 2.1)
Type here the CSS Class of the element (or elements) you want to associate with this item. You can bind any CSS class to the Menu Item, as well as multiple CSS classes separated by commas.
Show On Hover
Here you can choose whether or not this Link Type should be triggered when hovering over the menu item. If enabled, the element will be displayed on Menu Item hover and click.
This is the expected behavior of the element when you click the Menu Item.
If the Toggle Visibility field is turned on, the element will become visible if it was hidden and the other way around.
If you turn off the Toggle Visibility field, you will show the element, no matter the previous visibility state.
Here you can define the expected behavior once the element has been shown. If you turn on this module field, the element will be visible even though you click on another Menu Item, otherwise the element will be invisible.
This option is useful to reproduce the different steps of a procedure.
Hide On Page Click
Here you can choose whether or not to hide the element by clicking outside.
Finally, you might want to set the element initial visibility state when page is loaded. By default is hidden.
This option allows you to show an element rather than opening a destination URL.
Unlike the Show Link Type, this will not show an element from the page that is not related to the Menu Item. Instead, it will show a Divi Layout that will be part of the Menu Item.
This is the preferred Link Type when it comes to show either sub elements, sub menus or dropdowns.
Sub Link type: The easiest way to create a sub-level (drop-down) menu in DiviMenus!
The behavior will depend on the DiviMenu orientation:
If the orientation is horizontal, the element will be displayed over the page elements on Menu Item Hover and will disappear when hovering out the element.
On the other hand, if the orientation is vertical, the element will be displayed inline (or relative to) the page elements on Menu Item Click and will keep visible.
These are the module fields to show sub elements.
Content > Link > Divi Layout
Here you can select Divi Layout from the Divi Library that you want to show as part of the Menu Item.
Content > Link > Sub Width
You should have set a width in the Divi layout, if not you can set the width here.
This field is responsive and we recommend that you use fixed units as pixels in horizontal DiviMenus.
Content > Link > Show Arrow
Here you can choose whether an arrow should be displayed on the top of the element and the distance between the arrow and the Menu Item.
Design > Sub> Alignment
Here you can choose the aligment of the element. Default is center.
Design > Sub> Arrow Color
Here you can set a custom color for the arrow. Default is #fff.
Menu Button TEXT
.dd-divimenu .dd-menu-button-content > .dd-text
Menu Item TEXT
.dd-divimenu .dd-menu-item-content > .dd-text
Active Menu Item
Active Menu Item TEXT
.dd-divimenu .dd-menu-item-content.active > .dd-text