Page 1 of 1

Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 1:37 am
by Little Owl
Hi,

If I selected to use Card Example 6 that comes with WWB14 & I want to have centred titles that vary in length (1 word or in some cases 4), no sub text, the boxes are then all staggered at different heights to allow for the extra text.

Is there a way to make them all stay the same height overall regardless of text length?

Thanks. :)

Re: Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 7:11 am
by Pablo
If you place the cards inside a flexbox container then you can make them all the same height.

See the 'Card decks' example:
http://wysiwygwebbuilder.com/cards.html

Re: Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 7:39 am
by Little Owl
Thanks.

I'll give that ago.

Re: Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 6:47 pm
by kenmed
But not in layout grid?
Ken

Re: Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 7:17 pm
by Pablo
No, this only works with flexbox.

Re: Can I make cards match size if text title amount varies?

Posted: Wed Jan 23, 2019 7:21 pm
by kenmed
ok