Sub topic 6
Choosing a hero visual that supports the message
This chapter assumes you can write basic HTML and CSS and know what a landing page is. It also assumes you have read the earlier chapters on the single conversion goal, the headline, and the subheadline. A hero visual is the main image, screenshot, illustration, or video in the hero section at the top of the page. Its job is to help a visitor understand the headline's claim faster than text alone. Decoration is not its job.
What the hero visual is for
A visitor decides within a few seconds whether a page is relevant. The headline states the benefit and the subheadline explains how and for whom. The visual then gives a second, faster channel for the same message. It should answer one of these questions:
- What is this thing? (product shown)
- What will my life look like afterward? (outcome shown)
- How does it work? (process shown)
- Is it for someone like me? (context or person shown)
If an image answers none of these, it is decoration. Decoration is not always wrong, but it should never cost the visitor time or push the call to action (CTA) out of view.
The visual is the lowest-weight element in this part of the page. The headline and CTA do the main work. If the visual forces a trade-off, such as a heavy file that delays the headline or a tall image that pushes the button below the fold, the visual loses.
Types of hero visual
| Type | Best when | Main risk |
|---|---|---|
| Product screenshot | The product is software and the interface is the selling point | Cluttered screens that nobody can read at hero size |
| Outcome image | The benefit is a result, such as a finished invoice or a tidy report | Looks like a mockup that is not real |
| Photo of a person using it | The audience needs to see themselves in the story | Generic stock photos that signal nothing |
| Diagram or short illustration | The product is hard to picture, such as a service or an integration | Too many labels, which becomes a second page of reading |
| Short video | A motion demo shows something a still cannot | Weight, autoplay problems, and a missing or hidden CTA |
| No visual | The headline and CTA already carry the page | Looks empty if the layout still reserves space for an image |
Choosing "no visual" is a valid decision. A text-only hero that loads instantly can beat a slow, vague image.
Choosing by the claim
Work backward from the headline. If it says "Send invoices in under a minute", the claim is about speed and simplicity. A good visual shows one invoice screen with a clear "Send" action. A poor visual is a smiling person at a laptop, because it proves nothing about speed.
Apply these tests in order:
- Relevance. Cover the headline. Can a viewer guess what the page offers from the image alone? If not, the image is not carrying meaning.
- Legibility. View it at the size it will display on a phone. If any text in a screenshot is unreadable, crop to one feature or use an illustration.
- Honesty. Show what the visitor will actually get. A screenshot with invented numbers is acceptable if it looks like real use, but a visual that shows features the product lacks creates a claim without proof.
- Focus. The eye should travel from headline to visual to CTA. Avoid images with strong lines or faces pointing away from the text.
- Cost. Check the file weight and the height it takes. Both are covered below.
Layout: keep the CTA in view
The most common layout is two columns on wide screens, with text on one side and the visual on the other. On narrow screens the columns stack. Decide the stacking order deliberately. Put the text first so the headline and button appear before the image pushes them down.
The example below extends the invoice page skeleton from earlier chapters. The product and file names are fictional.
<section class="hero">
<div class="hero-text">
<h1>Send invoices in under a minute</h1>
<p class="subhead">Example Invoice helps freelancers create, send, and track invoices without a spreadsheet.</p>
<a class="button" href="/signup" data-cta="hero">Start your free trial</a>
<p class="note">14-day trial. No credit card required.</p>
</div>
<img
class="hero-visual"
src="/img/invoice-screen-800.png"
srcset="/img/invoice-screen-800.png 800w, /img/invoice-screen-1600.png 1600w"
sizes="(min-width: 60rem) 50vw, 100vw"
width="800"
height="600"
alt="The invoice screen with a client name, two line items, and a Send button."
fetchpriority="high">
</section>.hero {
display: grid;
gap: 2rem;
align-items: center;
padding: 2rem 1rem;
}
.hero-visual {
max-width: 100%;
height: auto;
border-radius: 0.5rem;
}
@media (min-width: 60rem) {
.hero {
grid-template-columns: 1fr 1fr;
}
}Several details in this code matter:
widthandheightgive the browser the image's aspect ratio before it loads. Without them the page jumps when the image arrives, which moves the button under the visitor's cursor.max-width: 100%withheight: autokeeps the image inside its column while preserving the ratio.srcsetandsizeslet the browser pick a file that matches the screen. A phone should not download the 1600-pixel version.fetchpriority="high"tells the browser this image is important. Do not addloading="lazy"to a hero image. Lazy loading delays exactly the element you want to appear first.- In the HTML source the text comes before the image, so on narrow screens the stacked order is headline, subheadline, button, then image.
Accessibility of the visual
Every image needs a decision about its text alternative.
- If the image carries meaning, write
alttext that describes what it shows in relation to the message. "The invoice screen with a client name, two line items, and a Send button" works. "Screenshot" does not. - If the image is purely decorative, use
alt=""so screen readers skip it. - Do not put the headline or the offer inside the image. Text in images cannot be resized, translated, or read by assistive technology, and it blurs on high-density screens.
- If text sits on top of a background image, check the contrast between text and the busiest part of the image, not the average.
- For video, do not autoplay with sound. If you autoplay a muted loop, respect the
prefers-reduced-motionsetting and give a visible pause control.
Edge cases
Stock photos. A photo that could illustrate any product tells the visitor nothing, and visitors often recognize stock imagery. If you cannot show the real product or real customers, an honest illustration usually serves better.
Carousels. Rotating hero images hide most of their content, because few visitors wait for slide two. Choose one visual that carries the main claim.
Services without a product. For consulting or similar offers, show the deliverable (a sample report) or the person who does the work, not an abstract graphic.
Real data in screenshots. Use sample data. Do not expose real customer names, emails, or amounts.
Slow connections. Set a background color or a small placeholder so the layout looks intentional before the image arrives. Headline text must never depend on the image loading.
Visual and proof overlap. A screenshot is not proof. It shows what the product is. Proof, such as the testimonial in the next section of the page, shows that it works. Do not let a polished visual stand in for evidence.
Common mistakes
- An image that has no connection to the headline's claim.
- A hero so tall that the CTA sits below the first screen on laptops.
- A large uncompressed file that delays the first render.
- A hero image with a second button or link on it that competes with the main CTA.
- Alt text that is empty on a meaningful image, or keyword-stuffed on a decorative one.
- Choosing the visual first and then writing a headline to fit it.
Measuring the effect
A visual change is a good A/B test candidate because it is easy to isolate. Change only the visual, keep the headline and CTA identical, and compare conversion rate for the main CTA, using the data-cta attribute from the earlier chapters. Also watch load time. A better-looking image that slows the page can lower conversions even if visitors prefer it.
Exercise
A landing page's headline reads "Cut your weekly reporting from three hours to ten minutes." The hero image is a smiling team around a table. Name two problems with this visual choice and describe a replacement.
Show answer
First, the image does not connect to the claim. It shows nothing about reporting or saving time, so it does not help a visitor understand the benefit faster. Second, a generic team photo looks like stock imagery and adds file weight and height without adding information. A better choice is a cropped screenshot or illustration of one finished report, with a short alt text such as "A weekly report generated in one screen with a Download button". It should be sized with width and height attributes and placed so the headline and CTA remain visible on a phone.
Exercise
Why should a hero image use width and height attributes and not use loading="lazy"?
Show answer
The width and height attributes let the browser reserve space before the image loads, so the layout does not shift and move the CTA. Lazy loading delays the image until the browser decides it is needed, which slows the most prominent element on the page. Hero images should load immediately, and fetchpriority="high" can help.