Loops in columns + lines (grids)
If you have a list of items which you want to display in multiple columns and multiple lines, you may use our columns features.
Example data :
In your template, you have to add Col1, Col2, Col3 to each one of your variables, as shown below:
{#images}{%imageCol1}
{titleCol1}
{descriptionCol1}
{%imageCol2}
{titleCol2}
{descriptionCol2}
{%imageCol3}
{titleCol3}
{descriptionCol3}{/images}
Template
Result
Last updated