---
title: "How to use a header bar block in an email"
description: "Learn about header bar blocks, which are used to add a logo, key links, and other information to the top of your emails."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/32201419926939"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/32201419926939.md"
locale: "en-us"
category: "Content"
section: "Build and use templates"
updated: "2026-10-28"
---

# How to use a header bar block in an email

## You will learn 

Learn about header bar blocks, which are used to add a logo, key links, and other information to the top of your emails.

## About header bar blocks 

Header bar blocks can contain a logo and any links you want to highlight. Consider including some of the following links in your header bar: 

- Home

- About us

- Shop now 

- New 

- Best sellers 

- Sale 

- FAQ

- Returns & exchanges (in order follow-up emails) 



Be judicious when adding links; including too many can make your email look crowded and hard to navigate. 

### Header bar block format options 

You can choose different arrangements of the buttons and logo for desktop and mobile: 

- **Desktop layout options**

  - Logo stacked 

  - Logo inline 

  - Logo centered 

  - Links and buttons only 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/e39128a4be9daff94809bd1882d2874a481e8cf8-702x512.png?auto=format)

- **Mobile layout options**

  - Stack all 

  - Logo stacked

  - Logo inline

  - Links and buttons only 

  - Stacked links and buttons only




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d84cef776dbaf62ef93544c5ce2a3328c055b36a-696x584.png?auto=format)

If you select **Links and buttons only** for **Desktop layout**, the logo is removed from the block. **Mobile layout** is then limited to **Links and buttons only** or **Stacked links and buttons only**.

Using a stacked format on mobile can make your buttons easier to read and click, as mobile screens are much smaller. 

## Add a header bar block to an email

1. Within an email template, drag a **Header bar** block into the canvas. 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/8c2c831ccf60a226cd8ea671a91e6d8c2fe34d9f-708x572.png?auto=format)

2. Select the header bar block, then choose **Desktop layout** and **Mobile layout** in its **Styles** tab.

3. If your desktop layout includes a logo, review **Logo image** under **Desktop layout**. A logo set in your email defaults under **Content > Media & brand > Defaults** is pre-filled. Use **Logo image** to add or replace it for this email.

4. Use the dropdown arrow icon to see each link’s details and edit its link text and URL. 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/da2339d602845be18c92c647eea59cf9d44b5142-700x350.png?auto=format)

  1. To save space on mobile, consider selecting **Desktop only** for any non-essential links. 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/50b0488f803a8467485f8635e834210b2b18f751-636x618.png?auto=format)

5. Use the **Add link** or **Add image** buttons to add additional links or content. Expand each new item to enter its link text and URL or select its image. 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/1979ee17c7df51a56579e4c285d656e0c34f4038-694x456.png?auto=format)

6. Use the settings below the **Content** section to style the link text, including fonts, colors, and padding. 



### Save a header bar for use in future emails 

Most emails you send should include a header bar. To save a header bar block as universal content for reuse in future emails:

1. Click the star icon next to the header bar block.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/7c5f367dc6beb87fc65fe505d51dcb38a8b3efd6-344x254.png?auto=format)

2. In the **Create universal content** window, enter a name in **Universal content name**.

3. Click **Create**.



Learn more about [universal and saved content](https://help.klaviyo.com/hc/en-us/articles/115005413888.md).

## Header bar block inbox considerations 

Depending on the recipient’s inbox, the header bar (or email as a whole) may appear with slight differences. To see how your email will appear in different inboxes, consider using a tool like [Email on Acid](https://www.emailonacid.com/). 

### Header bar blocks and Gmail clipping 

Header bar blocks are code-heavy, which means they increase the overall code weight of your email. In messages that contain a large amount of other content, this could lead to [Gmail clipping](https://help.klaviyo.com/hc/en-us/articles/115000591251.md). 

If your message is at risk of clipping, consider using an image block for your logo, followed by a table block with your links. 

### Header bar blocks and Microsoft Outlook

Due to Outlook’s unique HTML rendering engines, a border may be added to your header bar elements for recipients using Outlook. 

To avoid this, create a header using an image block for your logo and a table for your links.

## Additional resources

- [How to use a text block in an email](https://help.klaviyo.com/hc/en-us/articles/32200923751195.md)
  Learn how to use text blocks in Klaviyo’s email template editor, including how to style them, add personalization tags, and use AI to draft and revise your copy. 
- [How to update your brand styles in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/4403537778331.md)
  Learn what to update in Klaviyo when rebranding or refreshing your brand’s design. 
