# Header

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FUlqSMVR4uXKpyayeApKP%2FFox-BG%20Light%20(4).jpg?alt=media&#x26;token=bc6ee3e5-8305-4e08-9f50-65b2f30c3665" alt=""><figcaption></figcaption></figure>

The header is a content block at the upper part of your website that appears on every page. It usually contains the logo of a store, the main navigation menu, and other elements such as a search bar, shopping cart icon, etc.

The header plays a vital role in branding your site, helping visitors navigate, and displaying your most important pages.&#x20;

## How to edit Header section

You can freely customize your header to suit your business needs by choosing the main menu, and other addons.

{% hint style="success" %}
Steps:

1. Go to **Online Store >** **Themes > Customize.**
2. Choose **Header** section.
3. Make necessary changes **> Save.**
   {% endhint %}

### General

Decide how the logo and menu are displayed on your header by changing the **Layout** option:

{% tabs %}
{% tab title="Logo left, menu center" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FTbLq8S8gVgo5ylZzMiYn%2Fimage.png?alt=media&#x26;token=5676486c-d73b-4218-a58f-3db1b3b793ce" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Logo center, menu left" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FIzmn1M3xwa2JQkR3dLSX%2Fimage.png?alt=media&#x26;token=644ca475-5a8f-44df-9975-3b6f5b7d85b4" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Logo center, menu left and right" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FaJTfBUNFeACU7ct1bfJw%2Fimage.png?alt=media&#x26;token=191917b2-678b-4a2b-b90e-51fdef713e22" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Logo left, menu left" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FB6wVmeBZF5X1OpilC98E%2Fimage.png?alt=media&#x26;token=fd10e1be-5053-43fa-86a0-438f67462246" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Logo center, menu split" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FPWYVaV3jg8xe4hGdl8Jg%2Fimage.png?alt=media&#x26;token=97a951d9-e621-4849-97d5-ae88296112c4" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

**Enable sticky header** if you want the header remains visible when the user scrolls down the page.

The **Sticky behavior** is only available if the Sticky header is turned on.

* **On scroll up:** The header appears only when the user scrolls **up** (good for saving screen space).
* **Always:** The header stays fixed at the top of the page at all times.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FMMmfZeZroHpcTMylGoHA%2Fimage.png?alt=media&#x26;token=1485c9b7-d552-4aa3-b899-67e476826a0a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The Sticky behavior option is only available in Zest **version 9.0.0 and above**. :sparkles:

See [Changelog](https://help.foxecom.com/changelog/zest?utm_source=foxecom\&utm_medium=help_center_zest_header\&utm_campaign=anchor_text\&utm_term=changelog).
{% endhint %}

{% tabs %}
{% tab title="On scroll up" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FvyRm1BWmr2N8pHwJNnj1%2FAnimation111.gif?alt=media&#x26;token=c41677de-f648-41ed-a771-f23a56ea5283" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Always" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2Fve7pTYS36bc6SAB128nx%2Fheader_sticky_top.gif?alt=media&#x26;token=1e3eab47-cab0-4be3-848e-8386c066faee" alt="Zest theme&#x27;s sticky header"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="No effect" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FepiXuL45IoftyX2XXpRB%2Fezgif.com-gif-maker%20(1).gif?alt=media&#x26;token=98a592de-9c11-4508-b0f1-174168b69763" alt="Zest theme&#x27;s header with no effect"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

You can **Enable transparent header** to create a visually appealing and immersive experience for your customer.

{% hint style="warning" %}
This feature works on Home page only.
{% endhint %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FTb2Y4lcA4raCVHMzhGNO%2Fspaces_OdebKCa6IK9qfbdvSKj0_uploads_NiWgs3etPb3qYV2l7TjJ_ezgif.webp?alt=media&#x26;token=d0381d99-6323-45f6-8bcb-635555b48c46" alt=""><figcaption></figcaption></figure>

### Logo settings

Add a logo in the header to grab visitors' attention and set the tone for your brand.&#x20;

{% hint style="info" %}
The recommended image size and format is 200x80px .png with a transparent background.
{% endhint %}

* **Logo image**: This is the main logo that appears in your website's header.
* **Logo on transparent header**: If you enable a **transparent header**, this option allows you to set a different logo specifically for that view.
* **Logo on mobile**: This option lets you upload a separate logo for mobile devices.
* **Logo on mega menu hover**: This setting allows you to upload a specific logo that appears when users hover over a **mega menu** (if enabled).

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FKOfQiNVWPaAwLUACAHim%2Fimage.png?alt=media&#x26;token=e1d4c907-7346-43b6-8dd9-d17211f8026e" alt=""><figcaption></figcaption></figure>

You can resize the logo image by increasing or decreasing the width on desktop/mobile.

* **Desktop logo width**: This slider adjust the size of the logo displayed on **desktop screens** (50 - 250px).
* **Mobile logo width**: This slider controls the size of the logo on **mobile devices** (30 - 150px).

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FOvjP6tJZOsR8XwPPEMKw%2Fimage.png?alt=media&#x26;token=4ef3c539-0492-4237-ae8d-4f3f5f0b9485" alt=""><figcaption></figcaption></figure>

### Menu settings

This section lets you display your desired menu along with the logo. You can choose your desktop menu and mobile menu separately.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FTMKYBuZeff5icxccVExZ%2Fimage.png?alt=media&#x26;token=d9d10eb7-7085-4016-b664-6844033edc19" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To add, remove, or edit menus in your Shopify store, see [Editing menus](https://help.shopify.com/en/manual/online-store/menus-and-links/editing-menus)
{% endhint %}

* Dropdown menu trigger: Set the menu's dropdown to be opened by **clicking** or **hovering** on the menu items.
* **Enable mega menu** if you want. See [add-a-banner-to-mega-menu](https://docs.foxecom.com/zest-theme/pages-global-sections/menu/add-a-banner-to-mega-menu "mention")

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FzqYqZYuDgnNMmHPschUq%2Fimage.png?alt=media&#x26;token=db689b56-ebf3-44bd-9ee3-8925589eea92" alt=""><figcaption></figcaption></figure>

### Addons

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FnyVpOW5YVeKAoCP9XXgS%2Fimage.png?alt=media&#x26;token=3dae372e-d200-4502-b75b-262b8146c975" alt=""><figcaption></figcaption></figure>

The Addons setting allows you to enable or disable additional icons and features in your website's header such as search, currency selector, language selector, etc.&#x20;

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FCAuXP6s9nCKJPwSCT5n7%2Fimage.png?alt=media&#x26;token=f8f83a62-1b4c-4518-8383-0ec8d94498e4" alt=""><figcaption></figcaption></figure>

* **Show search icon**: When enabled, a search icon appears in the header, allowing users to search your website easily.
* **Show shopping cart**: When enabled, a shopping cart icon appears in the header.
* **Show account icon**: When enabled, an account icon appears in the header.
  * To set your **Customer account** preferences, see [this article](https://help.shopify.com/en/manual/customers/customer-accounts).
* **Show country/region selector**: When enabled, a dropdown menu appears in the header for users to select their country or region.

{% hint style="info" %}
Regarding the currency selector, language selector, and account icon, you must configure them in Shopify admin for them to show on the front end.&#x20;
{% endhint %}

:writing\_hand: To learn how to set up **Currency** for your store, check out this article:

{% content-ref url="../languages-and-countries-regions/countries-regions" %}
[countries-regions](https://docs.foxecom.com/zest-theme/languages-and-countries-regions/countries-regions)
{% endcontent-ref %}

* **Show language selector**: When enabled, a language switcher appears in the header, allowing users to change the website language.

:writing\_hand: To learn how to set up **Language** for your store, check out this article:

{% content-ref url="../languages-and-countries-regions/languages" %}
[languages](https://docs.foxecom.com/zest-theme/languages-and-countries-regions/languages)
{% endcontent-ref %}

### Mobile layout

Decide the **Logo position** on mobile view:

* **Left**: Logo left, hamburger left, menu icon right
* **Center**: Logo center, hamburger left, menu icon right.
* **Right**: Logo right, hamburger left, menu icon left.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FcFg4RJ7PprkFM8rw5SqS%2Fimage.png?alt=media&#x26;token=d8a04032-2675-45a0-8905-2b186b5677e1" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Left" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2F0mVVucM9B5twJ8FSBXaI%2Fimage.png?alt=media&#x26;token=eee12f6f-ca2f-491c-8e8c-a4e9e79899af" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Center" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FihAIAxz4zj1Ia3LlD97Q%2Fimage.png?alt=media&#x26;token=e93e04ff-2c2f-411c-9686-f75802c51c1e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Right" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2F1u8RoB4KsiiRbZBSWcQn%2Fimage.png?alt=media&#x26;token=619f1642-c9b2-478d-80a9-cefe807e9288" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FIjl1BCZvo3AanM78xkV4%2Fimage.png?alt=media&#x26;token=9cade339-9efd-4d37-b5e9-a48f68e6005b" alt=""><figcaption></figcaption></figure>

* **Show search icon**: When enabled, a search icon appears in the mobile header.
* **Show shopping cart**: When enabled, a shopping cart icon appears in the mobile header.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2Fi7iaTLjI3REAAgqz7OP9%2Fimage.png?alt=media&#x26;token=5f59ac66-ae7d-445e-8f41-96f63ced591e" alt=""><figcaption></figcaption></figure>

* **Show account icon**: When enabled, an account icon appears in the mobile header.
* **Show social links**: When enabled, social media icons (such as Facebook, Instagram, Twitter, etc.) appear in the mobile header.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FU3AkOSzNVTRgPuiLTheo%2Fimage.png?alt=media&#x26;token=6cb94565-c097-4bed-bf98-009ceae66e1a" 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://docs.foxecom.com/zest-theme/pages-global-sections/header.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.
