Aedify documentation / Build pages
Rows and columns
How Aedify lays out a page with rows and columns, every row and column setting with its default, how columns behave on tablets and phones, and row backgrounds with images, overlays and parallax.
Every Aedify page is a stack of rows. Each row is split into columns, and the columns hold your elements: text, images, buttons, products and so on. This page covers how to add and arrange them, and every setting they have.
If you're new to the builder, start with Using the builder.
How rows and columns fit together
- The page holds rows, top to bottom.
- A row holds one or more columns, side by side.
- A column holds elements, one under another.
Each row is divided into 12 equal parts, and each column takes a number of them. Two halves are 6 + 6, three equal columns are 4 + 4 + 4, and a wide column with a sidebar is 8 + 4.
You don't need to add a row before an element. Drop or click an element onto an empty part of the page and Aedify puts it in a new one-column row for you. Drag an element out of a column onto the page and the same thing happens.
Adding a row
Drag Row from the Layout group of the palette onto the canvas, or click it to add it after the selected row. A new row has 2 columns (½ ½).
Choosing columns
Open the row's Settings and pick a layout under Columns:
| Layout | Column widths (out of 12) |
|---|---|
| 1 column | 12 |
| 2 columns (½ ½) | 6 + 6 |
| 3 columns | 4 + 4 + 4 |
| 4 columns | 3 + 3 + 3 + 3 |
| 2 columns (⅔ ⅓) | 8 + 4 |
| 2 columns (⅓ ⅔) | 4 + 8 |
If you change to fewer columns, nothing is lost: the elements from the columns that go away move into the last remaining column.
When you've set column widths yourself, the menu shows Custom.
Changing columns one at a time
Hover over a column to see its toolbar:
- Duplicate splits the column in two. A 6 becomes 3 + 3, and the copy has the same elements. A 1/12 column can't be split further.
- Delete removes the column and gives its width to the column next to it. Deleting a row's only column deletes the row.
- Settings sets the column's own width (see Column settings).
- Alt + ← / → moves the selected column left or right.
Columns can't be hidden on their own. To hide everything in a column, hide its elements, or hide the whole row.
Row settings
| Setting | Default | Options |
|---|---|---|
| Columns | 2 columns (½ ½) | See Choosing columns |
| Width | Full width | Full width, Contained, Full bleed |
| Vertical alignment | Stretch | Stretch, Top, Middle, Bottom |
| Gap between columns | 24px | Any CSS size, such as 32px or 2rem. Leave empty for the default |
| Background | None | See Row backgrounds |
Width
| Width | The background | The content |
|---|---|---|
| Full width | Runs edge to edge of the screen | Stays within the page width (1200px) |
| Contained | Stays within the page width | Stays within the page width |
| Full bleed | Runs edge to edge | Runs edge to edge |
Use Full width for colored bands and banner-style sections where the text should still line up with the rest of the page. Use Full bleed for images and maps that should touch both sides of the screen.
Vertical alignment
When columns have different amounts of content, Vertical alignment decides where the shorter ones sit:
- Stretch: every column is as tall as the tallest one. Use it when columns have backgrounds or borders that should line up.
- Top, Middle, Bottom: the shorter columns sit at that height. Middle works well for an image beside a block of text.
Column settings
| Setting | Default | What it does |
|---|---|---|
| Width on desktop | Set by the row layout | 1/12 to 12/12 of the row |
| Width on tablet | Same as desktop | 1/12 to 12/12, or Same as desktop |
Columns always stack full width on phones.
On tablets and phones
Columns respond to how wide the row is, not just the screen, so they behave the same on a full-width page as in a narrow theme layout:
| Row width | Columns |
|---|---|
| Under 750px (phones) | Stack, each full width, in order from left to right |
| 750px to 989px (tablets) | Use Width on tablet, or the desktop width when that's Same as desktop |
| 990px and over (desktops) | Use Width on desktop |
If the tablet widths in a row add up to more than 12, the extra columns wrap onto a new line. For example, a 4-column row (3 + 3 + 3 + 3) reads better on tablets with each column set to 6 on tablet: two columns per line, two lines.
Check each width with Preview → Tablet and Mobile before you save.
Row backgrounds
Open Background in the row's settings.
| Setting | Default | What it does |
|---|---|---|
| Background image | None | The image behind the row's content |
| Mobile background image | None | Optional. Replaces the background image on screens up to 749px wide, for example a taller crop |
| Background size | Cover | Cover fills the row and may crop; Contain shows the whole image; Auto uses its real size |
| Background position | Center | Nine positions, from Top left to Bottom right. Decides which part stays visible when the image is cropped |
| Background attachment | Scroll | Fixed keeps the image still while the page scrolls |
| Repeat the image | Off | Tiles the image, for patterns |
| Overlay color | None | A color laid over the image, to make text easier to read |
| Overlay opacity (%) | 0 | How strong the overlay is, from 0 to 100 |
| Enable parallax background | Off | The image scrolls at a different speed from the page |
| Parallax speed | 0.5 | From -1.0 to 2.0 |
Size, position, attachment, repeat and parallax appear once the row has an image.
Overlays and readable text
With white text on a background image, add a dark Overlay color and raise Overlay opacity. From 50% up, the settings show the contrast of white text on your overlay, for example White text on this overlay: 7.12:1 (passes AA). Aim for at least 4.5:1.
Parallax
Parallax speed sets how the image moves as the page scrolls:
| Speed | The image |
|---|---|
| 1 | Moves with the page, like a normal background |
| 0.5 | Moves at half speed (default) |
| 0 | Stays still |
| Below 0 | Moves the other way |
Parallax runs without any script. Shoppers whose browsers don't support it, and shoppers who've asked their device to reduce motion, see a still image instead.
Style settings on rows and columns
Rows and columns also have the Style and Advanced sections every element has: margins and padding, a background color, borders, corner radius, minimum height and custom CSS. Use a column's Style → Background and Padding to make a card, for example.
A row with no background image can still have a plain color: set it under Style → Background.
Rows are spaced 1.5rem (24px) apart by default. To change the space under one row, set its bottom Margin in Style.
Tips
- Start with the layout. Add rows and pick columns first, then fill them. It's quicker than rearranging later.
- Use Templates for repeated rows. A row you use on many pages, like a shipping banner, belongs in a template: edit it once and every page updates.
- Mind the order on phones. Columns stack left to right, top to bottom. If an image should come after its text on phones, put it in the right-hand column.