Add Dropdowns to Main Menu Through the Site Admin (Copy & Paste into Site Header/Footer Injections)

i’m sorry to be such a neophytye … is it possible for you to share how that’s done?

Paste this into your Site Footer Code injection:

<script src=""></script>

If that doesn’t work, paste it instead into your Site Header Code Injection…

Please do report back here your results…

Hi! It loads now, but I get a moment of it showing the links as X [has_child] X [subitem] before it shows the dropdown … is there a fix to this loading issue?

The problem is that the code runs late in the page load. Including it in the .hbs file (and avoiding jQuery) helps a LOT but then it’s no longer a code injection solution.

I see. Actually, I posted it to the main site from my test and it stopped working at all… hmmph.

I’m curious if you have an opinion

Please nvm if that is too much fuss.

@Tada_Hozumi You could try this one which loads smoothly and without that flash

ah thank you, gonna try that out

tysm for your generous help @denvergeeks.

I was wondering, for the selectors in Edition:

I am assuming this is wrong but I can’t seem to find the right two selectors.

Here is the source code: