Comment on page
How to set up Mega menu vertical

Step 1 - Simply, navigate to Appearance → Menu
Step 2 - Create a new menu that you want to use do the vertical menu and click Select button
Step 3 - On the right, feel free to drag and drop menu items to organize them

Step 4 – When you are done moving menu items, check a menu location at the bottom of the page and click Save Menu

NOTE: The vertical menu only works to Header Layout 4 and Header Layout 6, to set up the vertical menu please follow these steps:
Go to Appearance → Theme Options → Header and Footer

PHP
function
add_filter('nasa_max_depth_vertical_menu','custom_max_depth_menu');
function custom_max_depth_menu($depth) {
return 4; // Return max depth menu – Default is 3
}
/* ===================== */


Please change the number here if you want to up any sub-menu levels
Last modified 1yr ago