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

Search Results

< 1 min read

Search Result Custom Order

To add this code, go to Dashboard > Appearance > Theme File Editor and add one of these codes at

Read more

Text Widget

2 min read

Perfecting WordPress Text Content Formatting

If you want to have slightly better but very satisfying content formatting for those who understand content formatting, use the

Read more

Video

< 1 min read

How to Get Youtube API and Check Quotas

How to get Youtube API:Go to: https://console.cloud.google.com/apis/dashboard How to check Youtube API Quota:Go to: https://console.cloud.google.com/iam-admin/quotas

Read more

Header

< 1 min read

Change Color of Header and Show-Hide Elements On Scroll

Useful for transparent headers. IMPORTANT Under ‘Motion Effect’ settings, below ‘Offset’, you must set the ‘Effects Offset’ into ‘1’ or

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, October 15

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.