Back to Support Design Your Site Site Editor Edit the Header

Edit the Header

The header is the top part of a website that typically shows the site title, a logo, and a navigation menu. This guide will show you how to customize your website’s header.

Requirements

To follow the steps in this guide, choose a theme that supports the site editor. A quick way to determine if your site uses the site editor is to check for Appearance → Editor in your site’s dashboard.

Edit the Header

To customize your header, you’ll edit the Header template part. By editing this template part once, the changes will take effect on all pages of your site where this header is shown.

Follow these steps to access the header template part:

  1. Visit your site’s dashboard.
  2. Navigate to Appearance → Editor to open the Site Editor.
  3. Click Patterns to view all of your site’s template parts.
  4. Scroll down below the list of pattern categories to the “Template Parts” section and select the Header template part:
The Header template part is highlighted at the end of the Patterns list.
  1. Select your active header template part. Your theme may include multiple variations of your header to choose from here.
  2. Click the pencil icon to close the left sidebar and open the editing interface.
  3. Open List View to see a list of all blocks in the header. You can add, remove, and rearrange the content here, as described in the remainder of this guide.

Add Elements to Your Header

You can add several elements to your header. This guide will cover the most frequent: a logo, menu, search bar, and social menu.

A focused view of the header template part with numbers by each block added.

💡

You can use List View to keep track of all the blocks in your header, quickly select the exact blocks you need, and move them around as desired.

To add a logo to your header:

  1. While editing the header, click on the + Block Inserter button.
  2. Search for the Site Logo block.
  3. Click the Site Logo block to insert it.
  4. Upload your logo image.
Clicking the logo place holder and selecting an image to add to the logo section of the header.

Once you’ve added the Site Logo, you can use the left and right navigation arrows to change the position relative to the other header elements:

Moving the logo using the arrows in the toolbar above the Logo block.

Finally, you can change its size by dragging the selection points in and out until the size is suitable:

Resizing the logo using the handles on the outline of the Logo block.

When you’re finished, click Save to save your changes.

Add a Navigation Menu

To add a menu to your header:

  1. While editing the header, click on the + Block Inserter button.
  2. Search for the Navigation block.
  3. Click the Navigation block icon to insert it.

Once the Navigation block is added to your header, you can customize it following our detailed guide on using the Navigation block. You’ll learn how to insert a navigation block, add links, create submenus, modify link settings, and more.

When the menu is ready, you can reposition it using the left and right arrows. When you’re finished, click Save to save your changes.

To add a search bar to your header:

  1. While editing the header, click on the + Block Inserter button.
  2. Search for the Search block.
  3. Click on it to insert it:
Adding a block by clicking the plus icon and searching for the Search block.

Once you’ve added the Search block, you can use the left and right navigation arrows to change the position relative to the other header elements. You can also change its size by dragging the selection points in and out until the size is suitable.

When you’re finished, click Save to save your changes.

Read more about using the Search block. You’ll learn how to add the block, change the search button text, change the font and the colors, change the search box width, change the alignment of the search box, and more.

Add Social Media Icons

To add social icons to your header:

  1. While editing the header, click on the + Block Inserter button.
  2. Search for the Social Icons block.
  3. Click on it to insert it.

Once you’ve added the block, you can start adding social profiles following the steps in our Social Icons block guide.

Adding the Social Icons block and then using the plus icon in the block to add specific social icons.

Once all your icons are added, you can select the block by clicking the Social Icons block in the List View, then use the left and right navigation arrows to change the block’s position relative to the other elements of the menu:

Reordering the social icons in the Social Icons block using the List View to drag them into the preferred display order.

When you’re finished, click Save to save your changes.

Read more about using the Social Icons block. You’ll learn how to insert the icons, add your social profiles, change the type of icons, style or remove your icons, and more.

Rearrange the Header Elements

You can customize where elements in your header appear by moving, grouping, and adding blocks to your header.

A header often uses Group blocks and Row blocks to determine how elements appear next to or below other elements:

The List View in the Site Editor open, with arrows pointing from the "Row" labels to the rows in the preview.

In the example image above, the two rows indicate that the content contained within each row should appear side-by-side.

You can move elements around by dragging them to a new section within the header:

  1. Open the List View.
  2. If you see a > to the left of a block name, that means there are blocks nested within that block. Click the > to expand the block until you locate the block you want to move.
  3. Drag the block name to the section where you want it to appear in your header.

This brief video displays the Social Icons block being moved to a new section using the List View. Also included are steps to open the block settings sidebar to center the icons.

Slow down or speed up the video using the controls in the lower right corner after clicking Play

Create a New Header

A header is typically included with your site’s theme. However, you may wish to add a new header when creating your own template or if you accidentally removed the header from a template. To add a header, follow these steps:

  1. Visit your site’s dashboard.
  2. Navigate to Appearance → Editor → Templates.
  3. Choose the template you want to add a header to.
  4. Click the Edit button (pencil icon beside the template name) to edit the template.
    • Alternatively, click the + icon to add a new template.
  5. Click the + block inserter and search for the template part Header. Click to add it.
    • Make sure the Header is added to the top of the template. If not use the move button on the toolbar to move it to the top of the template.
  6. Click Save.

Use a Header Pattern

Choose a premade header block pattern to quickly insert a beautiful and professionally-designed header layout. The video below demonstrates the process of editing the header and replacing it with a block pattern following these steps:

  1. In your site’s dashboard, go to AppearanceEditor.
  2. On the left sidebar, choose the Template with the header you want to change.
  3. Click the pencil icon next to the template name to open the editor and close the left sidebar.
  4. Open List View.
  5. Click the three dots to the right of the header template part, and select Replace header.
  6. Browse through the header patterns and choose the one you like. The pattern will be added to your site’s header area.
  7. You can then replace text and images in the new header pattern with your content.
Slow down or speed up the video using the controls in the lower right corner after clicking Play

Create Different Headers for Different Pages

You may wish to display different header content on one page (such as the homepage) compared to other pages. Here’s how:

  1. Visit your site’s dashboard.
  2. Navigate to Appearance → Editor to open the Site Editor.
  3. Click Patterns to view your site’s template parts – small pieces of content that can be reused across your site.
  4. Click the + icon next to Patterns to create a new template part.
    • Type a name for your new header that describes what it’s for.
    • Select Header as the area.
    • Click Create.
  5. Click the + block inserter icon to insert any blocks or patterns you wish to use.
  6. Once you have finalized your new header design, click Save.
  7. Edit any page or template on your site where you wish to display this new header.
  8. Click the + block inserter and search for the name of the new header you created in step 4. Click to add it to your site.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!