Elementor Custom Video Lightbox CSS

1 year 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

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

Single Post

2 min read

Hiding “Previous Post” Navigation in Elementor with Custom CSS

Hi, there! I’ll share some quick tips on how to change the appearance of article navigation on your Elementor website.

Read more

Video

3 min read

YotuWP Plugin: Custom CSS

Go to Dashboard > Appearance > Customize and add this custom CSS. LIGHT MODE CSS DARK MODE CSS

Read more

Troubleshoot

< 1 min read

How to Fix Favicon Not Showing on WordPress Multisite

In some cases, sub-sites on multisite is not showing the favicon. To assign favicon for each site on WordPress multisite,

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, May 31

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.