pindart Posted February 20, 2022 Posted February 20, 2022 (edited) Site URL: https://www.patriciaindart.com Hi there, I’d like to be able to have a consistent card size on a carousel. On the home page, I’ve included quotes in a carousel list. Depending on the length of the quote, the card adjusts its height. I’d like the card height to stay consistent with the largest quote. I’ve included pics of what the carousel looks like now and what I would like it to look like. Thanks in advance for your help. P. Edited February 23, 2022 by pindart
tuanphan Posted February 23, 2022 Posted February 23, 2022 Add to Design > Custom CSS /* Equal carousel card height */ @media screen and (min-width:992px) { .user-items-list-item-container[data-section-id="620836f412e07a50b7cc302d"] h2 { min-height: 130px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
pindart Posted May 16 Author Posted May 16 (edited) This code did the trick: /*EQUAL CAROUSEL CARD HEIGHT*/ section[data-section-id="620836f412e07a50b7cc302d"] { .user-items-list-carousel__slide { align-self:stretch !important; justify-content: center;} } Edited May 16 by pindart putting code in the right place
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment