Sub topic 7
Layout, grids, and spacing rules
This chapter assumes you can use a design tool such as Figma or InDesign and know basic terms like column, margin, and baseline. It covers how brand guidelines constrain layout and how to apply those constraints without guessing.
What layout rules settle
Layout rules decide where things go and how far apart they sit. A brand with the same colors and fonts can still look inconsistent if every designer spaces things differently. Guidelines usually fix four things:
- The grid: column count, gutter width, and margins for each format.
- A spacing scale: a short list of allowed distances.
- Alignment and hierarchy: for example, left-aligned text and one dominant element per layout.
- Whitespace: how much empty space the brand expects around content.
Reading the grid
A grid is a set of columns, gutters (the gaps between columns), and margins (the space between content and the edge). Guidelines often give a different grid for each format, such as 12 columns on desktop, 8 on tablet, and 4 on mobile. Find the grid for your format before you place anything. If your format is not listed, see the chapter on gaps and exceptions.
Using a spacing scale
Most brands define one base unit and build every distance from multiples of it. The example brand in this tutorial uses --brand-space-unit: 8px. Allowed spaces are then 8, 16, 24, 32, 48, and so on. You never type a value like 13px. You pick the nearest step on the scale.
| Step | Multiple | Typical use |
|---|---|---|
| 1 | 8 px | Space between an icon and its label |
| 2 | 16 px | Space between paragraphs |
| 3 | 24 px | Padding inside a card |
| 6 | 48 px | Space between page sections |
The same unit also drives logo clear space, so layout and logo rules stay in step.
:root {
--brand-space-unit: 8px;
}
.card {
padding: calc(var(--brand-space-unit) * 3);
margin-bottom: calc(var(--brand-space-unit) * 2);
}
.section {
padding-block: calc(var(--brand-space-unit) * 6);
}Placing the logo and key elements
Guidelines often name approved logo positions, such as top left or bottom right, and keep a margin from the page edge. Place the logo first, then build the layout around its clear space. Do not let a headline or photo intrude into that space.
Common errors
- Nudging by eye. A 5 px adjustment looks harmless but breaks the scale. Use the nearest step, or change the layout.
- Ignoring the format. Reusing a desktop grid on a narrow banner makes columns too thin to read.
- Filling the whitespace. Empty space is part of the rule. Adding another element to fill a gap often violates it.
- Mixing alignments. Centering one block and left-aligning the next weakens hierarchy.
- Hard-coding values. Typing
24pxin many places makes later changes slow. Use variables or tokens.
Worked example
You are designing a 1200 px wide web banner. The guideline gives 12 columns, 24 px gutters, and 48 px margins.
- Set the frame width to 1200 px and add the layout grid with those values.
- Place the logo in the top left, inside the margin, and leave clear space equal to the logo mark height.
- Span the headline across 7 columns and the image across 5 columns.
- Set the space between the headline and the body text to 16 px, step 2 on the scale.
- Check that every distance is a multiple of 8.
Exercise
A layout uses a base unit of 8 px. A teammate sets the gap between a card and its caption to 20 px because it looks balanced. What should you do, and why?
Show answer
Change the gap to 16 px or 24 px, whichever fits better. 20 px is not a multiple of 8, so it is not on the spacing scale. Using only scale steps keeps spacing consistent across designers and makes the layout easy to rebuild with tokens. If neither step works, adjust the layout rather than inventing a new value.