Vertical Menu module

On this page

The Vertical Menu module shows a WordPress menu as a vertical list, for example in a sidebar. Submenus open as an accordion or a flyout, or the menu shows as a narrow icon rail. It can show badges, mark the current page and turn into an off-canvas panel on mobile. For more details, view the demo.

Vertical Menu opening its submenus as an accordion
Accordion layout with badges. The current page is highlighted.

Note: This module works with Divi 5 only. If you don’t see it in the module list, go to Divi Extended → Divi Plus → General → Modules, turn on Vertical Menu and save.

Before you start: create the menu#

The module shows a menu made in Appearance → Menus. Create the menu there and add the items. Drag an item to the right, under another item, to make it a submenu item.

To show a badge next to an item, such as New or -20%, open Screen Options at the top of the Menus page and turn on Description. Then type the badge text in the item’s Description field.

Description field of a menu item with the text New
Appearance → Menus: the Description text is shown as a badge.

How to add the module#

  1. Open your page in the Divi Visual Builder.
  2. Click the (+) icon inside a row to add a new module.
  3. Search for DP Vertical Menu in the module search box.
  4. Click the module to insert it. Its settings open on the right.
Adding the DP Vertical Menu module in the Divi Visual Builder
Search for DP Vertical Menu in the Insert Module window.

Content tab#

The Content tab chooses the menu and sets the layout, the mobile menu and the animations.

DP Vertical Menu Content tab
DP Vertical Menu: Content tab.

Content tab: Menu#

  • Menu: Here you can choose the WordPress menu to display. Menus are created under Appearance > Menus.
  • When no menu is selected: Here you can choose what is shown on the front end when no menu is selected or the menu has no items. Options: Hide the module and Show placeholder text.
  • Open current item branch: Here you can choose whether or not the submenus that lead to the current page are open when the page loads.
  • Show heading bar: Here you can choose whether or not a heading bar is displayed above the menu.
  • Heading text: Here you can input the text of the heading bar.
Vertical Menu Menu settings
Content tab: Menu.

Content tab: Display#

  • Layout: Here you can choose how the menu is laid out. List shows every level open, Flyout opens submenus to the side, Accordion expands submenus in place, and Icon Rail shows a narrow strip of icons that expands on hover or click. Options: List, Flyout, Accordion and Icon rail.
  • Menu side: Here you can choose the side the menu sits on. It sets the side flyouts open to and the side the mobile panel slides in from. Options: Left and Right.
  • Open submenus: Here you can choose whether opening a submenu closes the others, or several can stay open at once. Options: One at a time and Several at once.
  • Space between items: Move the slider or input the value to increase or decrease the space between menu items, at every level.
  • Show item separator: Here you can choose whether or not a line is displayed below each menu item, except the last one in each list.
  • Show description as badge: Here you can choose whether or not the Description of a menu item is displayed as a badge next to it. Add the badge text in the Description field of the item under Appearance > Menus (enable the field under Screen Options first). Items without a Description are not affected.
  • Show caret: Here you can choose whether or not a caret is displayed next to items that have a submenu. It is not used in the List layout, where every level is open.
Vertical Menu Display settings
Content tab: Display.
Vertical Menu in the List layout with every level open
Layout: List.
Vertical Menu Flyout layout opening submenus to the side
Layout: Flyout.
Vertical Menu Icon Rail layout
Layout: Icon rail. Each item shows its first letter.

Content tab: Mobile#

  • Mobile breakpoint: Move the slider or input the screen width below which the menu switches to its mobile version.
  • Mobile menu: Here you can choose how the menu appears on small screens. Off-canvas opens it in a panel from a toggle button, Accordion shows the menu in place as an accordion. Options: Off-canvas panel and Accordion.
  • Panel animation: Here you can choose how the off-canvas panel appears. Slide moves it in from the menu side, Overlay fades a full-width panel in. Options: Slide and Overlay.
  • Show backdrop: Here you can choose whether or not a dimmed backdrop is displayed behind the panel. Clicking it closes the panel.
  • Show close button: Here you can choose whether or not a close button is displayed in the panel.
  • Show toggle label: Here you can choose whether or not text is displayed next to the icon of the button that opens the panel.
  • Toggle label: Here you can input the text of the button that opens the panel.
Vertical Menu Mobile settings
Content tab: Mobile.
Vertical Menu opening as an off-canvas panel on a phone
Mobile menu: Off-canvas panel.

Content tab: Effects#

  • Submenu animation: Here you can choose how submenus appear. In the Accordion and Icon Rail layouts the submenu opens by height and its items use this animation. Options: Slide, Fade, Scale and Clip reveal.
  • Animation duration: Move the slider or input the value to increase or decrease how long the menu animations take.
  • Animation easing: Here you can choose the easing curve of the menu animations. Options: Ease and Linear.
  • Submenu item delay: Move the slider or input the value to set the delay between one submenu item appearing and the next. 0 shows them all at once.
  • Show entrance animation: Here you can choose whether or not the menu items fade in one after another when the module scrolls into view.
  • Show sliding indicator: Here you can choose whether or not an indicator slides to the item the mouse is over and rests on the current item.
  • Indicator style: Here you can choose the shape of the sliding indicator. A pill fills the item, a line is drawn along the edge of the menu. Options: Pill and Line.
  • Item hover effect: Here you can choose the effect of a menu item when the mouse is over it. Options: None, Nudge and Underline draw.
  • Caret hover effect: Here you can choose the effect of the open and close icon when the mouse is over the item. Options: None, Spin and Pop.
  • Current item animation: Here you can choose an animation for the item of the page being viewed. Accent Bar grows in along the edge of the item, Pulsing Dot keeps pulsing before it. Both use the text color of the current item. Options: None, Accent bar and Pulsing dot.
  • Badge animation: Here you can choose an animation that keeps playing on badges. Options: None, Pulse and Bounce.
  • Caret style: Here you can choose the icon shown next to items that have a submenu. Chevron and Plus And Minus change shape when the submenu is open, Custom Icons lets you pick one icon for the closed state and one for the open state. Options: Chevron, Plus and minus and Custom icons.
Vertical Menu Effects settings
Content tab: Effects.

The Link, Background and Meta groups are the standard Divi options.

Design tab#

The Design tab styles the menu box, heading bar, level 1 and level 2 items, the current item, separators, open items, hover effect, sliding indicator, submenu panel, badge, caret, mobile toggle button and off-canvas panel.

DP Vertical Menu Design tab
DP Vertical Menu: Design tab.

Design tab: Menu box#

  • Menu box background: Adjust the background style of this element by customizing the background color, gradient, image, video, pattern and mask.
  • Menu box background color
Vertical Menu Menu box settings
Design tab: Menu box.

Design tab: Heading bar#

Vertical Menu Heading bar settings
Design tab: Heading bar.

Design tab: Level 1 item#

Vertical Menu Level 1 item settings
Design tab: Level 1 item.

Design tab: Level 2 item#

Vertical Menu Level 2 item settings
Design tab: Level 2 item.

Design tab: Current item#

  • Text color: Here you can define the text color of the item for the page being viewed.
  • Background color: Here you can define the background color of the item for the page being viewed.
  • Animation accent size: Move the slider or input the value to set the width of the accent bar. The pulsing dot is twice this size.
Vertical Menu Current item settings
Design tab: Current item.

Design tab: Item separator#

  • Line color: Here you can define the color of the line below each item.
  • Line thickness: Move the slider or input the value to increase or decrease the thickness of the line.
Vertical Menu Item separator settings
Design tab: Item separator.

Design tab: Open and parent items#

  • Text color: Here you can define the text color of items whose submenu is open, and of the parents that lead to the page being viewed.
  • Background color: Here you can define the background color of items whose submenu is open, and of the parents that lead to the page being viewed.
Vertical Menu Open and parent items settings
Design tab: Open and parent items.

Design tab: Item hover effect#

  • Nudge distance: Move the slider or input the value to set how far the item moves on hover.
Vertical Menu Item hover effect settings
Design tab: Item hover effect.

Design tab: Sliding indicator#

  • Indicator color: Here you can define the color of the sliding indicator. A pill looks best with a light or transparent color, a line with a solid one.
Vertical Menu Sliding indicator settings
Design tab: Sliding indicator.

Design tab: Submenu panel#

Vertical Menu Submenu panel settings
Design tab: Submenu panel.

Design tab: Badge#

Vertical Menu Badge settings
Design tab: Badge.

Design tab: Caret#

  • Caret color: Here you can define the color of the caret icon.
  • Caret size: Move the slider or input the value to increase or decrease the size of the caret.
Vertical Menu Caret settings
Design tab: Caret.

Design tab: Mobile toggle button#

Use the standard Divi button settings (text, background, border, font, icon and spacing) to style the mobile toggle button.

Vertical Menu Mobile toggle button settings
Design tab: Mobile toggle button.

Design tab: Off-canvas panel#

  • Panel width: Move the slider or input the value to increase or decrease the width of the panel. It never grows wider than the screen.
  • Backdrop color: Here you can define the color of the backdrop behind the panel.
  • Close button color: Here you can define the color of the close button. It sits on the heading bar while the heading bar is on.
  • Close button size: Move the slider or input the value to increase or decrease the size of the close button.
Vertical Menu Off-canvas panel settings
Design tab: Off-canvas panel.

The Sizing, Spacing, Box shadow, Filters, Transform and Animation groups are the standard Divi design options.

Advanced tab#

The Advanced tab has the standard Divi options: CSS ID and classes, custom CSS, attributes, conditions, visibility, transitions, position and scroll effects.

DP Vertical Menu Advanced tab
DP Vertical Menu: Advanced tab.

Updated December 5, 2026

✕ Black Friday Popup Cyber Monday Popup