On this page
What this issue is
The hamburger menu is the three-line icon that shows the site navigation on small screens. Tapping it should slide or drop down the menu links. When it does not open, the tap does nothing, the menu flashes and closes, or the icon is not even clickable.
The menu is normally opened by a small piece of JavaScript that toggles a class or attribute on the nav. If that script fails to load, crashes earlier in the page, or the button cannot receive the tap, the menu stays shut.
Why it costs you leads or sales
On a phone, the menu is often the only route to your pricing, product categories, contact page or booking page. If it is dead, visitors who did not land on the right page cannot move on. They leave, and you still pay for the ad click that brought them.
- Ad clickVisitor lands on the home page on a phone
- Tap hamburgerMenu does not open
- Find services pageNo way to navigate
- Contact formNever reached
The visitor lands on a mobile page, taps the menu and goes no further.
Example: illustrative numbers showing how a dead menu can cut the share of mobile visitors who reach a key page.
How to check if your site has it
Test on a real phone
Open your site on an iPhone and an Android phone. Tap the icon several times, on the home page and on a deep page such as a product or landing page.
Use browser device mode
In Chrome, press F12, then the device toolbar icon (Ctrl+Shift+M or Cmd+Shift+M). Pick a phone size, reload and click the icon.
Read the console
Open the Console tab and reload. Red errors such as 'Uncaught TypeError' or 'jQuery is not defined' often explain a dead menu.
Check what receives the tap
In the Elements panel, right-click the icon and choose Inspect. If a different element (a banner, popup or empty div) is highlighted when you hover over the icon area, it is covering the button.
Test with a clean state
Try a private window with no extensions, and on mobile data as well as Wi-Fi, in case a blocked script is involved.
| Cause | Sign | Typical fix |
|---|---|---|
| JavaScript error earlier on the page | Red error in console, other scripts also dead | Fix or remove the failing script |
| Script blocked, minified or deferred wrongly | Menu works after a delay or only after a second tap | Exclude the menu script from optimisation |
| Element covering the button | Inspect highlights a different element | Fix z-index or pointer-events |
| Plugin or theme conflict | Started after an update | Disable or roll back the change |
| Missing breakpoint | Icon shows but menu is built for desktop widths | Check the theme's mobile breakpoint setting |
How to fix it
The tap lands on an invisible layer above the icon, so the menu never receives it.
Find the conflict
Switch to a default theme such as Twenty Twenty-Four on a staging copy, or disable plugins one by one, testing the menu each time.
Check optimisation settings
In caching or speed plugins, turn off JavaScript minify, combine and delay options, then retest. If the menu works, exclude the theme's menu script.
Check the theme's mobile settings
In Appearance > Customize (or your page builder's header settings), confirm the mobile menu breakpoint matches the width you are testing.
Test with the theme unchanged
Preview an unedited copy of your theme. If the menu works there, a recent edit or app is the cause.
Disable app embeds
In Online Store > Themes > Customize > App embeds, switch apps off one at a time and retest.
Check theme code edits
Compare changes in Edit code, especially theme.liquid and the header section, with the version history or a fresh copy.
Use Preview mode
Open Tag Assistant preview on your mobile page. Look for Custom HTML tags that run on All Pages and might throw errors or alter the DOM.
Pause suspect tags
Pause recently added Custom HTML tags, publish to a test environment and see if the menu opens.
Check the Navbar settings
Select the Navbar and, in the Navbar settings, confirm the menu button is shown at the right breakpoint (Tablet, Mobile landscape or Mobile portrait).
Look for custom code
In Site settings > Custom code and page settings, remove or fix scripts that error, and make sure the Webflow JS is not blocked.
Check for covering elements
In the Navigator, look for absolutely positioned elements with a higher z-index sitting over the menu button.
Check the header element
In the funnel or website builder, select the header and look at its mobile view. Confirm the menu element is set up for mobile.
Review custom code
Open the page's Custom Code and Tracking Code sections. Remove recent scripts and retest.
Edit the mobile view
Switch the editor to mobile view and select the menu. Make sure it is not hidden, overlapped by another element or set to a different layer.
Remove custom embeds
Temporarily remove custom code or HTML embeds that run on every page, then preview again.
Check Mobile styles
In Site Styles or the header settings, confirm the mobile menu icon is enabled and that no element overlaps it.
Check code injection
Under Website > Pages > Custom code (Code injection), remove recent scripts and test again.
Fix the script error first
Resolve any console error, since one uncaught error can stop later code from running.
Use a robust toggle
Bind the click after the DOM is ready and update aria-expanded, as in the snippet below.
Fix overlaps
Give the button a suitable position and z-index, and set pointer-events: none on decorative layers above it.
document.addEventListener('DOMContentLoaded', function () {
var btn = document.querySelector('.menu-toggle');
var nav = document.querySelector('#site-nav');
if (!btn || !nav) return;
btn.addEventListener('click', function () {
var open = nav.classList.toggle('is-open');
btn.setAttribute('aria-expanded', open ? 'true' : 'false');
});
});.menu-toggle {
position: relative;
z-index: 1001;
}
.hero-overlay {
pointer-events: none;
}How to confirm it's fixed
- Menu opens on the first tap on an iPhone and an Android phone
- Menu opens on the home page and on a deep landing page
- Every menu link goes to the right page
- No red errors in the console after reload
- Menu also opens in portrait and landscape
- Menu still works with caching and optimisation turned back on
Before
- Icon visible but tap does nothing
- Console shows a script error
- Visitors stuck on the landing page
After
- Menu opens on the first tap
- Console is clean
- Visitors reach pricing and contact pages
How to prevent it happening again
- Test the mobile menu after every theme, plugin or app update
- Use a staging site for changes to headers and scripts
- Exclude the menu script from minify and delay settings once you know which file it is
- Add new tracking or chat scripts one at a time and retest
- Keep a short mobile test routine: menu, form, checkout
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks the menu only if opening the menu is part of a journey you have set up. For example, if your journey taps the hamburger and then clicks a link to the contact page, the robot visitor fails that step when the menu does not open. FunnelGuard re-checks the failure from a second region, then sends one alert with a screenshot and a likely cause.
Questions people ask
Why is my hamburger menu not opening on mobile?
The usual causes are a JavaScript error that stops the menu script, an invisible element covering the icon, or a plugin or theme conflict. Check the browser console for red errors and inspect what element receives the tap.
Why does my mobile menu work on desktop but not on my phone?
Desktop browsers often show a full menu without the hamburger script. On phones, the toggle script and its breakpoint are used, so any script error, covered button or wrong breakpoint shows up only there.
How do I test a hamburger menu on mobile?
Open the site on a real iPhone and Android phone and tap the icon on several pages. You can also use Chrome DevTools device mode (Ctrl+Shift+M or Cmd+Shift+M) and watch the Console for errors.
Why does my menu need two taps to open?
This is often caused by a hover style or a second script toggling the menu closed, or by a delayed script that loads after the first tap. Disable JavaScript delay or combine options and test for duplicate menu scripts.
Can a caching or speed plugin break my mobile menu?
Yes. Minifying, combining or delaying JavaScript can change the load order and stop the menu script from running. Turn those options off to test, then exclude the menu script.
Can a cookie banner or chat widget stop the menu from opening?
Yes, if it sits over the icon area it can take the tap. Inspect the icon and see which element is on top, then move or resize that widget.
Will FunnelGuard alert me if my hamburger menu stops opening?
Only if opening the menu is part of a journey you have set up. FunnelGuard fails that step, re-checks from a second region and sends one alert with a screenshot. It does not scan menus outside your journeys.
Related issues
- PRF-169Mobile menu cannot be closed or scrolls page behindFix guide
- PRF-170Desktop-only hover menus unreachable on touchFix guide
- PRF-156CTA covered by cookie banner or popupFix guide
- PRF-159Chat bubble covers the submit or checkout buttonFix guide
- PRF-171Content hidden on mobile (display:none) including the form or CTAFix guide
- PRF-162Tap targets smaller than 24x24 pxFix guide