Change height in diaporama widget


#1

Hello
I’d like to know how to change or force the height in the site origin diaporama widget to restrict an image or video to a specified height, the height option does not work. Is there another way?
Thank you for your help
best regard
S


#2

Hello,

Can you please provide a link to the page that contains that widget and describe what exactly you want to achieve?

Kind Regards, Roman.


#3

Hello Roman,

link

as I said in my previous email what I would like to do is reduce the height of the video, I know that by doing that it will cut it (up and down) but it does not matter.

I put in widget SiteOrigin diaporama video 400px for the height but nothing is happening.
Could i have you help please ,
Thank you again
S


#4

Hello, try to use the following CSS code.

You can add CSS code in Customize → Additional CSS section.

.so-widget-sow-slider-default-abf3e628296a ul li {
    height: 36vw !important;
}

.so-widget-sow-slider-default-abf3e628296a video {
    margin-top: -10vw;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


#5

Hello Roman,

this is it ! Thank you very much always good answers! and fast !!

I think that if I add a video on another page, I have to change the line - abf3e628296a - with the one that corresponds?

Thank you it works well!
Best regard and goog WE

S.


#6

Hello,

I think that if I add a video on another page, I have to change the line - abf3e628296a - with the one that corresponds?

Yes, but you might also have to adjust the values accordingly to other video aspect ratio.

Kind Regards, Roman.


#7

Hello Roman,

yes !

Thank you !
Best regard and good WE

S.


#8

You are welcome!

And have a nice weekend as well :slight_smile:

Kind Regards, Roman.


closed #9