The hero section is the first screen of your home page, the part people see before they scroll. In a few seconds it has to tell them what you do, who it’s for and what to do next. Most hero sections fail at the first job: they look good and say very little.
Here’s what to put in a hero section, how to write the headline, which images and layouts work, and how to keep it fast, with examples for different kinds of sites.
Key takeaways
- A hero needs a clear headline, one supporting line, one main button and an image that shows the real thing.
- Design it for a phone first. The first screen there is much smaller than on a laptop.
- The hero image is often the slowest thing on the page. Size it properly and never lazy-load it.
What goes in a hero section
Strip it back to four parts. A headline that says what you offer. One line underneath that adds who it’s for or why you’re different. One primary button for the action you most want, such as “Book a table”, “Get a quote” or “Start free”. And a visual that shows the actual product, place or people.
A small trust signal helps if you have a good one: a star rating with the number of reviews, “Serving Denver since 2009”, or a few client logos. A second, quieter link is fine for people not ready to commit (“See our work”, “View menu”). Beyond that, everything you add competes with the button.
Writing the headline
The headline should make sense to someone who has never heard of you. “Quality you can trust” could be a bakery, a bank or a roofing company. “Family dentist in Leeds, open Saturdays” can only be one thing, and the people looking for it will recognize it instantly.
Aim for something you could say out loud in one breath, usually under ten words. Say what you do in plain words, then use the supporting line for the detail: the area you serve, the type of customer, the one thing that sets you apart. If you have to choose between clever and clear, choose clear. Clever headlines are fun to write, and visitors mostly skip past them.
The call to action
Pick one main action and make it the most visible element after the headline. Use a verb that describes what happens next (“Book a free consultation” beats “Submit” or “Learn more”), a color that stands out from the rest of the page, and a size that’s easy to tap with a thumb.
If people usually call rather than click, as with restaurants, trades and law firms, put a tap-to-call number right next to the button on phones. Our guides to restaurant, dental and law firm websites show what that first action looks like in each industry.
Images, video and sliders
Use a real photo or a real screenshot. Your dining room, your team on a job, your product in use. Stock images of smiling people at laptops are on thousands of sites and tell the visitor nothing about you.
If the headline sits on top of a photo, make sure it’s readable: add a dark overlay or a solid panel behind the text, and check the contrast meets the WCAG guideline of at least 4.5:1 for normal text. Background video can work, but it’s heavy, it distracts from the headline, and it should never play sound or block the page on a slow connection. Autoplay video heroes are also on our list of web design trends to skip.
Sliders and carousels are the most common hero mistake. Usability research, including from the Nielsen Norman Group, has long found that people rarely look past the first slide and that auto-rotating slides frustrate users. If you have three messages, pick the most important one for the hero and give the others their own sections further down.
Design it for the phone first
On a laptop, the hero might be 1,400 pixels wide with the text beside the image. On a phone, the same content stacks into a narrow column, and the button can easily drop below the first screen. Check the mobile version first: the headline, the supporting line and the button should all be visible without scrolling on a typical phone.
That often means a shorter headline, a smaller or cropped image, and less padding than the desktop design. Avoid fixing the hero to the full screen height on phones. It pushes everything else down and can hide the button behind the browser’s toolbar.
Keep the hero fast
The hero image is usually the page’s Largest Contentful Paint, the Core Web Vitals measure of how quickly the main content appears. A few changes make a big difference. Serve the image at the size it’s shown, in WebP or AVIF, with smaller versions for phones. Don’t lazy-load it: lazy loading is for images further down, and applying it to the hero delays the most important picture on the page. And you can add fetchpriority="high" to the hero image so the browser fetches it first.
Watch the fonts and scripts too. A custom font that loads late can make the headline flash or jump, and a chat widget or slider script can block the first screen. Our guide to speeding up a WordPress site covers these in more detail.
Hero examples by type of site
For a local service business, lead with the service and the area, then a quote or call button and a review rating: “Emergency plumber in Austin, here in 60 minutes”, with “Call now” and “4.9 from 300+ reviews”. For an online store, show the product and a single shopping action, or the current offer with a “Shop the sale” button. A software product does best with a headline about the result for the user, a “Start free” button and a real screenshot of the product. And for a portfolio or agency, one line about what you make and for whom, a “See our work” link, and your best project as the image.
Templates are a quick way to try layouts before you commit. These are built around a strong first screen:
FreeHTML
FreeHTML
FreeHTML
FreeHTML
PremiumAstro
FreeHTML
PremiumNext.js
FreeHTML
FreeHTML
FreeHTML
Hero section checklist
- Headline a stranger would understand, under about ten words.
- Supporting line with who it’s for or what makes you different.
- One main button with a clear verb; tap-to-call where people phone.
- Real image of your product, place or people.
- Readable text over images: overlay or panel, contrast 4.5:1 or more.
- All visible on a phone without scrolling.
- Fast: right-sized WebP or AVIF, not lazy-loaded, no slider.
Frequently asked questions
What is a hero section on a website?
It’s the large first section at the top of a page, usually the home page, that visitors see before scrolling. It normally contains a headline, a short supporting line, a call-to-action button and an image or video.
What should a hero section include?
A clear headline about what you offer, one supporting sentence, one primary call to action and a relevant image. Optionally a short trust signal, such as a review rating, and a secondary link.
Is “above the fold” still important?
People do scroll, so not everything has to fit on the first screen. But the first screen decides whether they bother, so it has to make clear what the page is about and what to do next.
Should I use a slider in my hero section?
Usually not. Most visitors only see the first slide, auto-rotating slides annoy people and slider scripts add weight. One strong message works better. For more on layout basics, see our web design best practices.
Home page not pulling its weight?
Get a first screen that turns visits into enquiries.
Our partner agency Plugig Solutions builds WordPress and custom websites for growing businesses, and sends a fixed quote and timeline before any work starts. Bring the checklist above to the conversation.






Leave a Reply