Grid System
Web Style Guide
Note
All defaults and examples discussed on this page apply only at desktop sizes. Smaller screens, such as mobile devices, will wrap grid items to new rows as necessary.
Examples
In the following examples, we will start with a grid that contains eight items. With the default values, the grid would result in a maximum of three items in each row.
2 Columns
If you want to create a two-column grid, you can apply the Maximum Columns: 2 format. The grid will no longer allow more than two items per row, and the desired layout can be achieved.
4 Columns
If you want the grid to accommodate four items in each row, you can apply the Minimum Column Width: 150px format. The grid items will now be allowed to get smaller, meaning more items can fit in a row, and the desired layout can be achieved.
Wide Grid
Apply the Wide Block format to your grid to expand its width beyond the main container. This will allow more items to fit in a row by default.
The following example uses the Wide Block format and the Maximum Columns: 4 option.
Grid Block
The Grid Block content layout is the simplest implementation of the grid system. When placed on a page, it contains 3 blocks. Blocks can be added, removed, or reordered using the controls, and grid properties can be adjusted using the Formats described above.