Your Webflow navbar may appear broken or misaligned on mobile landscape breakpoints due to unresponsive styles or element overflows. Here's how to fix it.
1. Check the Navbar Component on Mobile Landscape
- Switch to the landscape mobile breakpoint in Webflow Designer using the top tool bar.
- Select the Navbar component and observe layout issues (e.g., elements overflow, menu not collapsing, items stacked incorrectly).
2. Adjust Flex or Grid Settings
- If your navbar links are in a flex container, select the parent container (e.g.,
Navbar, Nav Menu, or Nav Links container). - For Flex settings, use:
- Display: Flex
- Direction:
Horizontal for large screens; switch to Vertical for smaller breakpoints if needed. - Wrap: Enable Wrap to prevent items from overflowing.
- Justify and Align settings: Use
space-between or center as needed to prevent crowding.
3. Scale Fonts and Padding
- Reduce font sizes, icon sizes, and padding/margin within navbar elements for this breakpoint.
- Avoid fixed widths or heights that prevent scaling. Use % or VW units instead of PX where possible.
4. Ensure Menu Icon (Hamburger) Works
- On smaller breakpoints, Webflow's native Navbar adds a menu button (hamburger icon).
- Make sure:
- The Nav Menu is set to hidden/collapsed initially under mobile breakpoint.
- The menu button is not overlapping or hidden behind other items.
- The z-index of the menu button is higher than underlying elements (e.g., 9999).
5. Set Overflow and Width Rules
- On the Body and Navbar wrapper, set Overflow: Visible unless necessary.
- Make sure containers are not wider than the viewport. Use:
- Max Width: 100%
- Width: 100%
- Avoid setting text elements or buttons to fixed pixel widths.
6. Test on Real Devices and Emulators
- Use Webflow’s preview with device sizes, but also test on real devices (especially iPhones and Android phones in landscape mode).
- If the issue only happens on specific devices, additional CSS tweaks may be necessary via custom code.
Summary
To make your Webflow navbar responsive on mobile landscape, update flex settings, reduce font/padding sizes, ensure menu elements collapse properly, and use responsive width settings. Always test across breakpoints and devices for full compatibility.