gillish

Make a layout work on phone, tablet and desktop

Layout blocks in Gillish Cairnstone adapt to the screen on their own. Columns keep the proportions you give them and stack when space runs out. A Container grid puts its boxes one under the other on a phone, or as many in a row as you chose. For most pages that is all you need.

When you want exact control, you can give phone, tablet and desktop their own layout.

Choose where each device starts

  1. Go to Cairnstone → Settings → Site defaults.

  2. Find Responsive breakpoints.

  3. Set Desktop starts above and Phone at or below. Everything in between is tablet. Until you change them, they follow WordPress and your theme: 782 and 480 in WordPress’s own setting.

  4. Click Save Changes. Nothing on this tab is stored until you do.

Cairnstone Settings, Site defaults tab: the Responsive breakpoints section with the fields Desktop starts above and Phone at or below, and the Save Changes button.
The Responsive breakpoints section under Cairnstone → Settings → Site defaults.

These numbers are browser window widths. Every layout block A piece of a page, such as a paragraph, a picture or a button. In WordPress you build a page by putting blocks one after another. on your site follows them.

Give a column a different width per device

  1. Click inside one column. The panel on the right changes from Columns to Column.

  2. Under Set width for, pick Desktop, Tablet or Phone.

  3. Type the width for that device.

A Column selected, with Set width for on Tablet and Width for tablet set to 50 percent in the sidebar.
A column’s width for tablets.

A device you leave empty follows the next bigger screen. For example: 25 / 75 on desktop, 50 / 50 on tablet, stacked on phone.

Set how many grid boxes go in a row

  1. Select the grid Container and open its Section panel.

  2. Set Boxes per row, for example 4.

  3. Set Boxes per row on a narrow screen, for example 2. Leave it as it is to put the boxes one under the other on a phone.

A Grid block already on a page keeps its own setting: select it, open its Arrangement panel, pick a device under Set columns for and set Items per row.

Stack or keep side by side

A Columns block has an On small screens setting. Stack the columns one under the other (the default, best for text), or keep them side by side (good for a row of logos or icons).

Next, read Show different content to different visitors.

Trails

Cairnstone