Use the @breakpoint
options to do advanced responsive layouts. More information about breakpoints can be found on the dedicated page.
{% include '@bolt-layouts-grid/grid.twig' with {
items: [
{
column_start: '1',
column_span: '12 4@small 3@medium',
row_start: '2 1@small',
content: item_1,
},
{
column_start: '1 5@small 4@medium',
column_span: '12 8@small 9@medium',
row_start: '1 1@small',
content: item_2,
},
]
} only %}
<bolt-grid>
<bolt-grid-item row-start="2 1@small" column-start="1" column-span="12 4@small 3@medium">
<!-- Item Content -->
</bolt-grid-item>
<bolt-grid-item row-start="1 1@small" column-start="1 5@small 4@medium" column-span="12 8@small 9@medium">
<!-- Item Content -->
</bolt-grid-item>
</bolt-grid>