Just implementing some sub menus on an Enfold based site and noticed that the menu doesn’t toggle when viewing on mobile UNLESS “Sticky submenu” is ticked.
Digging into the javascript code, this function below causes the menu to toggle. There is no other mention of toggling the sub menu in the javascript code that I can see
$(".av-sticky-submenu").each(function()
{
var menu = $(this), placeholder = menu.next('.sticky_placeholder'), mobile_button = menu.find('.mobile_menu_toggle');
win.on( 'scroll', function(){ window.requestAnimationFrame( $.proxy( check, menu, placeholder) )} );
if(mobile_button.length)
{
mobile_button.on( 'click', toggle );
}
});
Hey scottybowl,
Thank you for using Enfold.
Please try the solution provided here: https://kriesi.at/support/topic/fullwidth-submenu-dropdown-doesnt-work-on-ipad/#post-618090
Best regards,
Ismael
Altering a core file doesn’t seem to be a solution – can’t you guys just fix this so it works properly? It seems both I and the person in the other thread have reported this as a bug (and the fact you mention to alter a core file shows that it is definitely a bug)