Skip to main content
Funnel builder

Sections, grids and columns

Layout blocks give your page its structure: sections stack your content from top to bottom, and grids and flex rows place things side by side. This page also covers spacers, dividers, popups, and blocks that stick to the screen or appear as visitors scroll.

Last updated 42 minutes ago

Layout blocks give your page its structure: sections stack your content from top to bottom, and grids and flex rows place things side by side. This page also covers spacers, dividers, popups, and blocks that stick to the screen or appear as visitors scroll.

Note: Changing layouts needs the Edit funnels permission. Layout settings can't be changed in a country version of a page; switch back to Default first.

Section, Grid or Flex?

All three are in the Layout group of Components.

Block

What it is

Use it for

Section

A full-width band of the page. Everything inside it stacks from top to bottom.

Each part of your page: hero, benefits, testimonials, offer, footer

Flex

A row of columns side by side. It starts with 2 columns and holds up to 5.

An image next to its text, three benefits in a row, two buttons side by side

Grid

Rows and columns of cells. It starts as 2 by 2 and goes up to 5 by 5.

Feature tiles, a wall of logos or photos, cells that span several columns

A typical page is a stack of sections, with a flex row or grid inside a section wherever things sit next to each other. When you click Section, Grid or Flex in the panel, it's added as a new band right after the band you're working in (the one that holds the selected block), or at the end of the page when nothing is selected. To put a grid or flex row inside a section, drag it from the panel onto the middle of that section, or move it there in Layers with drag and drop or Move to another container.

On Mobile, flex rows and grids automatically stack into a single column, each cell on its own row in reading order. Tablet keeps the desktop layout. You can change both; see Layouts on tablet and mobile.

Quick layout controls on the canvas

Select a grid or flex row. Its toolbar gets a layout button that describes the current layout, such as "Desktop Grid 2x2" or "Desktop Flex 2 Horizontal". Click it to change the layout without opening the inspector:

  • Grid: under Columns and Rows, add one, move one left, right, up or down, or delete one.

  • Flex: choose a direction (Horizontal, Vertical, Horizontal reverse or Vertical reverse), then add, move or delete Columns.

  • Repeated card lists from imported pages: use Decrease items per row and Increase items per row.

If you delete a column or row that has content in it, you're asked to confirm, because its content is removed too.

A selected grid with its Desktop Grid 2x2 button and the Desktop Grid Layout panel open, showing the Columns and Rows controls

The button works on the device you're viewing. On Tablet and Mobile it has an orange border while the layout is inherited, and the panel says "Inherits desktop until you choose a value." (for repeated cards on mobile: "Uses the automatic one-item mobile stack until you choose a value."). Once you change something, it says the layout is custom for that device and offers Reset to desktop layout.

Section settings

Select a section and open Config:

  • Content sizing: whether the section grows when its content needs more space. Grow lets the section get taller as you add content; Clip keeps its height and cuts off anything that doesn't fit. A section only has a height to keep once you set a height or maximum height under Design → Layout, so until then Clip reminds you: "Content is clipped only once a fixed height is set under Design → Layout." Min height can be Auto (only while empty), which keeps an empty section tall enough to drop blocks into, Hug content, or Custom px with a second Min height field for the value.

  • Content alignment: where the blocks inside sit. Horizontal can be Stretch, Start, Center or End. Vertical can be Start, Center, End, Space between or Space around. As the card's info icon says, "Vertical alignment needs the section to be taller than its content", so give the section a Min height first, for example to center a hero headline.

  • Sticky: pins the section while the page scrolls. See Sticky elements.

Each card's info icon (next to its title) explains what the card is for.

Under Design:

  • Content → Name names the section. The name shows in Layers and at the top of the Scroll to ID list, which makes sections easy to tell apart and to link to.

  • Layout sets its size, padding and margin; Background, Border and Shadow set its look. On published pages, a top-level section's background spans the full width of the screen. A section's padding stays exactly as you set it on every device.

Flex rows (columns)

Select a flex row and open Config. The first line tells you which device you're editing ("Editing Desktop layout."). On Tablet you'll see "This viewport inherits the desktop layout.", and on Mobile "This viewport automatically stacks the columns vertically." Click Customize to give that device its own layout. To undo that, click Reset to desktop layout on Tablet or Reset to automatic layout on Mobile.

  • Content sizing: the same as for sections.

  • Flex flow: the direction, the number of columns and the space between them.

    • Gap: space between the columns, in pixels. You can change it on every device without clicking Customize. On Tablet and Mobile it's "Scaled from the desktop gap until you change it here."; once you change it, that device keeps its own gap, and Use scaled gap goes back to the scaled one. Changing the gap on a phone never moves the desktop gap.

    • Columns: 1 to 5.

    • Direction: Horizontal, Vertical, Horizontal reverse or Vertical reverse.

    • Main-axis distribution: how columns spread along the row: Start, Center, End, Space between or Space around.

    • Align: how columns line up across the row: Stretch, Start, Center or End.

  • Item sizing: for each column, set Size to Fill (share the remaining space), Auto (as wide as its content), Percent or Fixed px. Order changes its position, and Grow weight decides how much of the remaining space a Fill column takes compared with the others.

For repeated card lists from imported pages, Flex flow shows Items per row and Last-row alignment instead, so you can resize every card at once without deleting any.

Grids

Select a grid and open Config. Like flex rows, grids show which device you're editing, with Customize and a reset button on Tablet and Mobile. On Mobile the note reads "This viewport automatically stacks the cells into one column."

  • Content sizing: the same as for sections.

  • Grid structure: Columns (1 to 5), Rows (1 to 5), Column gap, Row gap, and Gap color to color the lines between cells. With a gap color, the cells take the grid's background, or white if the grid has none. Gaps are set on Desktop: Tablet and Mobile show the scaled-down gap they use, read-only.

  • Column preset, for two-column grids only. Behavior can be Equal, Auto + fill (the first column is as wide as its content and the second takes the rest), Fill + auto (the other way round) or Custom.

  • Track sizing: for each Column and Row, choose Weight, Auto, Percent or Fixed px. Weights share the space: a column with weight 2 is twice as wide as one with weight 1. Auto fits the content.

  • Cell placement: for each cell, set Col and Row to move it, and Col span or Row span to stretch it, for example a wide cell across the top of a feature grid.

On Mobile, unless you customize it, a grid becomes one column with its cells stacked row by row.

Arrange elements inside a cell

Each column of a flex row and each cell of a grid works like a small section. Select the cell itself (it's listed as a "slot" in Layers, or click the name in the tab of a block inside it and pick the slot from the menu), then open Config → Cell flow to arrange the blocks inside it:

  • Gap between the blocks in the cell, in pixels like the other Gap fields.

  • Wrap: No wrap, Wrap or Wrap reverse.

  • Direction, as for flex rows.

  • Distribute and Align, which work like Main-axis distribution and Align on a flex row.

To size one block inside a cell, select the block and open Config → Layout in parent, which decides whether the block fills its cell or hugs its content:

  • Size: Fill, Hug content, Percent or Fixed px, plus Order and Grow weight or Value.

  • Align self: Auto, Stretch, Start, Center or End.

A block set to Fill uses the full width of its cell, so choosing Start, Center or End switches it to Hug content. To center a button in its cell in one go, click Hug content and center.

Spacer and Divider

Spacer adds empty space between blocks, 32 pixels by default. Select it and go to Design → Content:

  • Direction: Vertical (empty height between stacked blocks), Horizontal (empty width, for example between two blocks in a row) or Both.

  • Height (px), Width (px) or Size (px), depending on the direction: 0 to 600.

"Tablets and phones shrink the space automatically, to 85% and 70%." On the canvas, a spacer shows a faint striped fill so you can find and click it. Visitors never see the stripes. For space around a single block, padding or margin on that block often works just as well; see Spacing and borders.

Divider draws a horizontal line. Select it and go to Design → Content:

  • Line color

  • Line style: Solid, Dashed or Dotted.

  • Thickness (px): 1 to 24.

  • Length (%): 1 to 100. Use less than 100 to make the line shorter than its container.

  • Align: Left, Center or Right, for a shortened line.

A new divider is a thin, light grey line across the full width of its container, with 16 pixels of space above and below. If you give a divider a height, its line is drawn in the middle.

Popups

A popup is a window that opens over your page when a visitor clicks a button, an image or a link, for example for your privacy policy, terms, a size guide, a video or a special offer.

1

Add the popup

Select a block in the section where you want the popup to live, then click Popup in the Layout group. On the canvas it appears as a dashed frame labelled Popup, with "opens from an “Open popup” action or a link to #" and its anchor. Each popup gets its own anchor automatically, and so does every copy of one.

2

Fill it

Drag the content you want to show, such as a Text, Image or Button block, into the frame's Popup content area.

3

Set its title, anchor and width

Select the popup and go to Design → Content:

  • Anchor: the name that opens it. You can replace the automatic one with something readable, for example popup-privacy-policy. Spaces and other characters a link can't carry become dashes.

  • Title: optional, shown at the top of the window next to the close button.

  • Max width (px): how wide the window can get, from 200 to 1600. A new popup is at most 560 pixels wide.

4

Select a Button or Image, open Interactions and set the action to Open popup. Then choose the popup in Popup, where each one is listed by its title and anchor. See Open a popup.

You can also link to # followed by the anchor, for example #popup-privacy-policy. Any of these works: a text link, a Link block's URL, a Nav Menu item, an image's Link field (when the image's click action is None), or a link inside Custom HTML.

5

Visitors can always close the popup, but you can add your own "Close" or "Back" link inside it by linking to #close-popup.

6

Test it

Click Preview and click your link. Popups don't open on the canvas.

A popup on the canvas shown as a frame labelled Popup that opens via links to #popup-privacy-policy, with the Anchor and Title fields filled in under Content on the Design tab

What visitors see: the popup opens in the middle of the screen over a dark background, up to its Max width and 85% of the screen tall, and scrolls inside if its content is longer. Opening a popup closes any other one that's open. It closes with the × button, a click on the dark background, the Esc key or a #close-popup link. The page behind it doesn't scroll while it's open. A popup you've hidden on a device on the Visible on row doesn't open on that device.

The popup's Config tab has no Block ID or Sticky settings, because a popup isn't part of the page flow. Its Opening this popup card explains how the popup opens instead.

Open it on scroll (optional). On the popup's Interactions tab, turn on Show after a distance under On scroll and set After (px):

  • Appear: the popup opens by itself once, when the visitor has scrolled that far. Before that point, links to it don't open it. After the visitor closes it, links open it again as usual.

  • Disappear: the popup closes when the visitor scrolls past that point, and links don't open it further down the page.

Note: Apart from scroll distance, popups only open when a visitor clicks. There are no other automatic triggers, such as a timer or exit intent.

Sticky elements

A sticky block stays pinned to the top or bottom of the screen while the visitor scrolls. Select the block and open Config → Sticky.

  1. Turn on Stick in view.

  2. Choose Stick to: Top or Bottom.

  3. Set Offset (px) to leave a gap between the block and the edge of the screen.

A sticky block stays pinned only while the block around it is on screen. To pin something for the whole page, such as a header bar, make its top-level section sticky.

On a column of a flex row or a grid cell, Sticky pins the column while the rest of the row scrolls. Use it to keep, say, an order summary in view beside a long column of benefits.

Sticky blocks aren't pinned on the canvas, so check them in Preview.

Show or hide on scroll

A block can appear, or disappear, once the visitor has scrolled a certain distance down the page. Select the block and open Interactions → On scroll.

  1. Turn on Show after a distance.

  2. Choose On scroll: Appear (hidden at first) or Disappear (visible at first).

  3. Set After (px): how far the visitor scrolls before it changes.

For example, a "Back to top" link can Appear after 1000 pixels, once visitors are well into a long page. Like sticky blocks, this only works in Preview and on the live page, not on the canvas.