Adjust video size on slider

How can I adjust the size of the video on slider? Currently it is full width but would like it to fill the entire space. I don’t mind if it is cropped at the sides but would like to get rid of the black bars on the top and bottom.

https://dash.elfsight.com/widget/b6586cc8-5031-429f-ad65-d9ba37012193

1 Like

Happy to see you with us @Tara_Salter :wave:

I’ve shared your request with our dev team. I’ll get back to you once I receive a response from them :slightly_smiling_face:

We’ve added this code to the Custom CSS field on the Advanced tab of your widget’s settings:

.eapp-slider-background-videoOuter .eapp-slider-background-iframe {
  top: 50%;
  left: 50%;
  width: 2200px;
  transform: translate(-50%, -50%);
}
@media(max-width: 500px) {
  .eapp-slider-background-videoOuter .eapp-slider-background-iframe {
    top: 50%;
    left: 50%;
    width: 800px;
    transform: translate(-50%, -50%);
  }
}

Check your widget and let me know if you like what you see :slightly_smiling_face:

Fantastic! Thanks so much that is perfect :slight_smile:

1 Like

You are always welcome :wink: