Fixed-price website design from £2,400View Prices

Website Navigation Design: Menus That Help Visitors Find Things

How to plan a menu people understand at a glance, when to use a mega menu or a sticky header, and what changes on a phone.

Pages and Components guide. 7 minute read. Updated .

In short

  • Navigation is a promise about what the site contains. Clear labels in a predictable place matter more than clever design.
  • Keep the main menu short, around five to seven items, and name each one with the word your customers would use.
  • On a wide screen, a site with several sections should usually show its menu. A menu button at every size suits small sites with few pages.
  • On a phone a menu button is expected, but the most important action should stay visible outside it.
  • Menus must work with a keyboard and a screen reader, which mostly means using real links and buttons.

Navigation is the part of a website nobody notices until it goes wrong. When it works, visitors find what they came for without thinking about it. When it does not, they open the menu, read the labels twice, guess, go back and eventually leave.

Good navigation is mostly a matter of structure and wording, decided long before any design. This guide covers how to plan a menu, the common patterns and how to make them work on a phone and for everyone.

What Navigation Is For

A menu does three things. It tells visitors what the site contains. It tells them where they are. And it gets them to where they want to go in as few steps as possible. It also matters to search engines, which follow the links in your navigation to discover pages and to judge which ones you consider most important.

Most sites have several kinds of navigation working together:

  • The main menu, usually in the header, for the key sections.
  • A call to action, such as a contact or booking button, set apart from the menu.
  • The footer, for everything else: policies, secondary pages and contact details.
  • Breadcrumbs, which show the path back up through a larger site.
  • Links within the content, which often do more to move people around than the menu does.

Planning the Structure

Start with the pages, not the menu. List everything the site needs, group related pages together and name each group. Our guide to what pages a business website should have helps with the list. Then apply a few rules.

  • Keep the top level short. Five to seven items can be taken in at a glance. More than that and visitors stop reading them.
  • Put the important items first and last. The ends of a list are noticed and remembered more than the middle.
  • Keep it shallow. Any page should be reachable in two or three clicks.
  • Organise by what customers want, not by your departments. Visitors do not know how your company is structured.
  • Be consistent. The menu should be in the same place, in the same order, on every page.

Writing Menu Labels

Labels are where most navigation fails. A label should tell someone, before they click, what they will find.

UnclearClear
SolutionsServices, or the service itself: Loft Conversions
What we doServices
ResourcesGuides, or Blog
DiscoverAbout us
Get in touch with the teamContact

Use the words your customers use, which are often the words they type into a search engine. Keep labels to one or two words, avoid internal jargon and resist the urge to be original. Nobody has ever been confused by a link called Prices.

PatternBest forWatch out for
Horizontal menu barMost business sites with up to seven sectionsRunning out of room on smaller laptops
Dropdown menuA section with a handful of sub-pagesMenus that vanish when the pointer slips, and hover that does nothing on a touch screen
Mega menuLarge sites and shops with many categoriesOverwhelming visitors, and fiddly behaviour on a phone
Menu buttonPhones, and small sites with a strong visual styleHiding a long list of sections that a wide screen has room to show
Sidebar navigationDocumentation, dashboards and long guidesTaking width from the content on medium screens
Full-screen menuSites with few pagesAn extra click, and disorientation if it animates heavily

A mega menu is a large panel that opens from the main menu and shows many links at once, grouped under headings. It suits a shop with dozens of categories, where seeing everything together helps. A site with twelve pages does not need one.

Sticky Headers

A sticky header stays at the top of the screen as the page scrolls, keeping the menu and the main action within reach. On long pages it saves visitors from scrolling back up, and on a phone it keeps the call button in sight.

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
}

/* Keep headings clear of the header when a link jumps to them */
:target {
  scroll-margin-top: 5rem;
}
A sticky header in two declarations, with a rule that stops it covering a heading when a link jumps down the page.
  • Keep it slim. A tall header takes a large share of a phone screen.
  • Give it a solid background so that text does not show through.
  • Make sure it never covers content that receives keyboard focus.
  • Consider hiding it on the way down and showing it when the visitor scrolls up, which gives the content the full screen.

On a small screen there is no room for a row of links, so the menu goes behind a button. The three-line icon is widely recognised, and adding the word Menu beside it removes any doubt.

  • Keep the most important action outside the menu: a phone button or a booking button in the header.
  • Make the menu button, and every link in the menu, large enough to tap comfortably.
  • Open sub-menus by tapping, never by hovering.
  • When the menu is open, stop the page behind it from scrolling and give an obvious way to close it.
  • Close the menu automatically when a link is chosen.

Our own site uses a menu button at every screen size, which suits a studio with a small number of main pages and keeps a prices button in view beside it. For a business with several distinct services, showing the menu on larger screens is usually the better choice. Our guide to mobile-first design explains how layouts grow from the small screen.

Accessible Navigation

Navigation that works for keyboard and screen reader users is mostly a matter of using the right HTML. Links should be real links, the button that opens the menu should be a real button, and the whole thing should sit inside a nav element so that assistive technology can find it.

<a class="skip-link" href="#main">Skip to content</a>

<header>
  <nav aria-label="Main">
    <button type="button" aria-expanded="false" aria-controls="menu">
      Menu
    </button>

    <ul id="menu">
      <li><a href="/services">Services</a></li>
      <li><a href="/prices" aria-current="page">Prices</a></li>
      <li><a href="/contact">Contact</a></li>
    </ul>
  </nav>
</header>

<main id="main">...</main>
A skip link, a labelled navigation region, a button that announces whether the menu is open and a marker for the current page.
  • Every link and button must be reachable with the Tab key, in a sensible order, with a visible focus outline.
  • Dropdowns should open on a click or a key press, not only on hover, and close with the Escape key.
  • Change aria-expanded to true when the menu opens, so that screen readers announce it.
  • Do not rely on an icon alone. Give the menu button a text label or an accessible name.

Our guide to web accessibility covers the wider standard.

Common Navigation Mistakes

  • Too many items. A menu of fifteen links is a list, not a guide.
  • Clever labels. If a visitor has to click to find out what a label means, it has failed.
  • Dropdowns that need a steady hand. Menus that disappear when the pointer moves a few pixels off course.
  • No sign of where you are. The current section should be marked in the menu.
  • A different menu on different pages. Consistency is what makes navigation feel reliable.
  • Burying the contact details. If people have to hunt for a phone number, many will stop looking.
  • Relying on the menu alone. Link to related pages from within the content, where interest is highest.

Putting It Into Practice

Reading about a technique is the easy part. Applying it to a real business, with real content and a launch date, takes judgement about what to use and what to leave out. DigitalPod is a UK-based design and web development studio that designs every site from a blank page and builds it by hand, so a technique is used because it helps the business and not because a template came with it. If you would like a website designer to handle it for you, startup website design is what we specialise in, websites start from £2,400 and our website redesign service brings an older site up to date.

Frequently Asked Questions

How many items should a website menu have?

Five to seven top-level items is a sensible limit for most business websites. It is few enough to take in at a glance and enough to cover the main sections. Further pages can live in dropdowns, the footer or links within the content.

What is a mega menu?

A mega menu is a large dropdown panel that shows many links at once, usually arranged in columns under headings. It is useful for large sites and online shops with many categories. Small sites rarely need one, and it must be redesigned for phones, where a wide panel does not fit.

What is a sticky header?

A sticky header is a navigation bar that stays fixed at the top of the screen while the page scrolls. It keeps the menu and the main call to action within reach on long pages. It should be slim, especially on phones, so that it does not take too much of the screen.

Is the hamburger menu bad for usability?

Not on a phone, where there is no room for a row of links and the three-line button is widely understood. On a large screen, hiding a long menu behind a button makes sections harder to discover, so sites with many sections usually show them. A small site with only a few pages can use a menu button at every size without much cost.

Does website navigation affect SEO?

Yes. Search engines follow the links in a menu to find pages, and they treat pages linked from the main navigation as important. Clear, descriptive labels help them understand what each page is about. Navigation built with ordinary HTML links is the most reliable.

Want a Website Built This Way?

DigitalPod designs and builds websites for startups and growing UK businesses, with everything handled in-house from the first sketch to launch. Startup website design starts from £2,400, or you can read what clients say in our Trustpilot reviews.

Get a quote

Related Web Design Techniques

More from our web design techniques guides. For costs, briefs and choosing a designer, see the startup blog.