The navigation menu not appearing on top in vertical mobile view is typically caused by issues with z-index, overflow settings, or display properties on smaller breakpoints.
1. Check Z-Index of the Navbar/Menu
- Select your Navbar or Menu button in the vertical mobile breakpoint.
- In the Style panel, ensure it has a higher z-index than surrounding elements.
- Try setting the Nav Menu or Dropdown to z-index: 9999, especially if other elements share the same space.
- Confirm that no other elements (like hero sections or forms) have a higher z-index, pushing the menu beneath them.
2. Set Overflow to Visible Where Needed
- Select the parent containers of the hamburger menu or the entire Navbar.
- In the Overflow setting, make sure it's set to Visible instead of Hidden.
- Having Overflow: Hidden on a wrapper or section can clip the dropdown/open menu.
3. Check Display & Position Settings
- In vertical mobile view, inspect the open menu wrapper (often named
Nav Menu in Webflow). - Make sure it’s set to Display: Block or Flex, not None when the menu is triggered.
- Review the Position: It should be Absolute or Fixed relative to a properly set parent (e.g.,
Position: Relative on the Navbar). - Verify the menu is not being collapsed or hidden due to
Height: 0 or Opacity: 0 when open.
4. Test Interactions and Menu Open State
- If you're using custom interactions or animations for your mobile menu, ensure they’re correctly applied for all breakpoints.
- If the menu is open but still not visible, it could be due to incorrect animation values (e.g., moving off-screen or setting opacity to 0 by mistake).
5. Inspect With Webflow Preview and Device Rotate
- Use Webflow Preview mode and rotate the viewport between vertical and horizontal modes to simulate behavior.
- Some styling may behave differently in landscape vs portrait if media query overrides aren’t set correctly.
Summary
The mobile menu likely isn’t appearing on top in vertical view due to low z-index, Overflow: Hidden on a parent, or incorrect Display/Position settings on the Nav Menu. Check these style properties in the smaller mobile breakpoint to ensure visibility and layering are correct.