Home / Fix guides / Mobile and usability

Dropdown menu not working on mobile touch: why it happens and how to fix it

Many dropdown menus only open when a mouse pointer hovers over them, and a finger cannot hover. The fix is to make the menu open on tap, using a menu setting, a theme option or a small code change.

If your website menu has submenus, you may have seen this on a phone or tablet: you tap "Services" and nothing opens, or the page jumps straight to the Services page and you never see the list underneath. On a desktop computer the same menu works fine. The cause is simple. The menu was built to open when a mouse hovers over it, and a touch screen has no hover.

What people see

The symptoms vary by phone and browser, which is why this problem is easy to miss:

  • Tapping the menu item does nothing, and the submenu never appears.
  • Tapping opens the submenu for a moment, then the page loads the parent link and the submenu disappears.
  • The first tap opens the submenu and the second tap follows the link. Some visitors work this out, many do not.
  • The submenu opens but cannot be closed, or it stays stuck open over the content.
  • The submenu works on one device (for example an iPhone) but not on another (for example an Android tablet).

Touch browsers try to imitate hover when you tap an item that has a hover effect. Whether that rescues your menu depends on how it was built, so results are inconsistent.

Why it matters

The menu is how visitors find your pages. If the submenu is out of reach, people cannot get to your services, prices, shop categories or contact page. They leave, and you never see it in your sales numbers as an error, just as fewer enquiries.

There is also a search angle. Google mostly looks at the mobile version of a page. Links that are present in the page code are generally still found, but a menu that real visitors cannot use is a poor mobile experience, and that is what you are trying to avoid. If your submenu links only appear after a script runs on hover, search engines may not see them at all.

Finally, trust. A menu that fights the visitor feels broken, even when the rest of the site is fine.

How to check your site for free

The most reliable check is a real phone. Do it on at least one iPhone or iPad and one Android device if you can.

  1. Open your site in the phone browser, not in a social media app.
  2. Tap each top level menu item that has a submenu.
  3. Note whether the submenu opens, whether you can tap a link inside it, and whether you can close it again.
  4. Repeat in portrait and landscape, because many themes switch menu style at a certain screen width.

If you only have a computer, open the site in Chrome, press F12 to open the developer tools, and use the device toolbar (the phone and tablet icon) to switch to a mobile size. This simulates touch reasonably well, but it is not perfect, so treat a pass as encouraging rather than final.

Also try the keyboard: press Tab to move through the menu. If the submenu cannot be reached without a mouse, the menu has the same underlying flaw, and it affects people who cannot use a mouse or a touch screen.

How to fix it in general

The goal is for a tap, not a hover, to open the submenu. There are three routes, from easiest to most technical.

1. Change a setting. Most themes and page builders have a menu option for how submenus open. Look for wording such as "submenu trigger", "open on click", "open on tap" or "dropdown behavior" in the theme settings, the menu or header editor, or the navigation block. Choose click or tap instead of hover.

2. Switch to the mobile menu earlier. If the desktop menu is the one failing on tablets, set the breakpoint (the screen width where the menu turns into a hamburger icon) higher, so tablets get the mobile menu. If your hamburger menu has its own problems, see hamburger menu not working.

3. Change the code. If your developer maintains the menu, the usual pattern is:

  • Give each parent item a real button (or a small arrow button next to the link) that opens and closes the submenu on click or tap.
  • Update aria-expanded to true or false when it opens or closes, so screen readers know the state.
  • Keep hover styling only for devices that have hover, using the CSS media query @media (hover: hover).
  • Make sure the parent link itself still leads somewhere sensible, or let the arrow do the opening and the text do the navigating.

A sketch of the CSS idea:

@media (hover: hover) {
  .menu-item:hover > .submenu { display: block; }
}
.menu-item.open > .submenu { display: block; }

The open class is added by a small script when the visitor taps the button. Exact class names depend on your theme.

Common platforms

Where the setting lives depends on your platform, theme and version, so use these as pointers.

  • WordPress: often under Appearance, then Customize or Menus, or in the theme's own options. Block themes use the Navigation block in the Site Editor. See the WordPress guide.
  • Elementor and WooCommerce: the Nav Menu widget usually has a submenu trigger option (hover or click), depending on your Elementor version. WooCommerce shops usually rely on the theme's menu.
  • Shopify: the theme controls the header. Check the theme editor's header section for dropdown options, and if there are none, a theme update or a developer edit is the route.
  • Wix and Squarespace: these builders handle touch behavior themselves in most cases. Check the menu or header settings, and if a custom code block was added, look there first.
  • Webflow: the Dropdown element can open on tap, but a custom hover interaction on a link or div will not. Check the interactions panel.

If a plugin or custom script builds your menu, try disabling it temporarily on a test copy of the site to see if the problem goes away.

How to confirm the fix worked

Repeat the phone test from above, after clearing the browser cache or using a private tab, because old files are often cached. Check that every submenu opens on one tap, that links inside work, that a second tap or a tap elsewhere closes it, and that the menu works in both orientations. Test the keyboard too. Also check that the submenu does not cover the content with no way out, and that tap targets are large enough to hit (see tap targets too small).

How to stop it coming back

  • Test the menu on a real phone after every theme update, plugin update or redesign.
  • When you hire a designer, ask for a menu that works on touch first, not a hover menu patched afterwards.
  • Keep submenus short. Deep, nested menus are hard to use with a finger on any setup.
  • Avoid adding extra menu scripts or plugins for visual effects.
  • Use a regular check. SiteMonday's week 5 mobile usability test looks at how your site behaves on mobile and reports what it finds in a ranked fix list, but fixing the menu is still up to you or your developer.

Step by step for your platform

Questions

Why does my dropdown menu work on desktop but not on my phone?

The menu most likely opens on hover, and touch screens have no hover. Phones try to imitate it on the first tap, but the result varies by device and browser.

Why do I have to tap twice to open a link in my menu?

The first tap triggers the imitated hover and opens the submenu, and the second tap follows the link. Setting the submenu to open on click or tap usually removes this.

Do I need a developer to fix this?

Not always. Many themes and page builders have a setting to open submenus on click or tap. If yours does not, a developer can add a small script and a CSS change.

Will a broken dropdown menu hurt my Google ranking?

It is not a direct penalty, but Google mainly uses the mobile version of your site, and visitors who cannot reach your pages will leave. Links that exist in the page code are generally still found.

Is the Chrome mobile preview good enough to test with?

It is a useful first check, but it only simulates touch. Always confirm on at least one real phone, ideally an iPhone and an Android device.

Should I use a hamburger menu instead of dropdowns?

On small screens a hamburger menu with tap to expand sections is the common solution, and most themes switch to one automatically. Just make sure the switch happens early enough that tablets get it too.

Related problems