Customer Impact

Website & Development

What is a header? The role of your website header

Copy for AI

A header is the fixed bar at the top of every page of a website.

It holds your logo, the main menu and usually one clear action button. It’s literally the first thing a visitor sees, and it often stays visible while they scroll.

The verdict: a good B2B website header doesn’t show everything. It shows the few pages that matter and one action, because focus beats completeness.

For a site that has to generate leads, the header helps decide whether a visitor orients themselves and stays, or clicks away within seconds.

Below: what a header is, what goes in it, and how it drives conversion.

What exactly is a header?

It’s the recurring element that appears identically at the top of every page.

It’s the counterpart of the footer at the bottom. Because it’s everywhere and immediately visible, it’s your most important steering tool for navigation.

The header in HTML

HTML even has a dedicated <header> element for exactly this purpose.

The official MDN documentation describes it as introductory content, typically a group of introductory or navigational aids, such as a logo or a search form.

One detail matters for accessibility:

  • Site header: a <header> placed directly in the page body acts as the site-wide banner landmark
  • Section header: the same element inside an <article> or <section> loses that landmark status

The W3C page structure tutorial confirms that a nested header doesn’t get the banner role. Screen reader users jump to that banner, so put your global navigation in the top-level one.

For visitors and search engines alike, the header is a fixed point of reference.

What is a sticky header?

Often the header “sticks” to the top of the screen while you scroll. That’s a sticky header.

It keeps the menu and the action button within reach at all times.

Watch out: a sticky header costs screen space on every page. Nielsen Norman Group’s advice on sticky headers is to keep them compact and opaque, and only use one if visitors need its contents often.

If the header hides on scroll and slides back in, NN/g suggests a quick slide-in of roughly 300 to 400 milliseconds.

What are the components of a header?

A handful of fixed building blocks, each with its own job.

A header doesn’t have to be packed. The strongest header bars we see use only these:

HEADER ANATOMY What a focused B2B header holds LOGO Services Cases About Blog search Book a demo 1. Logo confirms where you are, links to the homepage 2. Main menu 4 to 6 pages that generate leads first 3. Extras search, language, log in: only if needed 4. One CTA the only filled, high-contrast button Example layout. Menu labels are illustrative; pick the pages that drive your leads.

Here’s what each component does, and the mistake we come across most often:

ComponentWhat it doesCommon mistake
LogoConfirms where you are and links back to the homepageToo small or not clickable
Main menuLeads to your most important pages (services, cases, about us)Too many items, no clear order
Call-to-actionCaptures intent with one primary action (contact or demo)Missing or blending into the menu
Search functionHelps find things quickly when there is a lot of contentAdded while the site does not need it
Contact or language switchLowers the barrier to call or pick the right languageDraws attention away from the main action

Not every site needs every component.

A small B2B site is often better off with just a logo, a short menu and one call-to-action.

What real B2B headers look like

Look at the top bar of Pipedrive’s homepage. Count the menu items and the filled buttons:

Pipedrive homepage header with the logo, five menu items (Features, Why Pipedrive, Resources, Contact sales, Pricing), search, language, log in and one filled Try it free button Pipedrive’s public homepage, checked 18 October 2026. Five menu items and one filled header button.

Five menu items, a few small utilities, and exactly one filled button: “Try it free”.

Teamleader’s header follows the same pattern:

Teamleader homepage header with five menu items, log in, a language switch and one filled Start your free trial button Teamleader’s homepage, October 2026. Log in and language stay as quiet text links.

And Webflow’s header does too:

Webflow homepage header with six menu items, Log in and Contact Sales as text links, and one filled Start for free button Webflow’s homepage, October 2026. Two secondary actions as text, one primary action as a button.

Three products, one rule: secondary actions are text links, the primary action is a button.

Why does the header matter for your B2B site?

Because it’s both the first impression and the navigational heart of your site.

In B2B, decision-makers judge quickly. That first glance decides whether someone takes you seriously.

A messy header sows doubt. A clear one radiates professionalism.

First impression

A logo, calm and clarity immediately show that you’re a reliable party.

A visitor forms an opinion within seconds, before reading a single word. A well-crafted header buys you the trust to show the rest of the page.

A bar full of banners, pop-ups and competing buttons does the opposite.

The header also sits above the fold, right on top of your hero section. Together they form the first screen.

A logical menu helps visitors find the right page straight away.

The order and wording of your menu items steer where people click. So put the pages that generate leads up front.

More on that under website navigation. Short, plain labels work best; our guide to microcopy explains why.

Orientation

A good header makes it clear at a glance what you do and who you do it for.

That’s exactly what a B2B homepage that converts needs.

Visitors should know at once whether they’ve landed in the right place.

How does the header affect your conversion?

It doesn’t only help people navigate. It actively steers toward conversion.

The call-to-action in your header is often the most clicked button on your entire site, simply because it’s always visible.

A visitor who becomes convinced doesn’t have to look for the next step. It’s already right at the top.

The header as a conversion lever

That makes the header a lever for your conversion rate.

A clear, consistent action button captures intent at any moment during the visit. If it’s missing or lost in a busy menu, you leave leads on the table.

In conversion-focused web design, attention therefore often starts at the top.

How to check whether your header converts

Three checks tell you how your header performs:

  1. Clicks: a heatmap shows whether the header button gets clicked (website heatmaps)
  2. Scroll: if people scroll far, a sticky button stays useful (scroll depth)
  3. Rate: compare conversions before and after a change with our conversion rate calculator

On our own site: we follow the same rule. The English header has five menu items (Home, About, Blog, Services, Results), one accent Contact button, and it’s sticky.

What does a concrete B2B header example look like?

For example, say a software company has a menu with ten items and three buttons at the top: log in, request pricing and try for free.

Visitors click in every direction. The most important action, requesting a demo, disappears into the noise.

Now cut the menu back to four items and reduce the bar to one primary button.

The visitor immediately knows what’s expected.

In practice we see that such a simplification doesn’t lead to less action, but to more, precisely because the choice becomes clearer.

Before and after

Here’s the same header, side by side:

BeforeAfter
Menu items104
Filled buttons3 (log in, pricing, free trial)1 (request a demo)
Log inFilled buttonSmall text link
What the visitor seesChoicesOne next step

Rule of thumb: if two buttons in your header look equally important, one of them should become a text link.

What are the common header mistakes?

Most header mistakes come from adding, not from leaving out.

These four come up most:

  • Too many menu items: every extra choice lowers the odds of the right one
  • No visible action: the visitor has to hunt for the next step
  • Competing buttons: three equally prominent buttons send nobody anywhere
  • No mobile version: the menu should fold behind a clear icon

On a small screen, the menu belongs tidied away behind that icon, with the most important action still in view. Our guide to mobile conversion covers the rest of the small screen.

Mistakes you don’t see at first

Two less visible ones:

  • Low contrast: a see-through sticky header makes menu text hard to read
  • No keyboard access: menus that only open on hover lock out keyboard users

Run a first scan with our WCAG checker, then test the menu with the Tab key yourself. Our guide to website accessibility explains the rest.

Why does focus beat completeness?

Because a header with ten menu items and several buttons paralyses the visitor instead of steering them.

Every extra choice lowers the odds that someone makes the right one. In B2B, focus wins.

Our advice when developing your website:

  1. Limit your menu to the pages that genuinely matter.
  2. Give your site one clear primary action.
  3. Keep the header calm.

Send the visitor to the next step instead of showing them everything at once.

Frequently asked questions

What belongs in a header?

Usually your logo, a limited main menu with your most important pages and a clear call-to-action. Keep it calm and focused, so the visitor immediately knows where they can go.

What is the difference between a header and a footer?

The header sits at the top of every page with the logo, menu and action button, and forms the first impression. The footer sits at the bottom with contact details, extra links and legal information. Both return on every page.

What is a sticky header?

A sticky header stays visible at the top of the screen while the visitor scrolls. That keeps the menu and the call-to-action within reach at all times, which benefits navigation and conversion.

How many menu items belong in a header?

As few as possible, usually five to seven. Too many choices paralyse the visitor.

Stick to the pages that genuinely matter and give one primary action priority.

Want to know whether your header steers visitors?

We’ll look at your website and tell you whether your header inspires trust and leads to the right action.

You get concrete improvement points instead of generic tips. Contact us.

Free website scan

Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.

Where should we send your report?

We only use your details for your scan. No spam, unsubscribe anytime.