Okay
  Public Ticket #894360
Carousel Image Height
Closed

Comments

  • Josef started the conversation

    How can I adjust the Carousel settings, so each image has the same height (regardless of width)?

    Currently, portrait images are sticking out well below landscape images and looks weird. I'd like it if each image had a fixed height, and the width would scale depending on the image.

    Can't seem to get it to work.

    Thanks

  • [deleted] replied

    Hi Josef,

    This widget is developed by Visual Composer team and they haven't provided such an option to set maximum height of images, however can you try this Custom CSS:

    .wpb_wrapper .vc_images_carousel .vc_item img {
    max-height: 250px;
    width: auto;
    }
    Add it to Custom CSS in that page and see if it works for you. Replace that 250 with your preferred maximum height.