Skip to main content

CSS Grid Builder

The CSS grid builder lets you set up a grid layout visually. Define columns and rows, name lines and areas, and place items, either in the sidebar or directly on the canvas. Everything it does is ordinary CSS on the selector you are styling, so the CSS editor always shows the same values, and grid CSS you already wrote is read as written.

Paid Feature

The CSS grid builder is available in Builderius Website, Professional and Studio. It is not included in Builderius Community (Free).

The grid builder has two parts:

  • The sidebar. The Layout section gets grid controls when Display is set to Grid: track cards for columns and rows, line names, alignment, auto flow and grid areas. The Grid Child section places the items.
  • The canvas. An editing layer over the grid, with a header for every column and row, − / + buttons, areas you draw from the cells, and handles to move and span items.

Making an Element a Grid​

  1. Select the element
  2. Open the Styles tab and the Layout section
  3. Set Display to Grid, or to Inline grid in the Display list

The grid controls appear under Display, for both. They also appear on any element that already has grid CSS written, even if Display is not set in the same selector.

Turning On the Canvas Builder​

The canvas builder is off until you turn it on, so it never covers your page by surprise.

When a grid is selected, its label on the canvas shows a grid icon:

Screenshot showing a selected grid with the grid icon in its label

Click the icon to turn the builder on for that grid. The grid gets a header above every column and beside every row:

Screenshot showing the grid builder on the canvas, with column headers 200px, 1fr and 2fr and two auto row headers

  • Grid icon (top left) - turns the builder off again
  • Column headers - one per column, showing the value as written
  • Row headers - one per row
  • − / + - remove or add the last column (top right) or row (bottom left)
  • Cells - the dashed outlines of the grid cells

The builder stays on for that grid while you work, also when you select one of its items. Turn it off with the grid icon in the top-left corner.

While the builder is on:

  • The builder's own outlines and labels are hidden inside the grid, so they don't cover the headers. The grid builder marks the selection itself.
  • A click inside the grid selects the grid item it lands in, never something deeper. A click on an image inside a card selects the card.
  • Selecting something deeper in the Navigator turns the builder off for that grid. Inside the grid, the builder only edits the grid and its direct children.

What Gets Written, and Where​

The grid builder writes exactly where the rest of the Styles tab writes:

  • To the selector in the selector input. That is the element's %local%, or a class such as .cards if you picked one.
  • At the breakpoint you are on. Switch to a smaller breakpoint to change the grid for that screen size.
  • In the scope you are on: Global or Template.

There is one exception. When a grid item is selected and you edit the grid on the canvas (a header, − / + or an area), the change goes into the grid's own %local% at the current breakpoint, because the selector input is then showing the item, not the grid.

Removing a value removes the property. Nothing is written that you did not set.

An Empty Grid​

A grid with no items has no height, so there would be nothing to draw on. While the builder is on, an empty grid gets a minimum height of 200px (12.5rem) on the canvas only. This is never written to your CSS.

Screenshot showing an empty grid with three column headers and one auto row while the grid builder is on

What Is in This Section​

  • Columns and Rows → - track cards, sizes, repeat(), minmax(), line names, headers, auto flow and alignment
  • Grid Areas → - naming parts of the grid, on the canvas and in the sidebar
  • Grid Items → - placing items, spanning them, and placing single items of a Collection
  • CSS Reference → - every grid property, which values are read, and the limits

Next steps: