Sub topic 3
Building a hierarchy between type and image
This chapter assumes you know the difference between typefaces, sizes and weights, and that you can use a design tool such as Figma, Illustrator or InDesign. It also assumes you have a basic grasp of image resolution. The earlier chapters on type basics and on the role of an image feed directly into this one.
What hierarchy means when images are involved
Visual hierarchy is the order in which a reader notices and reads the parts of a layout. In a text-only layout, you build it with size, weight and spacing. Once an image enters, you have two competing sources of attention. A photograph is a large, complex shape with color and faces in it, and it usually wins over a headline unless you plan for it.
A good layout decides who leads, then makes every other choice support that decision. There are three common outcomes:
- Image leads, type supports. The photo is the reason the reader stops. Type is a label or a short line that adds meaning.
- Type leads, image supports. The headline carries the message. The image sets mood or gives context.
- Shared lead. The image and headline are balanced on purpose, usually by placing them in separate zones so they don't fight.
The mistake to avoid is an unplanned tie. When a large headline sits on top of a high-contrast photo and both are loud, the eye bounces between them and the reader reads neither.
The levers that set hierarchy
You can raise or lower the weight of any element with a small set of levers. The same levers apply to type and to images.
| Lever | Raises attention | Lowers attention |
|---|---|---|
| Size | Larger | Smaller |
| Contrast | High against surroundings | Close to surroundings |
| Color | Saturated, or the only warm color on a cool page | Muted, or matching the surroundings |
| Position | Top, upper left (in left-to-right languages), or a clear focal spot | Bottom corners, edges |
| Space | Surrounded by negative space | Crowded by neighbors |
| Detail | Sharp, textured, with faces or text | Blurred, flat, simple |
Two points matter most in practice. First, contrast is relative. A bold 24 pt headline looks quiet beside a full-bleed image of a crowd, and loud on a plain background. Second, isolation beats size. A small element with generous space around it can outrank a bigger element in a busy area.
Scale steps between levels
Choose a small number of type levels and keep the jumps between them obvious. Three levels are enough for most image layouts: a headline, a supporting line or subhead, and small text such as captions and credits. If two levels are within about 20 percent of each other in size, readers see an accident instead of a decision. Use a ratio, such as 1.25 or 1.5, and apply it consistently.
Add weight or color changes only where they carry meaning. A bold subhead that is almost as large as the headline weakens both.
Using the image's own hierarchy
A photograph already contains a hierarchy: a focal point, secondary shapes and quiet areas. Your type has to work with it.
- Place the headline in a quiet area. Sky, a wall, water or a blurred background gives text a clean surface. A later chapter covers negative space in depth.
- Follow the direction of gaze or movement. If a person looks to the right, put the text on the right so the reader's eye follows into the copy. Text placed behind the subject's back makes the reader look off the page.
- Do not cover the focal point. Type across a face or the main object competes with the very thing that makes the image worth using.
The diagram shows a typical reading path across a layout where the image leads.
If you cannot sketch a path like this for your own layout, the hierarchy is not yet decided.
A worked example: a hero section
Consider a web hero section: a coastal photograph with a headline, a subhead and a button. You want the image to set the mood and the headline to carry the message, so type leads and the image supports.
The decisions look like this:
- Pick the zone. The lower third of the photo is dark rock and shadow, so the text goes there.
- Set the levels. Headline at 3 rem in bold, subhead at 1.25 rem in regular weight (a ratio of about 2.4), and the button at 1 rem.
- Protect legibility. Add a gradient from the bottom so the text sits on a darker area, without dimming the whole photo.
- Limit the colors. Use white for the headline and a slightly dimmer white for the subhead. Use one accent color for the button only, so it becomes the third stop in the reading path.
The CSS below implements the zone and the gradient. The scrim fades in from the bottom, so text anchored there stays readable and the top of the photo stays clear.
.hero {
position: relative;
min-height: 24rem;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 2rem;
color: #fff;
background:
linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 60%),
url("coast.jpg") center / cover no-repeat;
}justify-content: flex-end places the text block at the bottom. The first value in background is the gradient, which paints above the photo. The to top direction makes the darkest part sit behind the text. Scrims get their own chapter, so here the point is only that hierarchy and legibility are linked: the position you choose for type decides what treatment the image needs.
Failure modes
These are the problems you will meet most often.
- Two focal points. A bright headline and a bright subject in the same area. Fix by moving the type to a quiet zone, or by reducing the contrast of one of them.
- Everything is large. When every element is emphasized, none is. Reduce the size of the supporting elements before you enlarge the leading one.
- Flat type levels. Headline and subhead look alike. Increase the ratio between them, or change weight instead of size.
- Busy image under small text. Small text has low weight in the hierarchy and gets lost in texture. Move it, enlarge it, or put it in a solid panel.
- A decorative image treated as content. A background image set at full intensity pulls attention from the message. Lower its contrast, blur it, or crop it tighter.
Testing the hierarchy
You can test a hierarchy in two quick ways.
- Squint test. Blur your eyes or view the layout at a small size. The first thing you still see is the actual lead. If it is not the element you chose, adjust.
- Grayscale test. Convert the layout to grayscale. This removes color as a lever and shows whether value contrast alone separates the levels.
A third check is to ask someone for the order in which they read the elements after a three-second look. Compare their answer with your intended path.
Keeping image and type together in markup
On the web, hierarchy depends on structure as well as appearance. A figure element keeps an image and its caption as one unit, and the alt text tells readers who cannot see the image what it shows.
<figure>
<img src="harbor.jpg" alt="Fishing boats moored in a harbor at dawn">
<figcaption>Harbor at dawn, 6:10 a.m.</figcaption>
</figure>The caption is the lowest level in the path, and the markup keeps it attached to the image even when the layout changes. Later chapters return to captions and alt text.
Exercise
A poster has a large, high-contrast photo of a runner looking to the right. The headline is bold, 48 pt, placed across the runner's chest. The subhead is 40 pt in bold. Name three problems with the hierarchy and a fix for each.
Show answer
First, the headline covers the focal point (the runner), so type and image compete. Move the headline into a quiet area, such as empty space on the right, where the runner is looking. Second, the subhead (40 pt) is too close in size and weight to the headline (48 pt), so the levels look flat. Use a clear ratio, for example a 48 pt headline with a 24 pt regular-weight subhead. Third, the layout has two loud elements, the high-contrast photo and the large bold type, with no decision about which leads. Choose a lead: either reduce the photo's contrast or crop it, or keep the photo as the lead and shrink the headline.
Exercise
You are told that the image should set the mood while the headline carries the message. List four levers you can use to give the headline priority over a full-bleed photo.
Show answer
Any four of the following: place the headline in a quiet area of the photo; increase value contrast between type and background, for example with a bottom gradient; make the headline larger than other text; surround it with negative space; reduce the photo's contrast, saturation or sharpness; use a single accent color on the headline or nearby elements; and place the headline high or at the start of the reading path.