Skip to main content

Mega Menus in Salient

A mega menu replaces a menu item's ordinary dropdown with a full width panel. In Salient you build one from the Salient menu item options on the top level menu item, and there are two ways to do it.

Two ways to build a mega menu​

Global SectionNested menu items
You design it inThe page builder, with every element availableThe WordPress menu editor
Best forAnything with real layout: images, buttons, columns of mixed contentStraightforward columns of links
Editing laterEdit the Global Section like any other pageDrag menu items around
Setup effortBuild a section, then point one setting at itNest items and set a few options per item

The Global Section method is the current recommendation. It is the only one that lets you build the panel with the page builder rather than out of menu items, so anything you can design on a page you can put in a mega menu.

The nested method still works and is the faster route when all you need is columns of links.

Method 1: attach a Global Section​

  1. Build the panel as a Global Section. Create it in the page builder like any other layout. See Global Sections.
  2. Open the top level menu item in Appearance > Menus and click Salient menu item options.
  3. On the Mega Menu tab, switch on Enable Mega Menu. The Global Section replaces the generated columns, but the mega menu itself still has to be on.
  4. Set Mega Menu Global Section to the section you built.

Two things worth knowing:

  • Mega Menu Global Section Mobile sets a separate section for the off canvas menu. It is not compatible with fullscreen menus.
  • Not available on Left Header. The Global Section method cannot be used when the header format is set to Left Header.

Any child menu items nested under the item are ignored once a Global Section is attached. The section is the whole panel.

Method 2: build it from nested menu items​

How Salient reads your menu structure​

Salient does not ask you to describe a mega menu's layout. It reads it from the nesting you already build in Appearance > Menus.

Nesting levelIn a normal dropdownIn a mega menu
Top levelThe item you hoverThe item you hover. This is the only level where Enable Mega Menu appears
Direct childA link in the dropdownA column. Its label becomes the column heading
Nested inside a childA link in a flyoutA link inside that column

That is the whole model. Add a third level and you get links inside columns; add a fourth and you get grouped headings within a column.

Start by nesting a few items under a top level item. In this example three items were dragged under Shop.

The WordPress menu editor with three menu items nested as children of a Shop menu item

The menu structure Three items nested under Shop.

The front end result: a standard single column dropdown under the Shop menu item

The result A standard dropdown, before any Salient options are touched.

Walkthrough: building the columns​

1. Turn it on​

Add a few more child items, then open the top level item (Shop) and switch on Enable Mega Menu.

Each direct child (blue below) becomes a column. Items nested inside them (yellow) become the links in that column.

The WordPress menu editor with direct children highlighted in blue as columns and their nested children highlighted in yellow as links

The menu structure Direct children in blue become columns; their children in yellow become links.

The front end result: a basic four column mega menu with a heading above each column

The result A working, if plain, mega menu.

2. Choose a heading layout​

The Disable Mega Menu Item Title option is what separates the three common layouts. It hides a column item's own label, which changes what the level below it becomes.

Several headings in one column​

Turn the option on for a direct child and it becomes a column with no heading of its own. Nest one more level (green below) and those items display their labels as headings above their own children.

The menu editor with a column item's title disabled and two heading groups nested inside it, highlighted in green

The menu structure The column's own title is hidden; the green items supply the headings.

The front end result: a mega menu column containing two separate headings, each with its own list of links

The result Two heading groups sharing one column.

No headings at all​

Use the same option on every column and the headings disappear entirely. No extra nesting level is needed, because there are no groups to label.

The menu editor with Disable Mega Menu Item Title switched on for every column item

The menu structure Every column item has its title disabled.

The front end result: a mega menu of plain link columns with no headings

The result Columns of links, no headings.

Worked example: a designed mega menu​

The layouts above are the structure. Everything else is the per-item styling options. Here is the same mega menu with icons, a featured image column and column backgrounds applied.

A designed mega menu with a featured image on the left, plain link columns in the middle and icon menu items on the right

The Shirts item​

Working left to right, the first column is the Shirts item, which carries a column background image and a wider column width.

The Shirts menu item highlighted in the WordPress menu editor

The Salient menu options modal for the Shirts item, showing its mega menu column settings

The full option set on the Shirts item. Click to view full size.

The blank column items​

The next two children keep every default except Disable Mega Menu Item Title, which turns them into plain holders for the links nested inside.

Two menu items in the editor acting as untitled columns for their nested links

The icon items​

The remaining items share one set of options with a different icon assigned to each.

The icon menu items highlighted in the WordPress menu editor

The icon selection option in the Salient menu options modal

The settings involved​

On the top level item​

Set these on the top level item, from the Mega Menu tab. They govern the panel as a whole.

SettingWhat it does
Enable Mega MenuTurns the dropdown into a mega menu, so direct children become columns
Mega Menu Global SectionUses a Global Section as the panel instead of generating it from menu items
Mega Menu Width and Mega Menu AlignmentControls the width of the whole panel and where it sits under the header

On the column items​

Set these on the child items that became columns, again from the Mega Menu tab.

SettingWhat it does
Disable Mega Menu Item TitleHides the column heading, leaving the item as a bare column
Mega Menu Column WidthSets how wide that column is
Mega Menu Column Background Color and Background ImageGives one column its own background

Video tutorial​

Recreating the mega menu from the main theme demo, start to finish.