Classic card same image height

Hi

I wrote in before about the classic card element. I was sent to another thread where I tried all the Javascript code and the css code and it didnt work.

I am working on this page
https://www.compasscommunityarts.co.uk/the-team/

to try to get the images the same height and width.

Please can you help me?

Thanks

Hi @sorrelcarmichael,

Thanks for reaching out.

It wasn’t really made to have equal height and javascript should only serve as the idea which can be used and altered depending on user setup.

And it’s going to be faulty since the script is only meant to a specific view, which then not working on responsive setup since cards have a fixed aspect ratio.

For this, I recommend trying images with the same sizes and make the content with the same and almost the same amount of text or line breaks. This way, at least you can just apply a small CSS or script to make it fully equal. Right now, there is a big difference between the size, and even if you’re able to solve it, there are responsive views as well that you need to accommodate and fix it as well. And for now, it would require custom development that we can’t provide here in the forum.

For now, please make sure images has equal dimension and the texts too, then I’ll check again.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.