# Mega menu

Shopify allows you to nest menus and menu items in the Online Store Navigation Editor. You can build dropdown menus by creating or moving menu items so that they are “Nested” below a top-level item. Follow these steps to add Navigation:

* From your Shopify admin, go to **Online Store > Navigation**.
* Click the name of your main menu.
* Choose one of the menu items to be the header for your dropdown menu, or add a new menu item to be the header. If you don't want the header to link to anything, then you can enter '#' in the **Link field** when you add the menu item.
* Add menu items to include in the new dropdown menu. Click **Add menu item** enter the name of the menu item, and enter or select a destination for the link.
* Click and drag the menu items to nest below the header item.
* Click the **Save menu**.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FvmDsvTVMLT49WwJlhy8G%2Fnav.png?alt=media&#x26;token=07ce97f3-90bb-4d2e-ac7b-39e36ecbae3e" alt=""><figcaption></figcaption></figure>

There are multiple types of Mega menus you can add to your store

1. Select the **Header** from the theme editor.
2. Click on "Add block.", user can create three types of blocks: Mega menu products, Mega menu submenu/gallery, Mega menu blog, Categories, Secondary menu, Categories icon.

## Mega menu products

Click on "Add block" and add the **Mega menu products** block.

<figure><img src="https://content.gitbook.com/content/pOgAXZovgZLUeG0YgXOA/blobs/O6ky97D15aerhwoyk009/megamenu-prod.png" alt=""><figcaption></figcaption></figure>

Mega menu with the product allows you to add products with a submenu. Please follow the screenshot.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FOvoQhswLVQpu2tPdwOz8%2Fmenu.png?alt=media&#x26;token=a0e63740-bf3b-45c7-9b14-d9fbbcdeec53" alt=""><figcaption></figcaption></figure>

* To a add submenu, go to **Online Store > Navigation**.
* Click the name of your **Main menu**.
* Add menu items to include in the new dropdown menu. Click **Add menu** item enter the name of the menu item, and enter or select a destination for the link.
* Click and drag the menu items to nest below the header item.
* Click the **Save menu**.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FvmDsvTVMLT49WwJlhy8G%2Fnav.png?alt=media&#x26;token=07ce97f3-90bb-4d2e-ac7b-39e36ecbae3e" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Typing the same menu name in the Menu label will connect this menu to the Mega menu that is built through the theme editor. Check the below screenshot.
{% endhint %}

## Mega menu submenu/gallery

Click on "Add block" and add the **Mega menu submenu/gallery** block.

<figure><img src="https://content.gitbook.com/content/pOgAXZovgZLUeG0YgXOA/blobs/Tir8SEvPgLh2n9aViVqK/megamenu-gallery.png" alt=""><figcaption></figcaption></figure>

This Mega menu allows you to add submenus and a gallery. Please follow the below screenshot.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FiBgNnaw29e8EcnhzuM7V%2Fgallery.png?alt=media&#x26;token=9846af0b-8bf6-4ab6-a8c9-0bdae4299600" alt=""><figcaption></figcaption></figure>

## Mega menu blog

Click on "Add block" and add the **Mega menu blog** block.

<figure><img src="https://content.gitbook.com/content/pOgAXZovgZLUeG0YgXOA/blobs/U0DH5AAo5FQsrRAONda8/mega-menu-blogs.png" alt=""><figcaption></figcaption></figure>

To add a blog, go to Blog posts > Add blog post Add Multiple Blogs.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2Fc1tBPneW8sPe98E98DbQ%2Fblog.png?alt=media&#x26;token=3dda8169-ab2d-4bf2-9800-6a47b1442e2d" alt=""><figcaption></figcaption></figure>

After adding a blog, select the blog in the "Mega menu blog" block. Please follow the below screenshot.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FcQFeJ52KZoWMWlnWLMO1%2Fblogpost.png?alt=media&#x26;token=b087586a-6ef5-46f1-8008-abd7985645e6" alt=""><figcaption></figcaption></figure>

## Secondary menu

Click on "Add block" and add the **Secondary menu** block.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2Fb575UF1IFURmniFqMmY1%2Fsecmenu.png?alt=media&#x26;token=ae5443cf-6216-486f-88f6-eb96c8ae738a" alt=""><figcaption></figcaption></figure>

This Mega menu allows you to add Secondary menu. Please follow the below screenshot.

<table><thead><tr><th width="201">Block</th><th>Description</th></tr></thead><tbody><tr><td>Secondary menu</td><td>Secondary menu<br><br>The secondary menu will not show when the 'Logo center, menu left' setting is enabled. This menu will not show dropdown items.</td></tr></tbody></table>

## Category Menu

Click on "Add block" and add the **Category menu** block.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2F8Lr9LtvsMmJSGZnHM2Vr%2Fimage%20(12).png?alt=media&#x26;token=a72f9d21-1f05-40f3-8a0d-def3f9e0ca61" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="201">Block</th><th>Description</th></tr></thead><tbody><tr><td>Category menu</td><td>Category menu<br><br>The Category menu will show when add block 'Category menu'. This menu will shown one another menu with dropdown items and megamenu.</td></tr><tr><td>Menu button style</td><td><p></p><p>Customization of menu button style in the category menu is as follows:</p><ul><li>Link</li><li>Outline button</li><li>Solid button</li></ul></td></tr><tr><td>Dropdown open on</td><td><p></p><p>Customization of dropdown open on in the category menu is as follows:</p><ul><li>On hover</li><li>On click</li></ul></td></tr></tbody></table>

## Category icon

Click on "Add block" and add the **Category icon** block.

<figure><img src="https://1152871782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpOgAXZovgZLUeG0YgXOA%2Fuploads%2FRsAUbjsQs12iZYcClwKG%2Fimage%20(13).png?alt=media&#x26;token=e534bb93-053d-41a9-926d-fb3aa1a99472" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="201">Block</th><th>Description</th></tr></thead><tbody><tr><td>Category icon</td><td>Category icon<br><br>The Category menu will show when add block 'Category icon'. This icon will show as a menu icon in category menu.</td></tr><tr><td>Icon</td><td><p>In the section, the icons are given to select. are for selecting:</p><ul><li>None</li><li>Flash sale</li><li>Apple</li><li>Banana</li><li>Bottle</li><li>Box</li><li>Carrot</li><li>Chat bubble</li><li>Check mark</li><li>Clipboard</li><li>Dairy</li><li>Dairy free</li><li>Dryer</li><li>Eye</li><li>Fire</li><li>Gluten free</li><li>Heart</li><li>Iron</li><li>Leaf</li><li>Leather</li><li>Lightning bolt</li><li>Lipstick</li><li>Lock</li><li>Map pin</li><li>Nut free</li><li>Pants</li><li>Paw print</li><li>Pepper</li><li>Perfume</li><li>Plane</li><li>Plant</li><li>Price tag</li><li>Question mark</li><li>Recycle</li><li>Return</li><li>Ruler</li><li>Serving dish</li><li>Shirt</li><li>Shoe</li><li>Silhouette</li><li>Snowflake</li><li>Star</li><li>Stopwatch</li><li>Truck</li><li>Washing</li><li>Chat</li></ul></td></tr><tr><td>Image</td><td>You can customize the image in the menu link by adding a custom image in its place.</td></tr><tr><td>svg</td><td>You can customize the icon in the menu link by adding a custom svg code in its place.</td></tr></tbody></table>
