# Mega navigation

{% hint style="danger" %} <mark style="color:red;">Theme retirement</mark> | Context is no longer available on the Shopify theme store. **Theme support and updates for current users will end after May 18, 2024**. [Learn more here](https://help.fluorescent.co/context/readme/theme-retirement).
{% endhint %}

{% hint style="info" %}
**Update** | New mega navigations blocks were added to v4.0 on April 27 2022. See our [changelog](https://fluorescent.co/help/Context/changelog) and [Theme update guide](https://help.fluorescent.co/context/readme/theme-updates) to learn more.
{% endhint %}

A **Mega navigation menu** displays menu links in multiple columns so customers can browse large catalogs quickly and easily. Add multiple sub-menus along with a featured image, text, and links to customize your mega nav.

{% hint style="warning" %}
**Note |** If you have multiple languages enabled, you need to add separate mega nav blocks for each language. After adding a mega nav block in your default language, set up [**Multi-lingual mega navs**](#add-multi-lingual-mega-navs) by using translated link names for the **Dropdown parent link**.
{% endhint %}

## Watch video tutorial

Watch the **tutorial video** below for a step-by-step walkthrough to set up your mega nav menus.

{% embed url="<https://www.youtube.com/watch?v=QsisSKijx6Q>" %}

### 1. Create nested menu list

The mega navigation menu uses the **Main menu** selected in the **Header** section settings. For the mega navigation, you first need to create a nested menu with 3 levels of links.

**We will look at the Context Chic demo as an example:**

In the [Context Chic demo](https://context-theme-chic.myshopify.com/), the top-level link is "**Shop**" with three nested sub-menus. Clicking the **Shop** link opens the mega navigation menu.

The 2nd-level links ("**Collections**", "**Type**", and "**Everything**") display as titles for each column and contains the 3rd-level links to collections.

Here's what the **Main menu** looks like in the Shopify admin with the three nested link levels:

<details>

<summary><mark style="color:blue;">STEPS</mark></summary>

In your **Shopify admin**:

1. Click **Navigation** under **Online Store** in the admin panel.

   ![](https://3096289102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvbp0IBkqpivnJ0UBSwsh%2Fuploads%2Fgit-blob-791229a92fb7fbb759c55d8c9f94ce9d8eac5ebe%2Fadmin-navigation.jpeg?alt=media)
2. Select the **Main menu** or the menu you want to edit.
3. Add a top-level link (for example: "Shop") in your **Main menu** that will open the mega nav and contain the nested sub-menus.
4. Add your 2nd-level menu links and use the drag handles **`⋮⋮`** to move them under the top-level link.

   ![](https://github.com/fluorescent/kb-context/blob/main/.gitbook/assets/header-mega-drag.jpeg)

   > In the Chic demo, the second-level links are "**Collections**", "**Type**", and "**Everything**".
5. Add your 3rd-level menu links and use the drag handles **`⋮⋮`** to move them under the 2nd-level links.

   > In the Chic demo, the 3rd level links are collections.
6. Click **Save**.

</details>

### 2. Add mega nav menus

Once you have created your nested menus, you can now add **mega nav blocks** to your **Header** in the theme editor.

{% hint style="warning" %}
**Note |** If you have **multiple languages** enabled, you need to add separate mega nav blocks for each language. After adding a mega nav block in your default language, set up [Multi-lingual mega navs](#add-multi-lingual-mega-navs) by using translated link names for the **Dropdown parent link**.
{% endhint %}

<details>

<summary><mark style="color:blue;">STEPS</mark></summary>

In your theme editor (**Customize**):

1. Click the **(+) Add block** button.

   ![](https://github.com/fluorescent/kb-context/blob/main/.gitbook/assets/header-mega-blocks.jpeg)
2. Select the **Mega nav** and click on the block to open the settings.
3. Enter the exact name of the top-level link (e.g. "Shop") in the **Dropdown parent link** field.

   > If you have multiple languages enabled, you need to add separate mega nav blocks for each language. Duplicate the first mega nav block and enter the translated name of the top-level link for the **Dropdown parent link**. For step-by-step instructions, refer to Multi-lingual mega navs steps below.
4. (*Optional*.) Select or upload a **Mega nav featured image** to display inside the mega navigation menu. This image is not displayed on mobile.

   ![](https://3096289102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvbp0IBkqpivnJ0UBSwsh%2Fuploads%2Fgit-blob-22bd032fdc6db35215ef1347e54ab5a126df4e75%2Fheader-mega-featured.jpeg?alt=media)
5. (*Optional*.) Underneath the featured image, add a **Featured image heading**, a **Featured image link** and **link text**. The caption and link are not displayed on mobile.
6. Click **Save**.

</details>

### Add multi-lingual mega navs

If your store has multiple languages, you need to add separate mega nav blocks for each language, and enter the translated link name for the **Dropdown parent link**.

For example, if your store has 2 languages (English and German), you will need 2 mega nav blocks. For the first mega nav block, use the default language for the **Dropdown parent link** (e.g. "Shoes"). For the second mega nav block, use the translated link name for the **Dropdown parent link** (e.g. "Schuhe" for German).

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click the arrow beside the **Header** section.
2. Click on the mega nav block that uses the default language.
3. Click **More** **`...`** at the top of the block settings, and select **Duplicate**.

   The duplicated block settings will open after you click **Duplicate**.
4. Enter the translation of the top-level link name in the **Dropdown parent link** field.

   > For example, if the default link name is "Shoes", enter the translated link name "Schuhe" for German.

   > You can check the exact word for the translated link by using the language selector in the theme editor preview.
5. If your mega nav block has promotional text, add translations in the block setting or in your translation app.
6. Click **Save**.

</details>

<br>

***

> **Related links**
>
> [Header](https://help.fluorescent.co/context/pages/header)
