Page 1 of 1

How to set how many cards in a column at the breakpoint

Posted: Sun Dec 21, 2025 9:06 pm
by Spinner
I have the card container with six cards in it, it set for a card deck with equal height cards.
How do I determine how many cards are in a column at the breakpoint?
I wanted it to be three wide on top of three wide.

Then as a follow-up question I see a breakpoint setting in the card container as well as in each individual card, what is the relationship there?

Re: How to set how many cards in a column at the breakpoint

Posted: Sun Dec 21, 2025 11:29 pm
by crispy68
Set your card container to 'grid'. In default view, set the column count to 6. Then go to your page breakpoint, open the card container and set the column count to 3. I find that 'grid' is more useful if you want to change the number of columns in multiple breakpoints.

As for the breakpoint option when using 'card deck'. This specifies when to switch from horizontal to vertical layout. Example, if you select 768 as the breakpoint, then your card container will be horizontal until it reaches 768px and then it will flip to vertical causing your cards to stack vertically.

Re: How to set how many cards in a column at the breakpoint

Posted: Sun Dec 21, 2025 11:55 pm
by Spinner
Thanks crispy,
that works well and as expected.
Is there a way to keep the images in aspect ratio as the columns are being compressed?

Re: How to set how many cards in a column at the breakpoint

Posted: Mon Dec 22, 2025 12:11 am
by crispy68
They should already scale and keep their aspect ratio when an image is added to the card. Width and height should be blank.

Re: How to set how many cards in a column at the breakpoint

Posted: Mon Dec 22, 2025 12:22 am
by Spinner
Okay I did have numbers in the height and width, I took those out and scaling problem fixed itself.
So what determines the size of an image then?

Re: How to set how many cards in a column at the breakpoint

Posted: Mon Dec 22, 2025 12:30 am
by crispy68
If you're wanting an image to scale , you can't set a fixed width and height. It will increase and decrease based on the size of the container, In this case the card.

Re: How to set how many cards in a column at the breakpoint

Posted: Mon Dec 22, 2025 8:35 pm
by Spinner
OK