If your mobile navbar is too tall to fit on the screen and some navigation links are being hidden, you need to enable scroll behavior specifically for the mobile menu container.
- Open Webflow Designer and go to a smaller breakpoint (e.g., tablet or mobile view).
- Click to open the Navbar component so the mobile menu appears.
- Select the element that contains the navigation links — usually named something like Nav Menu.
2. Set a Maximum Height
- With the Nav Menu selected, go to the Style panel.
- Under Size, set a max height (e.g.,
100vh
) to restrict it to the height of the viewport.
- Still in the Style panel under Overflow, set:
- Overflow: Auto for vertical scrolling.
- This allows the user to scroll inside the nav if the content exceeds the height.
4. Adjust Padding or Margins if Needed
- If padding or margins are pushing the links beyond the viewport, reduce them to make better use of the available space.
- This often happens on smaller screens where excessive spacing compounds the issue.
5. Test on All Mobile Breakpoints
- Preview your site and open the navbar on mobile portrait and tablet modes.
- Scroll within the menu to make sure all links are accessible.
Summary
To make all navigation links visible in a mobile navbar, set a max height (e.g., 100vh) and enable vertical overflow scrolling (Overflow: Auto) on the Nav Menu element. This ensures users can scroll the menu if the content exceeds the screen height.