Visual design · Step 4 · 6 min read
Grids for dense screens and marketing pages
Two kinds of grid serve two different purposes: a product grid with fixed columns and tight gutters for dense data interfaces, and a marketing grid with fluid columns and generous gutters for open pages. How to choose, and how Gale uses both.
A grid is not just alignment. It is a decision about how many columns and how much gutter for the type of screen you are designing.
What you'll be able to do after reading:
- Explain the difference between a product grid and a marketing grid
- Choose column count and gutter size for a dense dashboard
- Choose column count and gutter size for a marketing or editorial page
- Spot grid mismatches (a marketing grid on a dense product, or vice versa)
1. What a grid actually decides
A grid does three things: it fixes the number of columns, the gutter (space between columns), and the margin (space between the grid and the screen edge). Once you set those three values, the column width is what remains after the gutters and margins are subtracted from the total container width.
That calculation has a consequence: more columns with smaller gutters give you a denser, more precise layout where content can align finely. Fewer columns with larger gutters give you a more open layout where the white space is itself part of the visual design. These are not variations on a single grid — they are two different tools for two different purposes. Layout, grids and spacing introduces the concept; this lesson picks up from there and covers the specific choices for each context.
2. The two-grid model
The model in this lesson:
Grid de produto — Product grid
- Fixed column count (usually 12 for desktop)
- Gutters: 8–16px
- Purpose: aligning dense data — tables, forms, sidebars, panels that need to share vertical lanes
Grid de marketing — Marketing grid
- Fewer, variable columns (usually 4–6 for desktop)
- Gutters: 24–64px
- Purpose: creating rhythm and visual breathing room on pages where space itself is the message
The critical difference is not the column count — it's the gutter size relative to the column width. A product grid's gutters are small enough that the content columns feel dominant. A marketing grid's gutters are large enough that they create visual intervals the eye reads as pauses.
3. Product grids: Gale Console
Diagram: Marcus Andrey, CC BY 4.0.
Gale Console (fictional, from Gale.md) uses a 12-column grid at desktop width with 8px gutters and 16px side margins. This gives 12 narrow columns that allow the work-order table, the sidebar and the detail panel to align at precise points.
Why 12 columns? Twelve divides into 2, 3, 4, 6 and 12 — which means you can build a sidebar that is 2 of 12 columns wide (1/6), a table that is 7 of 12 (a little more than half), and a detail panel that is 3 of 12 (1/4), all without fractional columns. For dense interfaces, this granularity matters.
Why 8px gutters? At Compact level, the spacing scale (from Spacing scales) uses 8px as the gap between items within a component. Keeping the grid gutter at the same value makes the vertical and horizontal rhythms feel consistent. If the gutter were 24px, the internal component spacing would feel cramped by comparison.
In CSS grid:
.console-layout {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 8px;
padding-inline: 16px;
}
4. Marketing grids: a wider, more open layout
A marketing grid for Gale's public site uses a 6-column fluid grid with 24px gutters and 40–64px side margins (scaling with viewport width). The columns are wider relative to the gutters, which lets a full-width hero image fill the grid edge to edge while body text comfortably occupies 4 of 6 columns.
Why fewer columns? Marketing pages have fewer alignment needs than data products. A three-column card row, a two-column split, a full-width banner — these patterns fit naturally into a 6-column grid without needing the precision of 12.
Why larger gutters? On a marketing page, white space carries meaning. It signals that content is separate, that the reader should pause between sections. A product grid's 8px gutter would collapse the breathing room and make the page feel like a report.
In CSS grid:
.marketing-layout {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 24px;
padding-inline: clamp(1.5rem, 6vw, 4rem);
}
5. Matching the grid to the task
The wrong grid does visible damage. A marketing grid on a dense product creates too much whitespace between data columns — the table looks like it is missing information. A product grid on a marketing page removes the visual breathing room that makes editorial content easy to read.
One test: what is the dominant visual element on the page? If it is data (rows, cells, panels), use a product grid. If it is content (image, headline, copy), use a marketing grid. When a product page has a marketing hero (a dashboard overview page, for example), use nested containers: the outer marketing grid holds the hero section, an inner product grid handles the data below it.
Grid defined. Now fine alignment and vertical rhythm: how to make lines of text land on a baseline.
6. Common mistakes
- Using a marketing grid for a dense data product. The wide gutters look spacious in a mock-up but collapse the alignment when real data fills the cells.
- 12 columns everywhere. Twelve columns is powerful but adds complexity. A marketing page with a 12-column grid still needs content that only spans 6 — you have doubled the grid divisions without gaining anything.
- Gutters that don't relate to the spacing scale. If your spacing scale uses 8px as a standard internal gap, use 8px or 16px for product gutters. Random gutter values (11px, 13px) break the connection between grid and components.
- Fixed margins on mobile. A fixed 40px margin at 390px viewport leaves only 310px for content. Use
clamp()or viewport units to scale margins with the available width.
7. Try it
You need: a screenshot of a data-heavy screen (a CRM, a dashboard, a spreadsheet) and a screenshot of a marketing or editorial page.
- For each screenshot, draw (or sketch) the grid lines. Count the columns. Measure or estimate the gutter width.
- Identify: which grid category does each belong to — product or marketing?
- Find one place where the grid helps (content aligns cleanly to the grid) and one place where it fails (something is off the grid or the gutter proportions look wrong).
- If you were to redesign the data screen with a marketing grid instead, what would break first? Name one element.
How to know it's good: you can describe the product grid with a column count and a gutter that maps to a spacing scale value, and the marketing grid with a gutter that is at least 2× larger.
8. If you already practise
- CSS subgrid (
grid-template-rows: subgrid) lets a nested component align its own rows to the parent grid's row tracks. This is useful when card content inside a grid column needs to align with content in the adjacent column. Browser support reached ~92% by 2024 (MDN, CSS subgrid). - When a team adopts a design system (tokens, components), the grid is often the first token that breaks in practice — because components carry their own internal spacing that may not match the grid's gutter. Document the gutter value explicitly in the design system and test components inside the grid, not just in isolation.
Checklist
Learn more
Books, courses and videos to go deeper
- Making and Breaking the GridTimothy SamaraBook · 2nd ed., Rockport Publishers, 2017
- Grid Systems in Graphic DesignJosef Müller-BrockmannBook · Niggli, 1996 (Amazon)
Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Related
Spacing scales · Alignment and vertical rhythm · Responsive layout with CSS grid and container queries · Layout, grids and spacing