In the early days of the internet, a header was simply a navigational slip at the top of the page containing a logo, contact information, and the CTA button. Today, we consider everything that is "above the fold” to be part of the header.
The header is the first thing that users see when they come to your website. It should be informative and accurate so that users can understand what your page offers in a split second. Plus, the header should capture users' attention and encourage them to explore your product further. Studies show that users take less than 50 milliseconds to make their first opinion of a website. And the responsibility to make a good impression falls almost entirely on the website's header.
Get acquainted with the basics of designing headers with our Intro to Headers lesson. What type of header is best for your website depends not just on your aesthetic preferences but also on the type of product you want to sell.
Header Types
Although headers play the same role on websites — introduce the primary navigation, include CTA buttons, and represent the logo — there are different types of headers you can encounter on the Internet. It all depends on the type of your website and your brand style.
- Classic header
- Magazine-style header
- Hero header
- Vertical navigation drawer
- Header with a hamburger menu
- Sticky header
- Header with a double menu
1. Classic header

The classic header is the most popular and most recognizable type of header found on the web. It usually consists of a bare minimum: the logo, contact information, the CTA button, and links to basic categories of website content.
Where should you use it? Well, classic things never go out of style. Such headers are functional enough for landing pages or simple websites without a complex hierarchy.
Plus, classic headers comply with the most common eye-tracking patterns, like the Gutenberg pattern, Z-pattern, and F-pattern. The human eye starts to travel from the top-left corner and moves horizontally to the top-right — meaning that such a header becomes the strongest focal zone.
2. Magazine-style header

Magazine-style headers are an excellent choice for digital newspapers and magazines that want to preserve the retro styling of printed editions. A magazine-style header usually has an enlarged logo that sits separately from the navigational menu, the Subscribe button, and other elements like the Search icon.
3. Hero header

As the name suggests, a hero header sits where the hero image is placed. It results in a minimalist design that immediately draws users’ focus to the visuals in the center of the page. Hero headers are an excellent choice for simple websites, such as portfolios or landing pages.
Pay greater attention to picking the hero image. Besides being aesthetically pleasing, it should communicate the website's theme and value clearly.
6. Sticky header

As the name suggests, sticky or persistent headers stay on top (or the bottom) of the page at all times and aren't affected by scrolling.
On the one hand, sticky headers are an excellent usability solution. They allow users to quickly access the main navigational categories, return to the home page, or search content without scrolling up to the top of the page. Compared to headers with hidden navigation (hamburger menu), sticky headers increase discoverability and lower the chance of users getting lost. Plus, they're an excellent choice for mobile interfaces, leaving the most critical actions at users' fingertips.
On the other hand, poorly implemented sticky headers can be annoying, take up too much space, and distract users from page content. Consider partially sticky headers that appear on scroll up. They still keep navigation accessible from anywhere on a page but don't get in the way when users scan the content.
Header Design Best Practices
Here are some best practices to keep in mind while designing headers:
- Keep header height relative to the page size
- Maintain visual hierarchy
- Use a prominent CTA button
- Use relevant images
- Leverage readable fonts
1. Keep header height relative to the page size

It's hard to define perfect header height since it's impossible to guarantee the same size on all devices, not to mention the different screen resolutions. The trick is to control the header's height relative to the page size — the header should look proportionate without blocking essential content areas.
As for headers with large hero images, it's better to leave some space under the fold to intrigue users with a glimpse of what's next on the page and engage them to scroll.
On touchscreen devices, ensure that the touch target is at least 8-10mm (30-38px) and that the text is readable.
2. Maintain visual hierarchy

Research shows that users prefer predictable visual hierarchy over unique and unconventional designs. For example, according to NN group findings, traditional top-left logo placement is more comfortable for users and guarantees an 89% upraise in brand recall. You can experiment and place the logo in the header's center, but its recognition will still be lower than the top-left alignment.
The navigational menu should include only the most important links that help users understand where they can find all the information they need. Stick to the magic number of 7±2 items to prevent cognitive load and the agony of choosing between too many options. Use hover effects for menu links to provide visual feedback and help users navigate.
4. Use relevant images

Conventional wisdom says that a picture is worth a thousand words. Needless to say, relevant images can help prove the point. According to studies conducted by Richard E. Mayer on people's learning styles, individuals learn, recall, and retrieve information about an object better from words and pictures than words alone. So how to implement this in your header?
- Use images that are relevant to your business. A hero image isn't just a decoration — it's a powerful communication tool. Use it to convey the message to your users and explain what your product offers.
- Use high-quality images. This way, you show users your respect and willingness to provide the best content.
- Use pictures and illustrations that speak for your brand personality. Using on-point images doesn't mean you cannot be creative. When choosing pictures, make sure they evoke the emotions and mood you aim to create.
5. Leverage readable fonts

An excellent hero image or the most sellable CTA button won't be of use if users can't read button labels. That's why it's also important to choose easily readable fonts — don't sacrifice legibility in favor of aesthetically pleasing but vague and low-contrasting fonts.
Check your fonts for contrast with the Colorable tool or WebAIM first, so you can then adjust other colors on the website and be sure everything is impeccable from the accessibility perspective. Our Intro to Typefaces & Fonts blog can also be a good starting point to explore the world of readable fonts. If you find yourself looking for a more detailed study of the subject, consider taking our Typography Course.