hello !
we need 3 menu !
one one them is default menu in the top of the slider , and top up this menu is another menu ( by default)
and another one is under slider !
and we wana to appear third menu after scroll ( fuxed )
how can i add third menu ?
Hey amirhossein!
Thank you for using Enfold.
I’m sorry but this will require major modification on the theme. You can edit includes > helper-main-menu.php file if you want to add another menu on top of the default navigation. Look for this code:
echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
$avia_theme_location = 'avia';
$avia_menu_class = $avia_theme_location . '-menu';
$args = array(
'theme_location' => $avia_theme_location,
'menu_id' => $avia_menu_class,
'menu_class' => 'menu av-main-nav',
'container_class' => $avia_menu_class.' av-main-nav-wrap'.$icon_beside,
'fallback_cb' => 'avia_fallback_menu',
'walker' => new avia_responsive_mega_menu()
);
wp_nav_menu($args);
if($icon_beside) echo $icons;
/*
* Hook that can be used for plugins and theme extensions
*/
do_action('ava_inside_main_menu');
echo '</nav>';
Use the Fullwidth Submenu element to add a custom menu below the slider.
Cheers!
Ismael