by Shad

Pakistan · PKT

hello@byshad.com

Guide · Websites

How to write a homepage hero section (formula and examples)

Your hero is the first screen of your homepage. Use this five-part formula, three before-and-after rewrites and five quick tests so visitors know what you do and what to click.

By Shad Muhammad · Updated

A 2011 Nielsen Norman Group review of Microsoft Research data found that people often leave a web page within 10 to 20 seconds, but that pages with a clear value proposition can hold attention much longer. On a homepage, the hero is where that value proposition has to land.

A five-part hero formula

Visitors arrive asking: am I in the right place, can you help me and what do I do next? A good hero answers all three in five parts.

  1. Headline: what you do, for whom or where. Start from “[service] for [customer] in [area]” or “[result] without [common hassle]”.
  2. Supporting line: one or two sentences on how it works, what’s included, how fast it is or what it costs.
  3. Main button: a verb plus what the visitor gets, such as “Get a quote” or “Book a cleaning” rather than “Submit” or “Learn more”.
  4. Second option: a quieter link for people who aren’t ready, such as “See prices” or “See our work”.
  5. Proof line: one fact a visitor could check, such as a rating with its source, a license or the year you started.

Pair the words with one image of the real thing: your team, your work or your product. Make the headline the page’s main heading (its H1) in real text, not part of the image, so it stays readable on phones and works with screen readers and translation tools. Google’s title link documentation lists H1 headings among the sources it uses for titles in search results.

Tip: Read your headline aloud to someone outside your business. If they can’t say what you sell and to whom, rewrite it before touching the design.

Before and after: three example rewrites

Each “before” looks polished but says little; each “after” follows the formula.

Example 1 (fictional business): a plumbing company

Before: “Quality you can trust” over a stock photo, with a “Learn more” button.

  • Headline: Emergency plumbing repairs in Austin, 7 days a week
  • Supporting line: Leaks, drains and water heaters fixed by licensed plumbers. Fixed price before work starts.
  • Buttons: “Call (512) 555-0142” and “Request a quote online”
  • Proof: 4.8 stars from 230 Google reviews

Someone with water on the floor sees the service, the area and a number to tap.

Example 2 (fictional business): a bookkeeping firm

Before: a “Contact us” button under “Your partner in financial success” and a photo of a handshake.

  • Headline: Monthly bookkeeping for independent restaurants
  • Supporting line: A fixed monthly fee, books closed by the 10th and a one-page report in plain English.
  • Buttons: “Book a 15-minute call” and “See monthly prices”
  • Proof: Keeping the books for 40 Toronto restaurants since 2016

Naming the niche tells restaurant owners this firm knows their numbers.

Example 3 (fictional business): an online leather goods store

Before: three banners rotating in a slider every four seconds.

  • Headline: Handmade leather wallets, personalized for free
  • Supporting line: Full-grain leather, stitched in our Lisbon workshop, shipped within two business days, with free 30-day returns.
  • Buttons: “Shop wallets” and “See how we make them”
  • Proof: 4.9 stars from 1,100 Trustpilot reviews

Nobody waits for the right slide: the product and the reason to buy are in the headline.

Choose the main button by how people buy

Your main call-to-action button should be the next step for a ready visitor; the second option serves people who need more information first. Stop at two: when several buttons look equally important, visitors hesitate.

Button ideas by how customers buy
How customers buyMain buttonSecond option
Urgent need, such as repairs or towing“Call now” with the number shown“Get a quote online”
By appointment, such as a clinic or salon“Book online”“See prices”
After a quote, such as renovation or landscaping“Get a quote” or “Request a callback”“See our work”
Online, such as a small store“Shop [best-selling category]”“How it’s made” or “Gift ideas”
After a conversation, such as bookkeeping or consulting“Book a 15-minute call”“See pricing”

Under the button, say what happens after the click, such as “Three quick questions. We reply within one business day.” If it opens WhatsApp or an email app, say that too. Then keep the promise: an automatic acknowledgment for every new inquiry tells people their message arrived.

Use proof you can back up

Proof answers the next question: why should I trust you? Choose one or two signals your buyers care about and make each one checkable.

  • Ratings: give the count and the source, such as 4.8 from 230 Google reviews, and keep the figure current.
  • Numbers: add a scope and a start date. “1,200 water heaters installed in Austin since 2015” is believable; “1,000+ happy clients” is not.
  • Testimonials: use a customer’s name and words only with their permission, and don’t rewrite them.
  • Credentials and logos: only current ones you have permission to show.

It’s a legal matter too. Since October 21, 2024, a US Federal Trade Commission rule has banned fake reviews and testimonials, including AI-generated ones, and it covers testimonials on your own website. The EU’s Unfair Commercial Practices Directive and the UK’s Digital Markets, Competition and Consumers Act also ban fake reviews.

No reviews yet? Use another fact you can show, such as a license or a written guarantee, or leave the line out: a clear offer beats a vague one with invented numbers. My guide to local search foundations explains how to start collecting reviews.

Test your hero before you publish

  1. Five-second test. Show the hero for five seconds to five people who don’t know your business, then ask what you do, who it’s for and what they would click. Wrong answers mean the headline needs work.
  2. Phone check. Open the page on a phone, or in Chrome DevTools device mode at about 360 pixels wide. The headline, supporting line and main button should be visible before any scrolling (above the fold), and the button should be easy to tap: web.dev’s tap target guide recommends a minimum of about 48 pixels.
  3. Speed check. The hero image often sets your Largest Contentful Paint (LCP), which Google counts as good at 2.5 seconds or less. Compress it, never lazy-load it and follow web.dev’s guide to optimizing LCP; my guide to website speed covers the rest.
  4. Contrast and keyboard check. Text over a photo needs a contrast ratio of at least 4.5:1, or 3:1 for large text, according to web.dev’s color contrast guide; if it falls short, darken the photo behind the text. Press Tab, too: the main button should show a visible focus outline.
  5. Results check. Before launch, track the step the button leads to, such as your form’s thank-you page, as a key event in Google Analytics 4. Then compare monthly inquiries before and after the change.

Tip: Many small business sites get too little traffic for a reliable split test. Change one thing at a time and watch inquiries for a few weeks.

Common hero mistakes

  • A slogan instead of an offer. “Excellence in every detail” could belong to any business.
  • A rotating slider. Each slide hides the others, and web.dev’s carousel guidance advises against autoplay: movement distracts, and people often ignore it like an ad.
  • A popup on arrival. Google’s guidance on intrusive interstitials warns that dialogs covering your content can frustrate visitors and make it harder for search engines to understand.
  • Video with no pause button. Decorative motion that starts on its own and lasts more than five seconds needs a way to pause, stop or hide it, as web.dev’s guide to motion explains.
  • A trimmed mobile version. Google indexes the mobile version of your site, and Google’s mobile-first indexing guide asks for the same content and headings as on desktop, so keep the supporting line and proof on phones.

Prefer to hand this over? I can build your homepage around these five parts as part of my website service, with a fixed price agreed before I start.

Common questions

How long should a hero headline be?

Short enough to read at a glance: usually one line on a laptop and no more than three on a phone. If you need more, move the details into the supporting line.

Should I put prices in the hero?

If price is one reason people choose you, yes. A short signal such as a starting price in the supporting line helps visitors decide quickly and screens out poor-fit inquiries. If your prices vary widely, link to a pricing page instead.

Does the hero affect SEO?

It can. Google may use your H1 headline for the title in search results, and the hero image often decides LCP, one of the Core Web Vitals Google recommends getting right. Write for people first: a headline stuffed with keywords does its main job worse.

Can I use AI to write my hero?

Yes, for drafts. Give the tool your facts (service, customers, area, prices and proof), ask for ten headline options, then choose one and edit it. Check every claim it adds: AI tools can produce numbers or testimonials that aren’t true, and the FTC rule covers AI-generated fake reviews.

Sources

  1. Influencing title links in Google Search (Google Search Central)
  2. Avoid intrusive interstitials and dialogs (Google Search Central)
  3. Mobile-first indexing best practices (Google Search Central)
  4. Understanding Core Web Vitals and Google search results (Google Search Central)
  5. Largest Contentful Paint (LCP) (web.dev)
  6. Optimize Largest Contentful Paint (web.dev)
  7. Best practices for carousels (web.dev)
  8. Color and contrast (web.dev Learn Accessibility)
  9. Animation and motion (web.dev Learn Accessibility)
  10. Accessible tap targets (web.dev)
  11. Simulate mobile devices with device mode (Chrome DevTools)
  12. About key events (Google Analytics Help)
  13. Rename and generate new events (Google Analytics Help)
  14. How long do users stay on web pages? (Nielsen Norman Group, 2011)
  15. FTC announces final rule banning fake reviews and testimonials (Federal Trade Commission, August 14, 2024)
  16. Consumer Reviews and Testimonials Rule: questions and answers (Federal Trade Commission)
  17. Unfair Commercial Practices Directive (European Commission)
  18. Reviews and social media endorsements: what businesses and content creators must know (GOV.UK, CMA)

Keep reading

Need a homepage that explains your offer in one screen?

Tell me what you sell and what visitors should do next, and I’ll build the page around it.

Plan my homepage