Search Divi Plus Documentation

Search for answers or browse our knowledge base.

< All Topics
Print

How to make the Divi Plus Image Card Carousel images of same height?

If you are using the Image Card Carousel to display only images but not the whole card then you can display same size images using the following css:

.dipl_image_card_carousel_item .et_pb_module_inner,
.dipl_image_card_carousel_item .dipl_image_card_wrapper,
.dipl_image_card_carousel_item .dipl_image_card_image_wrapper {
    height: 100%;
}
.dipl_image_card_image_wrapper img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.