[Support request] Carousel Equal Height

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Carousel Equal Height

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32786
    Jon
    Participant

    Hello

    How can I achieve equal height for the image(s) within the basic Carousel Slider I’ve created, there a mix bag of ratios: square, portrait and landscape and padding left/right seems to be different, see link Carousel Slider

    Regards

    Jon

    #32788
    Jon
    Participant

    Padding is now, correct once I’d removed the height value , but is it possible for equal height for the images?

    #32823
    elvin
    Moderator

    Hi Jon,

    You can play around with this CSS:

    .wpsp-carousel .wp-show-posts-image {
        height: 300px;
    }
    
    .wpsp-carousel .wp-show-posts-image img {
        object-fit: cover;
        height:300px;
        width: auto;
    }

    Note: Since the images are not of the same size and aspect ratio, some cropping will occur on the bigger images to make them fit and have the height. You can remove or change the values height:300px; and width: auto;

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.