Okay
  Print

How to create vertical menu

To show vertical menu, you can follow below steps: 

Step 1: 

Setting Admin-> MGS-> Megamenu-> Configuration-> General Setting-> is Enable (Yes).

Step 2: 

Please go to  Admin-> Content-> Block

And check the block to see that whether you have the identifier with this form or not: gemmart_menu_vertical_header_HeaderName

For example with header 10, you will need to find: gemmart_menu_vertical_header_10. If yes, it's ok but if not, you need to create it. 

Step 3: 

Check Admin-> MGS-> Megamenu-> Manage to see whether there is a menu with Type menu as Vertical or not. 

Beside, the status of Vertical menu must be enabled. 

In the absence of a menu with Type menu as Vertical , please create a new one by clicking the right corner of the button Ad Menu 

Step 4: 

Create Megamenu item Admin-> MGS-> Manage Megamenu Items-> Add Item.

Step 5: 

Active builder and edit block which contains vertical menu with below content, just change their respective menu_id.

<div class="hide-home vertical-dropdown-menu"><a class="dropdown-toggle title-vertical-menu" title="All Categories" href="#" data-toggle="dropdown" data-display="static">All categories </a>
<div class="dropdown-menu">block class="MGS\Mmegamenu\Block\Vertical" menu_id="3" template="MGS_Mmegamenu::vertical.phtml"</div>
</div>