How to set up Mega Menu vertical



Here is the instruction you can follow if you desire to set up a mega menu for your site.

Please follow these steps:

Step 1 - Go to the Dashboard > Appearance > Menu

Step 2 - Choose 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

Step 5 – Click Save Menu

NOTE: The vertical menu only works to Header Type 4, to set up the vertical menu please follow these steps:

From Dashboard > Appearance > NasaTheme Options > Header and Footer:

In addition, you can set a vertical menu of Header Type 4 for individual homepage here:

From Dashboard > Pages > Edit page:


Our theme is designed by default with 3 levels of sub-menu, if you want to display sub-menu with 4 levels , please insert the following code in / wp-content / themes / elessi-theme-child / functions .php:

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
/* ===================== */