# Header and footer navigation links

There are two navigations in Ghost- Primary and secondary. In this theme the primary navigation is shown in header and the secondary navigation is shown in footer.

#### Primary navigation <a href="#primary-navigation" id="primary-navigation"></a>

Primary navigation of this theme supports one level dropdown menu items. This theme allows you to create dropdown menus by using **square brackets** in the menu name.

**How it works:**

* Go to **Settings > Navigation > Primary Navigation**.
* Add a menu item name followed by a label inside brackets: **\[main menu item]**.
* The text inside the brackets will become the dropdown menu title.
* All menu items using the same bracket label will be grouped together automatically.
* They will appear under one dropdown menu in the navigation.

**Example (label used here is just an example):**

* `Lifestyle [Topics]`
* `Nature[Topics]`
* `Travel[Topics]`
* `Inspiration[Topics]`

All these items will appear inside a dropdown menu called **Topics**. For reference, please check the below snapshots:<br>

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

#### Secondary navigation <a href="#primary-navigation-1" id="primary-navigation-1"></a>

In the secondary navigation, you can create **menu headings** by adding a **#** at the beginning of a menu item name.

**How it works:**

* Go to **Settings > Navigation > Secondary Navigation**.
* Any menu item that starts with **#** is treated as a **heading.**
* That item itself is **not clickable.**
* All menu items listed **below it** appear as normal links under that heading.
* The next **#** item starts a new heading section.

**Example:**

* `#Pages`
  * Home
  * About
  * Tags
  * Membership
  * Contact Us
  * 404
* `#Post Template`

  * Default  Post
  * No Image Post
  * Wide Image Post
  * Full Image Post
  * Image Slider Post
  * Gallery Style Post

  This allows you to neatly group related links under clear section titles, making the secondary navigation easier to scan and more organized for users. For reference, please check the below snapshots:

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


---

# 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://themesupport.gitbook.io/gravity-docs/general-settings/header-and-footer-navigation-links.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.
