# Mega menu

### What's a mega menu

A mega menu is a stylized submenu that allows you to also add an image to your navigation. It can be used to put more links together and group them in a form of subcategories.

<figure><img src="/files/a8cP8FYrzeedbbpLGXIb" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The mega menu in Palo Alto 5.0 works automatically based on two criteria:

&#x20; 1 - If there is an **image** selected for the submenu, the mega menu is enabled.

&#x20; 2 - If there are **third-level links**, the mega menu is enabled.
{% endhint %}

{% hint style="warning" %}
**Note:** The mega menu is automatically ***disabled*** when the hamburger navigation is enabled.
{% endhint %}

### How to add a new mega menu

To add a new mega menu you need to click on the **header** section arrow to expand it after which click on 'add image'.

<figure><img src="/files/WXGyUnFlT5D5wfpUXbvW" alt=""><figcaption></figcaption></figure>

Setting up the mega menu can be done by accessing the block settings.

Here you will find the option to add it under any first-level link in your header as well as the options to add the image.

<figure><img src="/files/CEXRbVdoC7oa1tx0poUN" alt=""><figcaption></figcaption></figure>

To get a list of links like the one from our demo you'll need to simply set them up from your navigation menu as standard drop-down menus.

You can learn more about this in Shopify's great articles on the topic.

{% embed url="<https://help.shopify.com/en/manual/online-store/menus-and-links/drop-down-menus>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://palo-alto.presidiocreative.com/header/header/header-section/mega-menu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
