Elementor Custom Video Lightbox CSS

2 years ago

< 1 min read

Posted by:

Focus

Subscribe to newsletter

By subscribing you agree to with our Privacy Policy.

Share

Add this code on Appearance Customize > Additional CSS :

/* Start of Video Lightbox Settings */

/* Landscape Videos */

@media only screen
	and (max-device-width: 767px) {
.elementor-lightbox .elementor-video-container .elementor-video-landscape {
    width: 100vw !important;
	margin-top: -99px !important;
		}
}

@media only screen
	and (min-device-width: 767px) {
.elementor-lightbox .elementor-video-container .elementor-video-landscape {
    width: 63vw !important;
		}
}


/* Portrait Videos */

@media only screen
	and (max-device-width: 767px) {
.elementor-lightbox .elementor-video-container .elementor-video-portrait {
    height: 70vh !important;
		}
}

@media only screen
	and (min-device-width: 767px) {
.elementor-lightbox .elementor-video-container .elementor-video-portrait {
    height: 90vh !important;
		}
}

/* Lightbox Settings */

div.elementor-video-container.elementor-lightbox-prevent-close {
width: auto !important;		}


/* Blur Effect */

.elementor-lightbox {
	backdrop-filter:blur(5px);
}

/* End of Video Lightbox Settings */

Read more

Troubleshoot

< 1 min read

How to Fix Custom Fields Not Showing in WordPress (Crash with ACF Plugin)

If custom field is not showing when ACF plugin is activated, go to Dashboard > Themes > Themes File Editor,

Read more

Container

< 1 min read

Hide Scroll Bar On ‘Overflow: Auto’ Container

Add this following CSS code to the container: selector {-ms-overflow-style: none; /* IE and Edge / scrollbar-width: none; / Firefox

Read more

Container

< 1 min read

Make Container Scrollable

Add this on the column’s custom CSS panel. Adjust the ‘max-height’ to your needs.

Read more

Post Widget

2 min read

How to Make Post Widget’s White Space Clickable (+Popup)

Go to Dashboard > Elementor > Custom Code. And then add this code to make the whole space/box/card of the

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, August 30

Hi, there 👋

How can I help you?

Start Chat with:

We use cookie to improve your experience on our site. By using our site you consent cookies.