Page 1 of 1

Layout grid - background color on one column

Posted: Wed Jun 29, 2022 5:40 pm
by Aris
Hi.

The situation:
I have a layout grid with 3 columns.
I have put Padding top and bottom of the grid at 30px.
I wish to put background color of the middle (for example) column.
I see that this column gets color only between the limits of padding top and bottom.
I am thinking that this is the right solution.

But: is there something else in order to give someone the desired background color to the whole column?

Thank you.

Re: Layout grid - background color on one column

Posted: Wed Jun 29, 2022 5:49 pm
by Pablo
By default, a grid column is only as high as its contents.
But if you set the grid system to 'flexbox' then the entire background will be filled.

Re: Layout grid - background color on one column

Posted: Wed Jun 29, 2022 5:58 pm
by Aris
Thank you, Pablo.

This isa great help!