Website headers

A header is the navigation bar at the top of a page. It carries your logo, the menu links and usually one call to action, and it stays in place as visitors move through the site. Headers are built and stored on their own, separately from any page.

One header, many pages

You can keep as many headers as you need. A full menu suits your marketing pages, a shorter one suits landing pages and a third can carry the blog. Build a header once, attach it to a layout, and every page on that layout picks up the same navigation.

The headers list

Go to Website > Headers to see every header in the project. The table shows a Name column and a Header preview column, with a search field above it and Edit and Delete on each row.

The Headers list in the console, with a search field, a Name column, a Header preview column and Edit and Delete buttons on the row.

The Headers screen

Every header in the project sits on one screen. Create Header in the top right starts a new one.

  • Name. The internal label for the header. Your team sees it, visitors never do.
  • Actions. Edit opens the header in the visual builder. Delete removes it from the project.
  • Empty state. With no headers yet, the screen prompts you to create the first one.
  • Search and pagination. Filter the list by name and page through it once the project holds a few headers.

The header editor

The header editor with the Add Block palette on the left, a header on the canvas showing the logo, menu links and a call to action button, and the toolbar with the locale switcher and Save at the top.

The editor and its toolbar

A header opens in the same visual builder as a page, with the block palette on the left and the header itself on the canvas. The toolbar across the top holds the editing, preview and settings controls.

  • Undo and redo. Step backward or forward through your recent edits.
  • Device preview. Switch between desktop, tablet and mobile.
  • Quick view. Hide the editing controls and look at the header on its own.
  • Light and dark preview mode. Switch the canvas background to check that the navigation text stays readable on both.
  • Locale switcher. Edit the header text in each language the project publishes in.
  • Preview. Open a live preview in a new window.
  • Settings. Open the header settings dialog.
  • Save. Save your changes and apply them everywhere the header is used.

Test on all devices. Check the header on tablet and mobile in the device preview. The menu collapses to a hamburger at narrow width, and that button has to be big enough to tap.

Building your header

Headers are built from sections and columns, the same as a page. They lean on a smaller set of blocks made for navigation, and the main one is the Main Menu block, which holds the logo, the links and the call to action together.

  • Logo. Set the height and Giant Context pulls the right logo file from your Branding settings. It links to your homepage by default.
  • Menu items. The navigation links. Keep the labels short and readable against the header background.
  • Call to action button. The one action you want visitors to take. Give it your brand's primary color so it stands apart from the links.
  • Layout options. How the header behaves as visitors scroll. A sticky header keeps the navigation and the button in reach down the whole page.
  • Styling. Fonts and colors come from your branding settings, so a header matches the rest of the site without being styled again.
  • Mobile and languages. Use the locale switcher to write the navigation text in each language, then check the result at mobile width.

Building a custom header. The Main Menu block is the quickest route, and it is not the only one. Combine a standalone Logo block with text and button blocks to lay out a header of your own design.

Connecting headers to pages

A header only reaches visitors once it is attached to pages. There are two ways to do that:

Through a layout

Assign the header to a website layout. A layout defines the shared structure for a group of pages, so every page on it inherits the header you picked. This is the route to take when you want the same navigation across a whole part of the site, because changing the layout changes every page at once.

Direct assignment on a page

You can also set a header on one page. Open the page settings, go to the Design tab and pick a header from the Header dropdown. Use it for a standalone landing page that needs its own navigation, or none.

Headers written by Mind

When you ask Mind to generate content, a header can come with it. Generated headers arrive as drafts with an info bar at the top of the editor saying so. Review the layout, change the links and accept or reject it, the same as any other draft.

Settings dialog

Click the settings icon in the toolbar to open the header settings dialog. It holds:

  • Rename. Change the header's internal name.
  • Header ID. The identifier to use when you reach the header through the API.
  • Timestamps. When the header was created and last updated.

Best practices and troubleshooting

  • Keep navigation focused. Five to seven items in the top-level menu is enough. More than that and visitors read past the link you wanted them to take.
  • Anchor your logo. Link the logo back to the homepage by setting its URL to /. Visitors expect it there and use it to start over.
  • Match the header to the goal. Make a separate header for the contexts that need one. On a landing page or a signup flow, a header with no navigation links keeps visitors on the one action.

Common questions

How do I fix the header on mobile

Open the mobile preview and check three things. The hamburger menu opens and closes, the logo height is small enough to leave room for it, and the call to action button is large enough to tap.

How do I handle a transparent overlay header

An overlay header sits on top of the page content instead of above it, so the text color has to work against whatever the section underneath uses. Check it against every hero image the header appears over.

Built Autonomously With AI

This content was built autonomously. Giant Context analyzed the site, determined what was missing, created and submitted an idea and draft, which Giant Context staff accepted and published.

Powered by Giant Context