Skip to content

How to Create a Hamburger Mobile Menu with Pattern in WordPress?

Key Takeaways

  • Nexter Blocks Navigation Menu block uses a Pattern as the content source for an off canvas mobile menu in the WordPress block editor (Gutenberg).
  • Create Pattern starts in Appearance > Patterns > Add New Pattern, and the header template can be created with the free Nexter Builder.
  • Off Canvas mobile menus support a Show Template toggle, a Pattern dropdown, Custom Width, Toggle Style, Toggle Alignment, and Navigation Alignment for hamburger menus with contact info, CTAs, logos, or featured categories.
Table of Contents

Instead of a plain list of links, your mobile menu can show a designed panel with your logo, key links, contact details or an offer.

The Navigation Menu block in Nexter Blocks Pro shows any pattern inside its off canvas mobile menu.

For every Navigation Menu setting in one place, see the Navigation Menu block guide.

Before You Start

  • Edition: Pro — The off canvas pattern menu needs Nexter Blocks Pro.
  • Block to enable: Navigation Menu, switched on under Nexter > Blocks in your WordPress dashboard.
  • A pattern: build the panel under Nexter > Patterns.

Steps

  1. Go to Nexter > Patterns, create a pattern with your menu content and publish it.
  1. In the Navigation Menu block, open Mobile Menu, turn on Responsive Mobile Menu and choose Custom.
  1. Set Menu Type to Off Canvas, turn on Show Template and choose your pattern in Select Pattern.
Show Template on with a pattern chosen in Select Pattern
  1. Set Custom Width, Toggle Style and Toggle Alignment, then save.

How It Behaves

  • Tapping the hamburger slides in a panel with your pattern instead of the menu links.
  • Links inside the pattern work like any other link. Edit the pattern once and every menu using it updates.

Limitations

  • Pro only.
  • The pattern replaces the menu links in the panel. Add the links you need inside the pattern.

Troubleshooting

The panel shows my normal menu instead of the pattern

Turn on Show Template and choose a published pattern.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!