How to set up Mega menu vertical

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

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

Elessi 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:

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

}

/* ===================== */

RESULT

Last updated