# Mega Menu

"A mega menu is an expansive dropdown menu featuring multiple levels of nested items, typically starting from a top-level category.

Implementing a mega menu enhances the browsing experience for shoppers by facilitating easy navigation through your product offerings and additional information. It's an ideal design solution, especially for websites with numerous categories and subcategories. Additionally, its design allows ample space for incorporating images (banners) and other engaging content.

Given the unique characteristics and goals of individual stores, the type of menu required may vary based on factors such as store size, nature of products, and business objectives."

## 1. How to create a Mega menu

1\. Go to Shopify **Navigation** to create a menu.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FnoYHsKY8ybpPlYr5UNTT%2F1.png?alt=media&#x26;token=67bb38fe-6b35-4ee6-8d42-7c38b263ac35" alt=""><figcaption></figcaption></figure>

2\. Click **Add menu** to add new or choose any items below the menu to edit.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FQVSuPfJCrlsA4qBJrFZi%2F2.png?alt=media&#x26;token=a092512b-89c2-4635-8a4a-280adda2b26e" alt=""><figcaption></figcaption></figure>

3\. Write the menu's name, then choose **Add menu item.**

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FWScjNk7X8blfO1yFjRLW%2F3.png?alt=media&#x26;token=8be78498-8bb5-4c82-8bca-97dd631a1974" alt=""><figcaption></figcaption></figure>

4\. Write the menu item's name and choose the item in the dropdown box > click **Add.**

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FhhTzpFOg6pJsIwZoE2MH%2F4.png?alt=media&#x26;token=05306041-be5b-43c3-9253-1e85f8305caa" alt=""><figcaption></figcaption></figure>

5\. To add an item to a child menu, drag it under the main item.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FIFBpM6nLNm1YyOVrXuUA%2F5.png?alt=media&#x26;token=c425eadf-a4a2-4681-97e9-864554aab31b" alt=""><figcaption></figcaption></figure>

Menu items can also be added to create the same level as a child menu.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2Fj4PyiMPqh9inIPyUXRj7%2F6.png?alt=media&#x26;token=31b45307-6b27-4a55-8e59-ece98c2736b2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to create a mega menu, you need to add third-level items.
{% endhint %}

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FoVbZEcSbsrPD4IWaF5tF%2F7.png?alt=media&#x26;token=6f318a7b-ce26-465a-88bb-e6513f3db751" alt=""><figcaption></figcaption></figure>

## Add a Menu to theme

1\. Go to **Themes > Customize**

2\. Click on the **Header** section > **Menu** to add the menu you have created.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FhsdzYgeiMbBs6zRy5tWP%2F8.png?alt=media&#x26;token=b2cad7f4-0856-4f92-a2cd-e295d1dcd7d4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FpvjB0Ip4Bf9PnGpLhqCx%2F9.png?alt=media&#x26;token=a88591a8-9e30-490c-8c9e-b9dac67028bf" alt=""><figcaption><p>The newly created menu is now shown on your storefront.</p></figcaption></figure>

{% hint style="success" %}
To activate the mega menu, navigate to the Header section, then select "Add block" > choose the desired Mega menu block, and enter the precise menu item name.

{% endhint %}

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2Fs1KKAaYpqyQsGJ36hUVP%2F10.png?alt=media&#x26;token=0b8d1595-1b26-4b1f-975c-84760c3640c3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FqhwcByG3jDF21fPmx5Sf%2F11.png?alt=media&#x26;token=3eeb086e-c3a3-4158-bdfc-cd9eeb64644b" alt=""><figcaption></figcaption></figure>

## Add a top bar to the menu

To achieve the result above, kindly follow the steps:

1\. Go to **Themes > Customize**.

2\. In the **Header** section, select **Add block** > choose **Top bar.**

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2F8HVaR3ePFyWTL2ZRRF2Q%2F12.png?alt=media&#x26;token=a4046ef7-8dc2-4e97-81f3-07fa2f24a3cb" alt=""><figcaption></figcaption></figure>

3. Toggle the divider, transparent effect, and addons by checking or unchecking the respective boxes.

You can input a message or leave it empty if you prefer not to display one.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FSfXEjiimqQnuu0xrvIwO%2F13.png?alt=media&#x26;token=3a997337-a6ec-4c2c-9f76-92902d15aa89" alt=""><figcaption></figcaption></figure>

## Add a banner to the mega menu

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2Fib5O5W3xe21Ux6O5DQDv%2F13.avif?alt=media&#x26;token=bda1fb4b-0eb6-4b18-abeb-01ddac2c16f8" alt=""><figcaption></figcaption></figure>

To achieve the aforementioned outcome, please follow these steps:

1. Navigate to Themes > Customize.
2. Within the Header section, select Add block > opt for Banner (Mega menu).

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2Fghtkt4MA4gB0NYcWIHI0%2F15.jpg?alt=media&#x26;token=0753a1af-710b-441c-a28d-629a993c533d" alt=""><figcaption></figcaption></figure>

3\. Match the text in **For item** element with the corresponding menu item you want to add a banner.

Select container wrapper width: use header' container, default, full width, or use container box.

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2FBUlqDSmuXX3SKuqfgTc8%2F16.png?alt=media&#x26;token=2dfa92b0-768c-434d-96dd-4c1889a01066" alt=""><figcaption></figcaption></figure>

4\. In **Settings**, add an image and insert a **link, title, subtitle** and **button label** (optional).

<figure><img src="https://2059493604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRPWLB8MHorBB5Xcu4UyI%2Fuploads%2F24ReLCBMiwyrV1Ajb3fM%2F16.avif?alt=media&#x26;token=f83f1543-076e-46df-a0a9-bb0f3235a68b" alt=""><figcaption></figcaption></figure>
