Hi guys.
I have made a button with a videolight box. On PC it looks exactly as i want:

But on mobile it shows a lot of white padding around the video:

How do i get rid of the spacing?
I’m using two different buttons. On for mobile and one for PC.
The mobile button is:
[button style=“text-shadow: none; font-size: 0.8em;
font-style: normal;
font-weight: 600;
line-height: 1;
text-align: center;
text-transform: uppercase;
color: white;
padding: 22px; padding-left: 35px; padding-right: 35px;” class=“videoLightbox2” type=“flat” shape=“rounded” size=“large” href="//player.vimeo.com/video/305525953?autoplay=1" title=“Example”][x_icon type=“play-circle-o”] Afspil velkomstvideo[/button]
[lightbox style=“max-height: 500px;” selector=".videoLightbox2" opacity=“0.875” prev_scale=“0.75” prev_opacity=“0.75” next_scale=“0.75” next_opacity=“0.75” orientation=“horizontal”]
The PC button is:
[button style=“text-shadow: none; font-size: 0.8em;
font-style: normal;
font-weight: 600;
line-height: 1;
text-align: center;
text-transform: uppercase;
color: white;
padding: 22px; padding-left: 35px; padding-right: 35px;” class=“videoLightbox1” type=“flat” shape=“rounded” size=“large” href="//player.vimeo.com/video/305525953?autoplay=1" title=“Example”][x_icon type=“play-circle-o”] Afspil velkomstvideo[/button]
[lightbox style=“max-height: 500px;” selector=".videoLightbox1" opacity=“0.875” prev_scale=“0.75” prev_opacity=“0.75” next_scale=“0.75” next_opacity=“0.75” orientation=“horizontal”]
And my CSS is:
@media(min-width: 980px) {
/* for the video lightbox */
.ilightbox-holder div.ilightbox-container {
max-width: 900px;
max-height: 505px;
}
.ilightbox-holder {
left: 50% !important;
margin-left: -450px;
}
}
.ilightbox-holder.light {
border: 0px solid;
border-color: #f1f2f4;
border-radius: 2px;
padding: 0.5%;
opacity: 1 !important;
background: #fff;
}
.ilightbox-toolbar.light {
display:none !important;
}
.ilightbox-overlay.light {
background: #283c46;
}
Any idea on how to fix this?
My site is: https://fitnessformularen.dk/
If you wan’t in my login is:




