How would I go about expanding a drop down menu using hamburger menu with a pro header? In other words I want all the drop down links shown when the hamburger menu is open.
I tried adding via theme options the following javascript after reading your other forum posts on the matter:
(function($){
$(document).ready(function(){
var W = $(window).width();
if ( W < 980) {
$('.mobile-menu.x-anchor-toggle').click();
}
});
})(jQuery);
(function($){
$(document).ready(function(){
$('.mobile-menu.x-anchor-toggle').click();
});
})(jQuery);
I wasn’t able to make the drop down menu options expand using the above, do you have any corrections?
Thank you!