new course
CSS grid landing page tutorial (36min)

Lesson info

Lesson info

You can add Webflow's dropdown element to almost any area of a project, but you’ll usually see them used in sites' main navigation areas.

In this video, we'll show you how to:

  1. ‍Add a dropdown to your site
  2. ‍Work with the elements of the dropdown
  3. ‍Customize your dropdown's settings
  4. ‍Edit links within the dropdown
  5. ‍Style links within the dropdown
  6. ‍Nest dropdowns in other dropdowns

Explore this project

Want to dig into the project featured in this video and see how everything is put together? We've included the full project we used when making this lesson, and we've shared the link right under this very paragraph.

View and clone this projectDownload lesson assets
Clone this projectDownload project assets


A dropdown element can be added to almost any area inside a project. In this example, we'll be adding and configuring a dropdown inside of a Navbar. We'll start with adding a dropdown menu, then we'll explore its anatomy; we'll cover configuring the links inside of the dropdown, and finally we'll talk about styling our dropdown and the links inside.

Let's start with adding.

And again, for this example, we're going to add this dropdown element from our Elements Panel by dragging it right into the Nav menu inside the Navbar: its position, of course, is being indicated in blue.

If we want to move it — now or later — we simply drag and drop in our desired position.

That's adding. Let's look a little bit closer. Okay that's too close.

If we select the dropdown and visit the Navigator, we can see that by default, the Dropdown element contains a Dropdown Toggle...and a Dropdown List. That toggle is what we see here.

Inside is the text block and the down arrow icon.

The dropdown list isn't yet visible. We can see it over in Preview by pressing anywhere inside the Dropdown element, which triggers the visibility of that list (or menu).

Outside of Preview, we can access this by selecting any element related to our Dropdown, and going into the Element Settings Panel. And our Dropdown Settings appear right here. From here we can open that dropdown list.

And this is also a great place to tweak how the dropdown responds. We can set a close delay which will keep the dropdown menu on the screen after you've clicked...or hovered out.

Which leads us to this option: Open menu on hover. This works just like you'd expect. On devices with hover support, as we can see here in Preview, hovering over the toggle triggers the dropdown menu. And if you hover out, the dropdown menu goes away. Want to change it back to click? We can simply go back and uncheck that option.

Let's return to the Navigator. Inside this dropdown list, we have three dropdown links. We'll configure these momentarily.

So the Dropdown has the toggle, which we actually press to trigger the dropdown list. With any of these dropdown elements selected, we can visit the Element Settings Panel and press to open or close the dropdown list.

That's anatomy.

Let's look at our links.

We can double click on the text in our dropdown list to change what's included and type anything we want. As you can see, the text is affecting width. We'll set this back to the standard text for now.

We can move links right inside the dropdown list by clicking and dragging them into their new position, or...we can rearrange the order inside the Navigator.

From the Elements Settings Panel, we can control where each link takes us, for instance linking to a different page in our project.

And here we can also add additional links. Since we intend to add a fourth link right under the third, let's select the third link, and press Add Link.

Alternatively, you can also right click to copy and paste or even duplicate links here, too.

That's links inside a dropdown. Finally, let's look at styling.

And we'll select these elements using the Navigator. And you can use classes to style the Dropdown Toggle itself. Let's create a class: we can name it Dropdown Toggle. And since our dropdown is currently open — since we can see the list, we're currently styling the Open state.

So if we change the background color in the open state to blue, and we change the font color, for instance, to white, going over to preview our page and pressing the dropdown will show us that blue color on the open state.

Back out of preview, we can select the Dropdown Toggle again. And because our dropdown list is now closed, we can choose a different background color here, which will add that color when the dropdown is closed.

Back to preview, and of course we can see that color, and pressing the dropdown still shows us our blue open state. Let's go back to the full Designer.

And what else can we style? Let's select our dropdown, and go back to open that list again.

And we can also create a class for our dropdown links. And if we'd like, rather than applying this class one-by-one, we can go through and delete all but the first one — the one that has that class applied — and we can simply copy and paste. Each pasted link already has that class applied.

That means making style changes to one of them, like going in and making a change to the font color, will apply to all of them. And if we want control over the Hover state, go into States, and select hover.

Let's change our background color using our Color Picker here, and once we're done with that, let's change our font color on hover, as well.

If we go to Preview, and we press our dropdown, we can see the hover state in action.

So, we can add a dropdown element anywhere, a lot of times inside our navigation. Its anatomy — what's inside the dropdown — is a toggle — which toggles or triggers the dropdown list. And that list contains our dropdown links. We can add more links in our Element Settings Panel. Or we can copy and paste or duplicate right inside the dropdown list. And of course we can style any element in our dropdown.