• Resolved inhousej03

    (@inhousej03)


    Love this plugin for computer browsers. For some reason the navigation does not appear on mobile devices. No hamburger menu or anything shows. Do you have any fixes for this issue? I hope to continue using this plugin but need to have navigation on phones as well. Hope you can help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author zenofwordpress

    (@zenofwordpress)

    No. I can not be expected to support all themes and all the different ways they may handle menus in mobile, in a free plugin. I am available for custom work.

    Hi, this is an error by an Enfold function.

    I solved the problem by adding following lines to the function.php (to the child themes functions.php).

    
    
    /* Append the burger menu */
    if(!function_exists('avia_append_burger_menu'))
    {
    	//first append search item to main menu
    	add_filter( 'wp_nav_menu_items', 'avia_append_burger_menu', 9998, 2 );
    	add_filter( 'avf_fallback_menu_items', 'avia_append_burger_menu', 9998, 2 );
    
    	function avia_append_burger_menu ( $items , $args )
    	{	
    	    if (is_object($args) )
    	    {
    	        $class = avia_get_option('burger_size');
    	        
    	        $items .= '<li class="av-burger-menu-main menu-item-avia-special '.$class.'">
    	        			<a href="#">
    							<span class="av-hamburger av-hamburger--spin av-js-hamburger">
    					        <span class="av-hamburger-box">
    						          <span class="av-hamburger-inner"></span>
    						          <strong>'.__('Menu','avia_framework').'</strong>
    					        </span>
    							</span>
    						</a>
    	        		   </li>';
    	    }
    	    return $items;
    	}
    }
    
    
    • This reply was modified 7 years, 4 months ago by maschmo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Zen menu logic – navigation is not working on mobile’ is closed to new replies.