Skip to main content

Style a Mega Menu

Overview

Style the contents of the panel in the Visual Builder. Style how the panel opens (position, delays, triangle, close icon, badges) on the mega menu under Mega Menu Settings.

Site-wide header, Ajax Loaded, and mobile options are in Settings.

Visual Builder

Open the mega menu with Edit with Divi and style sections, rows, and modules as on any Divi layout. Module-specific options are in Modules.

Style — Basics

SettingWhat it does
Menu PositionDefault Menu (under the nav item) or Tooltip.
Tooltip Position DirectionTop or bottom when position is Tooltip.
Menu ActivateHover or click.
Entrance Menu AnimationFade Bottom, Fade Left, Fade Right, Slide Down, Fade In, Flip In X, Flip In Y.
Animation DurationLength of the entrance animation (seconds).
Full WidthStretch the panel to the viewport width.
Custom WidthWidth in pixels when Full Width is off.
Disable On MobileHide this mega menu on mobile (overrides showing it below the site breakpoint).

Style — Menu Badge

SettingWhat it does
Show BadgeSmall label on the assigned menu item (for example Sale or New).
Badge TextLabel text.
Badge Background / Badge Text ColorColors.
Badge Font SizeSize in pixels.
Badge PositionAfter title, top right, or top left.
Badge Corner RadiusCorner rounding in pixels.

You can also set a simpler badge on Appearance → Menus for that item.

Style — Advanced position

SettingWhat it does
Open Hover Delay TimeDelay before the panel appears (ms).
Close Hover Delay TimeDelay before it hides (ms).
Close on ScrollClose the panel when the page scrolls.
Menu Relative PositionOpen under the parent item (on by default).
Adjust From Left / Adjust From TopExtra offset in pixels.
Change top position on scroll?Different top offset after scroll.
Adjust From Top MobileTop offset on mobile (px).

Triangle

SettingWhat it does
Triangle Above MenuShow a pointer above the panel or on the menu link.
Triangle LocationOn Mega Menu or On Menu Link.
Triangle stylePresets such as diamond, caret, rounded, wide, or arrow.
Turn Into UnderlineUnderline the menu link instead of a triangle (location must be On Menu Link). See Underline Active Menu Item.
Triangle ColorColor of the triangle or underline.
Triangle/Underline HeightHeight in pixels.
Distance From Top / Distance Left/RightPosition offsets. Left/Right does not apply to underline mode.

Close Icon

SettingWhat it does
Show Close IconShow a close control on the panel.
IconIcon picker, plus optional custom Elegant Icons code.
Close Icon Color / Font SizeAppearance.
Distance From Top / Distance From RightPosition on the panel.

Save the mega menu after you change these options.

Divi 4

The same groups exist on Divi 4 mega menu posts. Icon fields may use Elegant Icons codes instead of the Divi 5 icon picker. Badges and Global Canvas are documented for the current plugin UI.

What's Next