Load jQuery first for WP Mega Menu
-
Is it possible to load jQuery first. I tried phast-no-defer to jQuery and WP Mega Menu JS and these added attributes just result in further javascript errors since WP Mega Menu can’t reference jQuery still.
I am using WP Mega Menu on my site, and the problem is that the menu disappears after the WP Mega Menu JavaScript loads.
The menu uses no-js CSS fallbacks and this problem occurs when the no-js class is removed during load.
The developer gave me a CSS workaround, but this makes it so the menu isn’t accessible until the JavaScript is loaded. They say their code works as intended.
If you are confused, please install WP Mega Menu to see for yourself.
It’s very important that the user can interact with the menu ASAP before site is finished loading.
Thanks,
Kyle
- The topic ‘Load jQuery first for WP Mega Menu’ is closed to new replies.