WordPress
Container Widths
For individual containers, the width can be setOpens in new tab in the Block Editor. This is based on three global settings that can be changed in the Site Editor or in theme.json. Additionally, each container can be customized individually.
No Width (Content Width)--wp--style--global--content-size
Wide Width--wp--style--global--wide-size
Full Width--wp--style--global--full-size
Columns
WordPress allows flexible content arrangements using columns. Uniform spacing is preconfigured. This can be changed in the Site Editor or in theme.json.
Breakpoints
Three kinds of breakpoint are at work in a WP Design System site. They come from different places, and only two of them can be changed.
| Breakpoints | Values | Defined in | Adjustable |
|---|---|---|---|
| Viewport breakpoints | Mobile up to 480px, tablet from 480px to 782px, desktop above 782px | settings.viewport in the theme’s theme.json | Yes |
| Block breakpoints | Columns 782px, Media & Text 600px, Navigation 600px | WordPress core itself, compiled into the block styles | No |
| Custom breakpoints | Header 50rem, Sliders 500/700/900px etc. | The stylesheet of the pattern, in the custom build | Yes |
Figma
Container widths
| Width | Use |
|---|---|
| Content | Running text: the text column of every reading layout |
| Wide | The frame for grids, columns and everything wider than text |
| Full | Section backgrounds, edge to edge |
Every section is full width. Its content sits in the centred wide frame or, for running text, in the content column. A left- or right-aligned column aligns to the edge of the wide frame, never to the edge of the screen. Design desktop frames at 1280px; smaller screens adapt that design.