If buttons or links stop working after opening and closing the hamburger menu in Webflow, it's typically due to an issue with the mobile menu overlay not being fully hidden or removed after closing. Here's how to identify and resolve the problem.
1. Check the Menu Overlay Display Settings
- Go to the Navigator and locate the
Navbar element or the custom menu wrapper. - Expand the menu structure and identify the menu overlay or
Menu Wrapper used for the dropdown. - Close the menu preview, then check the display setting of the wrapper. The
Display should be set to None when the menu is closed.
2. Check for Persistent Z-Index on Menu Wrapper
- If the menu's wrapper remains with a high
z-index after closing, it may still block clicks on lower elements. - Select the Menu Wrapper, go to the Style panel, and check the
z-index. - Ensure that interactions or component settings reduce or reset the z-index when the menu is closed.
3. Review Interactions or Custom Animations
- If you're using custom interactions to open/close the menu (instead of Webflow's default navbar), you may have incorrectly hidden elements or left them visible.
- Go to the Interactions panel, review the Close Menu animation, and check for actions like:
- Setting
Display None or Opacity 0 on the overlay. - Reseting transforms or z-index.
- Make sure no overlay element is accidentally left with settings that cause it to block interactivity.
4. Test in Preview Mode
- Open the Webflow Preview mode.
- Trigger the menu open and close.
- Try clicking buttons or links that previously failed—this can help confirm if the issue is due to the menu wrapper remaining active.
5. Use the Chrome DevTools for Diagnosis
If unsure what's causing the block:
- Inspect the page in DevTools (Right click > Inspect).
- After closing the menu, hover over your menu wrapper/overlay layer and see if it's still present or receiving pointer events.
- Look for properties such as
display: block, opacity: 1, z-index, or pointer-events on the menu/overlay layer.
Summary
Buttons and links become unresponsive after closing a Webflow hamburger menu usually because the menu wrapper or overlay remains on screen or is not fully hidden, due to incorrect display, opacity, or z-index settings. Verify that the menu is completely hidden and not intercepting clicks with display: none and appropriate interaction settings.