Menus

In WordPress, open Appearance → Menus to create a navigation menu, add its links, and assign it to Main Menu for desktop navigation. To show different links on smaller screens, assign another menu to Mobile Menu.

Assign the mobile menu

The mobile menu uses the first available source below:

  1. Mobile Menu, if a menu is assigned to that location.
  2. Main Menu, if no separate Mobile Menu is assigned.
  3. A list of published WordPress pages, if neither location has an assigned menu.

The mobile and desktop locations can use the same menu. If you want nested links, arrange items under their parent in the WordPress menu editor. Both mobile styles use the selected menu's structure; changing the mobile style does not change which links appear. Desktop dropdowns also support keyboard focus; see Navigation for their behavior.

Mobile menu styles

Open Appearance → Customize → General Options → Mobile Menu Style and select the presentation that suits your navigation.

OptionBehavior
Accordion PushThe default. Opens an offcanvas panel alongside a dark backdrop. A separate chevron button expands or collapses each submenu, while the parent item remains a normal clickable link. Opening a submenu closes other open submenus at the same menu level.
Overlay SimpleOpens a full-screen menu with a close button. Nested menu links are displayed directly without accordion toggles, so this style is better suited to a smaller navigation structure.

Accordion Push is generally more practical for larger menus because visitors can expand one section at a time. The style is separate from the desktop Inline Header or Stacked Header selection.

Opening and closing the menu

Use the mobile menu button in the header to open the selected style. Both styles prevent the page behind the open menu from scrolling, update the menu button's expanded state, and move keyboard focus into the opened menu. Press Escape to close either style; focus returns to the control that opened it.

In Accordion Push, use the header menu button again or tap the dark backdrop to close the panel. In Overlay Simple, use the dedicated close button. Submenu buttons in Accordion Push report their open or closed state to assistive technologies and respect the visitor's reduced-motion preference when expanding content.

Search in mobile menus

Both styles can show a WordPress search form inside the mobile menu. Under Appearance → Customize → General Options → Search Display, choose Desktop Icon + Mobile Menu Search or Mobile Menu Search Only to include it. Other options can show a mobile header search icon instead of a form within the menu. See Search for all available placements.

Call-to-action menus

HoverCraft also has six CTA menu locations for actions in the header, homepage hero, sidebar, and footer. Each location displays at most one top-level menu item. See Calls to Action for how to create and assign these menus, where they appear, and how they differ from buttons in page content.