To create a navigation bar with a drop-down sub-menu using Webflow's navbar component, you’ll use a few built-in elements and interaction settings.
1. Add the Navbar Component
- Drag the Navbar element from the Add panel (press
A
) onto your canvas. - Webflow adds a structure with a Container, Brand, Nav Menu, and Nav Links by default.
- Inside the Nav Menu, drag a Dropdown element from the Add panel.
- This will create a Dropdown Toggle and a Dropdown List containing a few Dropdown Links.
3. Customize the Dropdown Links
- Replace the sample Dropdown Links with actual navigation items you want in your sub-menu.
- You can delete or duplicate Dropdown Links based on how many sub-menu items you need.
- Select the Dropdown List and style it (background, shadow, padding) as needed.
- Set its position to absolute if you need exact placement under your dropdown button.
- Ensure the Z-index is higher than other elements so it stacks on top.
5. Adjust Hover or Click Behavior (Optional)
- By default, Webflow uses click to open the Dropdown.
- To switch to hover:
- Select the Dropdown, go to the Element Settings panel (gear icon).
- Check the "Open on Hover" option.
6. Preview and Test
- Hit Preview mode to see how the dropdown behaves.
- Make sure it works across breakpoints — adjust layout and spacing for tablet and mobile if needed.
Summary
To create a sub-menu in Webflow’s navbar, add a Dropdown inside the Nav Menu, customize its link items, and style the dropdown list. Use the open on hover setting if desired, and always preview your design for responsiveness.