# Tailwinds dropdown menu wordpress

**URL:** https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251
**Category:** Questions
**Tags:** wordpress, tailwind, navbar
**Created:** [May 3, 2021, 10:47am UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251 "2021-05-03T10:47:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mickael](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mickael](https://forum.pinegrow.com/u/Mickael)
#### Post date: [May 3, 2021, 10:47am UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251/1 "2021-05-03T10:47:56Z")

</div>

Hi.

Pinegrow’s documentaion on Wordpress navigation menus does not mention Tailwinds.  
Do you know if it is possible to make a Wordpress dropdown menu as easily as with Bootstrap?

> **[Navigation menus - Pinegrow Web Editor - Documentation and Tutorials](http://docsbeta.pinegrow.com/navigation-menus/)**
>
> Creating a menu is one of less pleasant parts of WordPress theme development and this is probably one of the reason why the business of plugins related to menus is flourishing. With Pinegrow, you can now easily create customised navigation menus by...

Thanks.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [May 3, 2021, 6:52pm UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251/2 "2021-05-03T18:52:32Z")

</div>

Hey @Mickael,  
I haven’t tried it, but it should be doable fairly easily with the smart menu. I’m thinking that only one level of dropdown will work without more customizing. Basically the Bootstrap menus are a little more automatic, but menus in any framework can be accomplished with the smart menu options. If you already have some menu HTML just let me know and I can help with the conversion.  
Cheers,  
Bob

---

<div class="post-metadata">

### Author: ![Mickael](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mickael](https://forum.pinegrow.com/u/Mickael)
#### Post date: [May 10, 2021, 7:26am UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251/3 "2021-05-10T07:26:50Z")

</div>

Ok thanks.  
I’m putting off my Taiwind project for a few weeks, I’ll give feedback at that time.  
Have a nice day.

---

<div class="post-metadata">

### Author: ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)
#### Post date: [August 3, 2022, 2:55pm UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251/4 "2022-08-03T14:55:12Z")

</div>

I don’t see anything in the wp\_smart\_navwalker.php to handle the dropdown menus. This has been a frustration of mine for a while, and I’m writing up a feature request now.

Maybe someone smarter than me can [fork the walker](https://github.com/matjaztrontelj/PinegrowWordPressSmartMenuWalker) and add support for dropdown menus, at least single-level dropdowns?

---

<div class="post-metadata">

### Author: ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)
#### Post date: [August 4, 2022, 11:41am UTC](https://forum.pinegrow.com/t/tailwinds-dropdown-menu-wordpress/5251/5 "2022-08-04T11:41:25Z")

</div>

> [@adamslowe](#):
>
> Maybe someone smarter than me can [fork the walker](https://github.com/matjaztrontelj/PinegrowWordPressSmartMenuWalker) and add support for dropdown menus, at least single-level dropdowns?

That would be nice 🙂

Smart walker uses the first element as a template, and usually for dropdowns that doesn’t work. There would probably have to be at least three templete elements:

- The normal menu item (no dropdown, no sub items)
- The menu item that has sub-items
- The sub-item

Probably, some kind of solution could be created with the current walker and PG Interactions, where menu elements could be manipulated based on selectors, but would not be that pretty.
