Grid

[grid parameters]

Parameters

Parameter Description Required Values Default
columns Number of columns yes 2,3,4,5 2

The grid shortcode can be used when you are placing a single item in a grid, i.e. an image, a div, heading, etc.

For example:

[[grid columns='3']
<img src="...">
<img src="...">
<img src="...">
<img src="...">
<img src="...">
<img src="...">
[/grid]

The six images above will be placed in a three column grid (two rows of three).

In the event you need to place multiple items in each column, the row/column shortcode is the better pick. When you are arranging a single item into a column the grid shortcode excels over the row/column shortcodes as there is no need to create [column][/column] shortcodes around each item.