This isn’t speficially a wappler question. But how do you make all of the card box sizes the same, if the text is too long and stretches to a new line?
If we suppose that we forget about using text-truncate I would just try to find or imagine the max. character count for this element (eg 50 characters) and see if they fit in 2 lines. Then just add inline styling, min-height and max-height of the same amount let’s say 3rem for both…). It depends of the title element, is this an H6 or what…
Then you will end-up having 2 lines space for all Titles.
Just talking as I’m thinking…
But I’m curious if anybody has a solid-tested idea!
It seems the button click for more choices is part of the card-body instead of in a separate card-footer div. Try by adding a div below the card-body div like this:
<div class="card-footer">
<button class="btn btn-dark">click for more choices</button>
</div>
Had to add d-flex and flex-column to .car-body and then my-auto to the h3 and that centered the text vertically. So when it had two lines of text it was centered.