Remember me

Adjust youtube video size in lightbox

7 years 4 months ago #1

  • Rodrigo's Avatar
  • Rodrigo
How do I make the video from youtube automatically adjust the height of the screen in lightbox?

7 years 4 months ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858

you need to add custom css code at the css file your template
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100vw;

.ba-modal .embed-code .modal-image.embed {
    position: static !important; 
    padding: 0!important;

Powered by Kunena Forum