Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #652053

    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 );
    			 }
    			 
    			 
    		});
    
    #652887

    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

    #653040

    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)

    • This reply was modified 8 years, 4 months ago by scottybowl.
    #653322

    Hey!

    If the solution from the previous thread works for you, we will add it in the latest patch of the theme. We need to confirm if the patch is working.

    Cheers!
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.