On this page
What this issue is
A hover-only menu shows its sub-links only when a mouse pointer sits over it. It is usually built with the CSS :hover rule or JavaScript mouseenter and mouseover events. Touch screens have no pointer to rest on, so the menu may never open, may open and close at once, or may need an odd double tap.
- Ad clickVisitor lands on the page on a phone
- Tap menuSub-links need hover and never appear
- Reach service pageLink is out of reach
- Form or checkoutNever started
The visitor lands fine, but cannot open the menu that leads to the funnel.
Example: illustrative numbers showing how a menu that fails on touch can lower the share of mobile visitors reaching a key page.
Use a real phone and tablet
Open your site and tap every menu item that has sub-links. Do the links appear on the first tap, and do they stay open?
Try device mode in Chrome
Open DevTools, click the device toolbar icon and pick a phone or tablet. This simulates touch, but real devices are still more reliable, especially iPads.
Look for hover rules in your CSS
Search your theme or stylesheet for
:hoverrules that changedisplay,visibilityoropacityon a submenu.Check for mouse-only scripts
Search your JavaScript for
mouseenter,mouseoverandmouseleavehandlers that open menus with no click or touch equivalent.Test large tablets and touch laptops
Some of them report a hover-capable pointer, so a menu may behave differently from a phone.
The visitor taps the menu, but the sub-links stay hidden.
Check the theme or menu plugin settings
Many themes and mega menu plugins have an option such as submenu trigger: hover or click. Choose click (or hover on desktop and click on mobile).
Update the theme and plugins
Touch handling bugs are often fixed in newer versions. Update on a staging copy first.
Use the mobile menu
Make sure the mobile menu breakpoint covers tablets, so they get the tap-friendly layout.
Open the theme editor
Go to Online Store > Themes > Customize and check the header settings for dropdown or mega menu behaviour.
Update or switch theme
If the theme only supports hover, update it or ask the developer to add click toggles in the header section.
Check apps
Mega menu apps may add their own hover scripts. Look in the app settings for a click or tap option.
Use the Dropdown element
The native Dropdown component supports tap on touch devices. Custom hover interactions on a div do not.
Replace hover interactions
In Interactions, change Mouse hover triggers on menus to Click, or add a Tablet and Mobile trigger.
Test in preview
Check the Tablet and Mobile breakpoints, then publish and test on a real device.
Use a standard menu element
In the Wix Editor, select the menu and check its submenu settings. Standard menus handle touch.
Check hover boxes
If you built your own hover box or overlay with a CTA, move the CTA out into visible content.
Preview mobile
Switch to the mobile editor and test the published page on a phone.
Check folder navigation
Folders in the main navigation open on tap on mobile. If you use custom code to alter this, test it carefully.
Remove hover-only custom code
Look in Website > Pages > Custom CSS and Code Injection for
:hoverrules that hide menus.
Use a button with aria-expanded
Make the menu trigger a real button that toggles a class on click. See the snippet below.
Limit hover rules to hover-capable devices
Wrap hover styles in
@media (hover: hover)so touch devices do not rely on them.Close on outside tap and Escape
Let visitors dismiss the menu with a tap elsewhere or the Escape key.
<nav>
<button class="menu-toggle" aria-expanded="false" aria-controls="services-menu">Services</button>
<ul id="services-menu" hidden>
<li><a href="/pricing">Pricing</a></li>
<li><a href="/book">Book a call</a></li>
</ul>
</nav>
<script>
const btn = document.querySelector('.menu-toggle');
const menu = document.getElementById('services-menu');
btn.addEventListener('click', () => {
const open = btn.getAttribute('aria-expanded') === 'true';
btn.setAttribute('aria-expanded', String(!open));
menu.hidden = open;
});
document.addEventListener('click', (e) => {
if (!btn.parentElement.contains(e.target)) {
btn.setAttribute('aria-expanded', 'false');
menu.hidden = true;
}
});
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') {
btn.setAttribute('aria-expanded', 'false');
menu.hidden = true;
}
});
</script>@media (hover: hover) and (pointer: fine) {
.has-submenu:hover > ul { display: block; }
}
.has-submenu.is-open > ul { display: block; }Hover only
- Sub-links appear only with a mouse pointer
- Tapping does nothing or needs a double tap
- Key pages are out of reach on phones
Tap and hover
- A button toggles the menu on tap or click
- Hover remains as a bonus on desktop
- Menu closes on outside tap or Escape
- Every menu item with sub-links opens on a single tap on a real phone
- The same works on an iPad or Android tablet, in portrait and landscape
- Tapping outside the menu closes it
- You can reach the pricing, booking or checkout page from the menu in under four taps
- The menu still works with a mouse and the keyboard (Tab, Enter, Escape)
- Key CTAs are not hidden behind hover overlays
- Test the header on a real phone and tablet after every theme, plugin or design change
- Never put the only route to a funnel page behind hover
- Wrap hover-only styles in a
(hover: hover)media query - Run a scheduled journey check on mobile so you hear about breakage early
Questions people ask
Why is my dropdown menu not working on mobile?
Most likely it opens on CSS :hover or a mouseenter script, and touch screens have no hover. Switch the trigger to click or tap, for example a button that toggles aria-expanded, and test on a real phone.
Why do I have to tap twice to open a menu on my phone?
Mobile browsers often emulate hover on the first tap and only follow the link on the second. Replace the hover-based logic with a click handler, or wrap hover styles in @media (hover: hover) so touch devices skip them.
How do I make a hover menu work on touch devices?
Add a click or tap handler that toggles an open class or the hidden attribute, and keep hover as an extra for mouse users. Close the menu when the visitor taps outside it or presses Escape.
Does a hover-only menu hurt conversions?
It can. If visitors on phones and tablets cannot open the menu, they cannot reach pages like pricing, booking or checkout, so fewer of them start your funnel.
Do Chrome DevTools device mode results prove my menu works on touch?
Not fully. Device mode simulates touch and screen size, but real iPhones, iPads and Android devices can behave differently. Always confirm on at least one real phone and one tablet.
Can FunnelGuard detect a menu that does not work on touch?
Only partly. Its mobile run will fail a journey step if the broken menu stops the robot reaching a link or button it needs, but it does not audit every menu or test every device model, so check the rest by hand.
What is the CSS media query for hover-capable devices?
Use @media (hover: hover) and (pointer: fine). Styles inside it apply only where the main input can hover, such as a mouse, so touch devices use your click-based menu instead.