Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1234953

    How do I set the background for a video lightbox to display a full image? I would like the video background to be full width and height before clicking and opening in the lightbox.

    #1236262

    Hey creativeopole,
    Sorry for the late reply, I’m not sure what you mean by the ” video background to be full width and height before clicking and opening in the lightbox” but you can make the lightbox almost full width and height with this css.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    div.mfp-iframe-scaler  {
      height: 100vh !important; 
      width: 100vw !important;
      }
    .mfp-iframe-scaler iframe {
        left: -15vw !important; 
        width: 90% !important; 
        height: 90% !important; 
    }

    After applying the css, please clear your browser cache and check.
    Is that what you meant?

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.