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 Section | Nested menu items | |
|---|---|---|
| You design it in | The page builder, with every element available | The WordPress menu editor |
| Best for | Anything with real layout: images, buttons, columns of mixed content | Straightforward columns of links |
| Editing later | Edit the Global Section like any other page | Drag menu items around |
| Setup effort | Build a section, then point one setting at it | Nest 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
- Build the panel as a Global Section. Create it in the page builder like any other layout. See Global Sections.
- Open the top level menu item in Appearance > Menus and click Salient menu item options.
- 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.
- 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 level | In a normal dropdown | In a mega menu |
|---|---|---|
| Top level | The item you hover | The item you hover. This is the only level where Enable Mega Menu appears |
| Direct child | A link in the dropdown | A column. Its label becomes the column heading |
| Nested inside a child | A link in a flyout | A 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 menu structure Three items nested under Shop.

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 menu structure Direct children in blue become columns; their children in yellow become links.

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 structure The column's own title is hidden; the green items supply the headings.

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 structure Every column item has its title disabled.

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.

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 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.

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


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.
| Setting | What it does |
|---|---|
| Enable Mega Menu | Turns the dropdown into a mega menu, so direct children become columns |
| Mega Menu Global Section | Uses a Global Section as the panel instead of generating it from menu items |
| Mega Menu Width and Mega Menu Alignment | Controls 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.
| Setting | What it does |
|---|---|
| Disable Mega Menu Item Title | Hides the column heading, leaving the item as a bare column |
| Mega Menu Column Width | Sets how wide that column is |
| Mega Menu Column Background Color and Background Image | Gives one column its own background |
Video tutorial
Recreating the mega menu from the main theme demo, start to finish.