Gutenberg 24.5 lets you put blocks exactly where you want them. Here are three layouts I built with it

Time to read:

6–9 minutes

Gutenberg 24.5 came out on 25 November, and its headline feature is Grid placement. You can now put any block on a specific column and row of a Grid, leave cells empty on purpose, and resize a block across columns and rows by dragging its corner.

That sounds small. It isn’t. Until now a Grid filled itself in order, left to right, top to bottom. Now you decide where each thing goes, which is how designers have always thought about a page.

To see what it can really do, I asked Claude to spin up a WordPress Playground with Gutenberg 24.5 and build three layouts with it: a bento grid, an editorial photo essay with deliberate gaps, and a conference timetable. Then we rebuilt them here, inside this post.

Everything below is ordinary Group, Heading and Paragraph blocks placed on a Grid. There’s no custom CSS. Try it on your phone as well: every layout reflows to fewer columns on smaller screens.

How it works

A grid that labels itself

Every block in a Grid now stores a column, a row, and how far it spans. Each tile below is a real Group block, and it is labelled with exactly where it sits. The gaps are real too: three cells are simply left empty, and the dashed one is there to point one out.

1 / 1

grid-column: 1 / span 3

grid-row: 1 / span 2

Spans three columns and two rows. Drag the corner to change it.

5 / 1

grid-column: 5

grid-row: 1

4 / 2

grid-column: 4 / span 2

grid-row: 2 / span 2

Two by two, starting in column four.

6 / 2

grid-column: 6

grid-row: 2 / span 2

One wide, two tall.

2 / 3

grid-column: 2

grid-row: 3

3 / 3

grid-column: 3

grid-row: 3

Left empty on purpose.

01

Bento grid · four columns, tiles pinned and spanned

Layout 01 · Bento grid

Ember & Oak Roasters

A four-column bento: every tile is pinned to a column and row with Grid placement, and spans are set by dragging corners. Below 782px it drops to two columns, and to one on phones.

Small-batch · Since 2014

Coffee roasted slowly, on purpose.

Single-origin lots, roasted in twelve-kilo batches on a 1962 Probat and shipped the week they peak.

Brew guide · Pour-over in 4 minutes

Rested

48h

Every bag degasses for two days before it leaves us.

Café · Open 7–4 daily

This month · Huila, Colombia

★★★★★

“The Huila is the first coffee that made me stop adding milk. It tastes like stone fruit and brown sugar — I’ve been on the subscription for three years.”

Maya R. · Subscriber since 2022

Subscribe

Fresh beans, every other Friday.

02

Editorial gallery · six columns with deliberate gaps

Layout 02 · Editorial gallery

Field Notes

A six-column photo essay with deliberate empty cells. Grid placement lets each image sit on an exact column and row, so the blank spaces are part of the composition instead of leftovers.

01 · Lysefjord, Norway

Vol. 3 — Northern light

Ten days walking the edge of the map.

04 · Skógafoss

05 · Camp, 1,140 m

Notes

Shot on a single 35mm lens. No crops, no skies swapped. The gaps in this grid are where the weather won.

02 · Valley walls

06 · Ridge

07 · Sea stacks

03 · River crossing

“The map ran out before the trail did.”

— from the field notebook, day seven

03

Timetable · rooms as columns, hours as rows

Layout 03 · Timetable

Signal 2027 — Day one

A seven-column schedule. Each session is placed on its room’s columns and its start-time row, then stretched down to fill its length. Lunch and the closing drinks span all three rooms.

Thursday 14 October

·

Three rooms, nine hours

● Main hall

● Studio

● Workshop lab

09:00

09:00 · 105 min · Main hall

Opening keynote: Layout is a language

Rachel Andrew-Ford

09:00 · 3 hrs · Workshop lab

Hands-on: Grid placement from zero

Bring a laptop. We’ll rebuild a magazine spread, tile by tile.

12 seats left

10:00

10:00 · 45 min · Studio

Designing with empty space

Tomás Okafor

11:00

11:00 · 45 min · Main hall

Fluid type without the maths

Ines Laurent

11:00 · 45 min · Studio

Accessible drag and drop

Priya Natarajan

12:00

12:00 · 60 min · All rooms

Lunch in the courtyard

Street food from four local kitchens.

13:00

13:00 · 90 min · Main hall

Panel: Are page builders finished?

Four agencies, one moderator, no slides

13:00 · 45 min · Studio

Variable fonts in production

Hana Sato

13:00 · 3 hrs · Workshop lab

Type design lab

Sketch a display face and export a working font by 16:00.

14:00

14:00 · 45 min · Studio

Motion that respects users

Leo Brandt

15:00

15:00 · 45 min · Main hall

The grid behind the grid

Amara Diallo

15:00 · 90 min · Studio

Lightning talks

Eight speakers, five minutes each

16:00

16:00 · 45 min · Main hall

Closing keynote: Make it boring

Sam Whitfield

16:00 · 45 min · Workshop lab

Office hours

Grab a mentor.

17:00

17:00 · Until late · All rooms

Drinks on the roof terrace

Sponsored by nobody. Everyone welcome.

Under the hood

The bento, X-rayed

Here’s the same bento with the photos and words stripped out. Each outline is one block, labelled with the numbers it stores. Resize your window and it reflows exactly like the real one.

Hero

columnStart 1 · rowStart 1

span 2 × 2

Pour-over photo

columnStart 3 · rowStart 1

span 1 × 2

48h stat

columnStart 4 · rowStart 1

span 1 × 1

Latte photo

columnStart 4 · rowStart 2

span 1 × 1

Beans photo

columnStart 1 · rowStart 3

span 1 × 1

Testimonial

columnStart 2 · rowStart 3

span 2 × 1

Subscribe

columnStart 4 · rowStart 3

span 1 × 1

1 · What the blocks store

Four numbers per tile, one number per grid

This is the hero tile’s saved data, trimmed to the layout parts. The grid itself only stores how many columns it has. The @tablet and @mobile entries are the same settings for smaller screens: null means “let it flow”.

"style": {
  "layout": {
    "columnStart": 1, "rowStart": 1,
    "columnSpan": 2, "rowSpan": 2
  },
  "@tablet": { "layout": {
    "columnStart": null, "rowStart": null,
    "columnSpan": 2, "rowSpan": null
  } },
  "@mobile": { "layout": {
    "columnStart": null, "rowStart": null,
    "columnSpan": null, "rowSpan": null
  } }
}
"layout": {
  "type": "grid",
  "columnCount": 4,
  "isManualPlacement": true
},
"style": {
  "@tablet": { "layout": { "columnCount": 2 } },
  "@mobile": { "layout": { "columnCount": 1 } }
}

2 · What WordPress writes

Plain CSS Grid, generated on the fly

When the page loads, WordPress turns those numbers into ordinary CSS. This is copied from this page’s own source: one rule for the grid, one per tile, and a media query for each screen size, at WordPress’s default 782px and 480px breakpoints.

/* the Grid block */
.wp-container-core-group-is-layout-26437b8e {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
/* the hero tile */
.wp-container-content-7ba48bc4 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
@media (480px < width <= 782px) {
  .wp-container-core-group-is-layout-26437b8e {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wp-container-content-7ba48bc4 {
    grid-column: span 2; grid-row: auto;
  }
}
@media (width <= 480px) {
  .wp-container-core-group-is-layout-26437b8e {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .wp-container-content-7ba48bc4 {
    grid-column: auto; grid-row: auto;
  }
}

3 · How this post was made

Built in a Playground first, then published here

  1. Claude spun up a local WordPress Playground with Gutenberg 24.5 and read the plugin’s source to find exactly how Grid placement is saved.
  2. A small script wrote every layout as block markup: Groups, Headings and Paragraphs with their grid positions set, no custom CSS and no custom blocks.
  3. Every block was opened in the editor to check it was valid (214 of 214) before anything touched this site.
  4. The finished post was loaded into the editor here as a draft, checked on desktop and at phone width, then published.

Try it yourself

  1. Install the Gutenberg plugin (24.5 or later).
  2. Add a Grid block and set how many columns it has.
  3. Select a block inside it, open the Dimensions panel’s options menu, and turn on Grid placement.
  4. Move blocks with the four-way arrows, and drag a corner to stretch a block across columns and rows.

What gets saved

The placement is stored on the block itself, as four numbers. This is the big dark tile from the diagram above:

"style": {
  "layout": {
    "columnStart": 1,
    "rowStart": 1,
    "columnSpan": 3,
    "rowSpan": 2
  }
}

WordPress turns that into plain CSS Grid on the front end, grid-column: 1 / span 3 and grid-row: 1 / span 2. The same block can also hold different placement for tablets and phones, which is how each layout here falls back to a simple stack on a small screen.

The timetable is the one that sold it to me. Rooms are columns, hours are rows, and a three-hour workshop is just a block that spans three rows. That used to need a table or a custom block. Now it’s a Grid and a few drags.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *