Skip to content

How to Create a Vertical Toggle Mega Menu in WordPress?

Key Takeaways

  • Nexter Blocks Navigation Menu block creates a vertical toggle mega menu in WordPress when the Type is set to Manual Menu and the Menu Layout is set to Vertical Toggle.
  • Toggle Open offers three behaviors for the menu opening: Normal, Hover, and Click.
  • Toggle Bar settings let the user change the title, add a URL link, and adjust the Prefix Icon and Toggle Icon.
Table of Contents

If you are looking to add a mega menu in a limited space adding a vertical toggle mega menu can be a good option. These menus not only save space but also provide a sleek and modern look to the overall design.

With the Navigation Menu block from the Nexter Blocks, you can easily create a vertical toggle mega menu in WordPress.

To check the complete feature overview documentation of the Nexter Blocks Navigation Menu block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

To do this first, you have to create the patterns/Patterns like the horizontal mega menu.

Then, add the Navigation Menu block to the header template and follow the steps –

Note: To create the header template, you can use the free Nexter Builder. 

1. Select Manual Menu from the Type section. 

2. Then select Vertical Toggle from the Menu Layout section.

3. Then add the top level menu item like in the horizontal mega menu (from step 3).

4. Once done add the sub menu or mega menu items like in the horizontal mega menu.

Then you can select the appropriate submenu hover event and effect.

By enabling the Toggle Bar toggle, you can add a toggle bar for the menu.

From the Toggle Open section, you can set the behavior of the toggle menu opening. Here, you’ll find three options – 

  • Normal – To always show the menu.
  • Hover – To show the menu on hover.
  • Click – To show the menu on click.

From the Title field, you can change the toggle bar title.

You can add a link for the toggle bar in the URL field.

From the Prefix Icon and Toggle Icon sections, you can change the toggle bar icons.

Now you’ll see a vertical toggle mega menu.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What do I need before building a vertical toggle mega menu in WordPress?

Nexter Blocks has to be installed and activated, because the Navigation Menu block is part of Nexter Blocks. The tutorial also assumes you already have the menu patterns set up, just like a horizontal mega menu, and that you’re adding the block into a header template. If you’re creating that header template from scratch, the page points to the free Nexter Builder as the way to do it.

Why would I use a vertical toggle mega menu instead of a regular horizontal mega menu?

A vertical toggle mega menu is useful when space is tight. The page calls out two practical benefits: it saves space and gives the header a cleaner, more modern look. That makes it a better fit when a wide horizontal menu would feel crowded or eat up too much room in the layout.

How do I make the menu open on hover instead of click?

The opening behavior is controlled from the Toggle Open section, which offers three modes: Normal, Hover, and Click. Hover is the right choice when you want the menu to appear without an extra tap or click, while Click is better when you want deliberate opening. That choice matters because it changes how quickly users can reach submenu content.

Can I use a vertical toggle mega menu in a WordPress header template?

The tutorial is built around adding the Navigation Menu block to a header template, so that’s the intended setup. Nexter Blocks provides the Navigation Menu block for this workflow, and Nexter Builder is mentioned as the free way to create the header template. That combination keeps the menu where users expect it: in the site header.

What should I change if my toggle bar text or icons don’t fit my design?

The toggle bar is customizable through three specific fields: Title, Prefix Icon, and Toggle Icon. The Title field changes the text shown on the bar, while the icon sections let you swap out both icons for something that matches your header style. If those details feel off, it usually means the toggle bar needs visual cleanup more than structural changes.

What’s the difference between Normal, Hover, and Click for the toggle menu?

Normal keeps the menu always visible, Hover opens it when someone moves over it, and Click opens it only after an explicit click. That distinction matters because it changes both space usage and interaction style. For compact headers, Hover or Click usually makes more sense than Normal since Normal behaves more like a permanently open menu.

Last reviewed: August 18, 2026

Related Docs