Find a free theme that has the specific feature you want already built-in. Then look at the code to see how it was done. The Liebling theme might be a good starting point for studying drop-down menus, because it has 2 different types which you can see on the demo:
You can also go through the other free themes here, and find some more examples of drop-down menus:
Anyone get that version above from akashmdiu to work on something other than Casper theme? I tried on Liebling but it didn’t work, menu tabs just comes up with [has_child] or [submenu] on frontend all on top level.
It would be good to have this work as it allows for multiple tabs with submenus and is still dynamic. All others are a single submenu using Secondary or hard-coded, which defeats the purpose of using a CMS.
Unfortunately that code isn’t working in the Liebling theme. It just comes up with the full [has_child] or [subitem] written into the menu menu name, and no dropdown. I can’t switch back to Casper because that’s broken and doesn’t seem to want to download the latest working version.