CMS Development

martaz
Participant

Adding drop down navigation to a Hero Banner

Hello,

 

I made a custom Hero Banner. I would like to be able to add a dropdown that allows users to navigate to different pages. Thoughts on the best approach?

 

Thanks, Marta

0 Upvotes
1 Reply 1
lscanlan
HubSpot Alumni
HubSpot Alumni

Adding drop down navigation to a Hero Banner

Hi @martaz,

 

I'm happy to make some suggestions on how to build something out. Did you have any examples of things similar to what you were thinking of building out?

 

For what it's worth, we do have menu: https://designers.hubspot.com/docs/hubl/hubl-supported-tags#menu and simple menu: https://designers.hubspot.com/docs/hubl/hubl-supported-tags#simple-menu tags that you could use in your module. And then once you have a menu on the page, you could use your CSS / JS to style and set the behavior how you want. Just one example: I've used Tiny Nav before, which you can find here: http://tinynav.com/. And it looks like they have a newer version here: http://responsive-nav.com/. I think that could be an easy solution for creating a dropdown on the page out of a menu.

 

And again I'm happy to provide some more specific ideas if you have an example of something you were trying to build out.

 

Leland Scanlan

HubSpot Developer Support
0 Upvotes