Skip to content

How to Create an Off Canvas Mobile Menu in WordPress?

Key Takeaways

  • Nexter Blocks Navigation Menu block adds an off canvas mobile menu in WordPress that slides in and out on mobile devices.
  • Responsive Mobile Menu toggle sets the breakpoint with Open Mobile Menu (Screen Width), and the Mobile Menu dropdown offers Standard for a registered WordPress menu or Custom for a custom navigation layout.
  • Off Canvas menu settings include Show Template for pattern content, Custom Width for panel size, Toggle Style for the hamburger button, Toggle Alignment, and Navigation Alignment inside the panel.
Table of Contents

Do you want to add an off canvas menu for mobile visitors? An off canvas mobile menu slides in from the side of the screen when visitors tap the toggle button, giving them full navigation access without taking up space on mobile displays.

The Navigation Menu block in Nexter Blocks lets you add an off canvas mobile menu in WordPress that slides in and out on mobile devices.

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

Requirement  – This block is a part of Nexter Blocks. Make sure it is installed and activated to enjoy all its powers.

To do this, 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. From the Navigation Bar tab, select the appropriate Type, Layout, and menu.

2. Go to the Mobile Menu tab and enable the Responsive Mobile Menu toggle.

In the Open Mobile Menu (Screen Width) section, specify the minimum screen width at which the mobile menu should activate. Use this to set the breakpoint where the desktop menu switches to the mobile off canvas version.

3. If you have selected Manual Menu in the Navigation Bar, you will see two options in the Mobile Menu dropdown:

  • Standard – For using a WordPress menu as the mobile menu.
  • Custom – For using your custom menu as the mobile menu.

Select Standard to use a registered WordPress menu, or Custom if you have built a custom navigation layout.

Note: If you have selected WordPress Menu in the Navigation Bar, then you will only get the Standard option in the Mobile Menu section.

4. Select your menu from the Select Menu dropdown.

Note: For the Custom option you will not get this option, as your custom menu will serve as the mobile menu.

5. From the Menu Type dropdown, select Off Canvas.

Enable the Show Template toggle to use a pattern as the off canvas menu content. Use this when you want to display a custom layout inside the off canvas panel, such as a logo, links, and social icons.

Set the popup width from the Custom Width section. Use this when you need to control how much of the screen the off canvas panel covers.

From the Toggle Style dropdown, select the style for the hamburger or toggle button that opens the menu.

From the Toggle Alignment section, align the toggle button to the left, center, or right of its container.

From the Navigation Alignment section, align the menu items inside the off canvas panel.

Visitors will now see the off canvas menu slide in when they tap the toggle button on mobile.

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

Why isn’t the off canvas mobile menu showing on my site?

The usual miss is that the Navigation Menu block has to be added to the header template, and the Responsive Mobile Menu toggle has to be enabled in the Mobile Menu tab. Nexter Blocks powers this setup, so if the block is not installed and activated, the mobile panel will not appear. The breakpoint also matters because the menu only switches when the screen width reaches the value set in Open Mobile Menu (Screen Width).

What do I need before creating an off canvas mobile menu in WordPress?

Nexter Blocks needs to be installed and activated because the Navigation Menu block is part of it. The menu also has to live inside a header template, and Nexter Builder can be used to create that header template. That setup matters because the off canvas behavior is tied to the header navigation, not a standalone page element.

Can I use a custom menu instead of a WordPress menu for the mobile off canvas panel?

The Navigation Menu block supports both Standard and Custom in the Mobile Menu dropdown when Manual Menu is selected in the Navigation Bar. Standard uses a registered WordPress menu, while Custom uses your own navigation layout as the mobile menu. If WordPress Menu is selected in the Navigation Bar, only Standard is available, so that choice limits how you build the mobile version.

What is Show Template used for in an off canvas mobile menu?

Show Template lets you use a pattern as the off canvas menu content, which is useful when you want more than just links inside the panel. The page specifically calls out layouts like a logo, links, and social icons. That makes it a better fit when the mobile menu needs extra branding or secondary actions instead of a plain list.

What settings matter most for making an off canvas mobile menu usable?

The key controls are Custom Width, Toggle Style, Toggle Alignment, and Navigation Alignment. Custom Width decides how much of the screen the panel covers, which affects how much content stays visible behind it. Toggle Alignment places the hamburger button left, center, or right in its container, while Navigation Alignment controls how items sit inside the panel.

Last reviewed: September 7, 2026

Related Docs