To create a scrollable menu inside a fixed navigation in Webflow, you need to fix the navigation container, enable scroll for the menu area, and limit its height.
1. Fix the Navigation Bar
- Select your navigation section (typically a
Navbar
or custom container). - In the Style panel, set Position to Fixed (usually top), and ensure Full Width is checked.
- Set a z-index (e.g., 1000) to keep it above other content.
- Identify or create a div wrapper that contains all your menu links (e.g., dropdowns or mobile menu).
- Add a class to this div (e.g.,
menu-wrapper
). - Set a Max Height (e.g.,
300px
or 40vh
) to cap its size. - Make sure Overflow is set to Auto or Scroll to enable scrollbars when content exceeds the max height.
3. Handle Mobile Menu (If Applicable)
- For the mobile menu open state, Webflow typically animates and shows a menu container.
- Select the menu container (e.g.,
w-nav-menu
) inside the mobile nav component. - Add a class (e.g.,
mobile-menu-scroll
) and set: - Max Height to a percentage of screen height (e.g.,
80vh
) - Overflow to Auto
This ensures when many menu items are inside, users can still scroll.
- Webflow allows custom scrollbar styling via the Style panel only for WebKit browsers.
- For advanced styling (custom color, width), you’ll need to use custom code inside the Page Settings or an Embed element.
Summary
To make a scrollable menu inside a fixed nav in Webflow, fix the nav container to the top, wrap your menu links in a div with a max height and set overflow to auto, especially for mobile. This ensures users can scroll through longer menus without disrupting layout or usability.