Select Page

Videos on the same row are different height

Forum Forums Divi Product Support Divi Video Lightbox Module Usage Support Videos on the same row are different height

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #198
    admin
    Keymaster

    If you have multiple videos in a row, there might be a chance that your videos are proportionately of different height. And if so, they will display in different height as the Divi sets the video to be 100% width (of the column) and 100% height proportionate automatically.

    So in the case that you want the videos to be of same height, here’s what to do.

    1) Create thumbnail images for the videos
    2) Add css that fix the height of your video thumbnails
    .et_pb_video_overlaz {
    max-height: 130px !important;
    height: 130px !important;
    }

    3) Add css that fix the height of your video
    .et_pb_video_box {
    visibility: hidden;
    }

    Done. Try it out and see if it works for you. Cheers.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.