Webflow sync, pageviews & more.
NEW

How can I create a navigation with a sub-menu option in Webflow's navbar component?

TL;DR
  • Drag the Navbar and Dropdown elements onto the canvas, placing the Dropdown inside the Nav Menu.
  • Customize dropdown links, style the Dropdown List, optionally enable "open on hover," and preview on all breakpoints for responsiveness.

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.

2. Add a Drop-Down Menu

  • 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.
  • 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.

4. Style the Sub-Menu

  • 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.

Rate this answer

Other Webflow Questions