Dropdown in Navigation Menu #249
-
Thanks for this beautiful looking template. Is there any quick way to shop dropdown in navigation menu? Like products > product1, product2, product3.. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @markwsac, thanks for the kind words! Absolutely, you have a couple of options:
Just add the following script to your setup: <script>
import "@preline/dropdown/index.js";
</script> |
Beta Was this translation helpful? Give feedback.
-
Excellent. Thanks for your prompt response. Let me try. Would be great if you include it in the demo site as people compare different themes. Some beginners (like me) wonder if the theme has this functionality.. Your theme stands out in terms of looks. It deserves more visibility and love. Cheers! |
Beta Was this translation helpful? Give feedback.
Hey @markwsac, thanks for the kind words!
Absolutely, you have a couple of options:
You can use the
NavbarMegaMenu
component and adjust theMegaMenuLink
to add a dropdown on hover (I've attached a screenshot for reference).Or you could implement your own dropdown using Preline UI’s Dropdown plugin. You can check it out here: Preline Dropdown Plugin.
Just add the following script to your setup: