How to create a submenu and check it on mobile
Place child items under their parent menu item, then test the submenu’s actual touch controls. A desktop hover preview does not show whether visitors can open the same submenu on a phone.
Before you start
Section titled “Before you start”Identify the menu used on mobile. Your theme may use a separate mobile location or header. First fix any missing menu assignment.
Check whether the selected location supports submenus. Some secondary or footer menus support only top-level items. The controls also differ between WordPress’s Navigation block and theme or builder navigation elements.
Build the hierarchy
Section titled “Build the hierarchy”- Classic theme: in Appearance → Menus, place the child item immediately beneath its parent and indent it to the right. Save the menu.
- Block theme: edit the relevant Navigation block and add or move the item into a submenu beneath its parent. Save the changes.
- Review the submenu visibility control if your Navigation block provides it. A click-based option can help when hovering is unsuitable, but use the setting available in your WordPress version.
- For a theme or builder mobile menu, consult its own navigation controls instead of assuming the Navigation block’s settings apply.
Avoid replacing a parent’s URL with # as a universal fix. That can change the parent’s destination without addressing the menu’s intended opening control.
Check the result
Section titled “Check the result”On a real phone, open the main menu, open the submenu, and follow a child link. If the parent is also a destination, check how visitors reach it. Repeat with keyboard navigation on desktop and confirm that the opening control can receive focus.
If tapping the parent immediately navigates away, inspect the theme’s separate arrow/toggle behavior. If correct changes remain invisible, check cached output before rebuilding the menu.