Elementor Background Overlay On Mobile & Tablet

Facebook
Twitter
Reddit
WhatsApp

CSS Code - Elementor Pro Version

				
					
/*Tablet background Overlay Elementor Pro*/
@media(max-width:1024px){
    selector.elementor-element > .elementor-background-overlay {
    background-color: transparent;
    background-image: linear-gradient(
80deg, #000000 20%, #F2295B00 80%);
    opacity: 0.79;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
}
/*Mobile background Overlay Elementor Pro*/
@media(max-width:767px){
    selector.elementor-element > .elementor-background-overlay {
    background-color: transparent;
    background-image: linear-gradient(
180deg, #000000 20%, #F2295B00 80%);
    opacity: 0.79;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
}
				
			

CSS Code - Elementor Free Version‚Äč

				
					/* CSS Class: bg-overlay */


/*Tablet background Overlay Elementor Free*/
@media(max-width:1024px){
    .bg-overlay.elementor-element.bg-overlay > .elementor-background-overlay {
    background-color: transparent;
    background-image: linear-gradient(
90deg, #000000 30%, #F2295B00 80%);
    opacity: 0.79;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
}

/*Mobile background Overlay Elementor Free */
@media(max-width:767px){
    .bg-overlay.elementor-element.bg-overlay > .elementor-background-overlay {
    background-color: transparent;
    background-image: linear-gradient(
180deg, #000000 30%, #F2295B00 80%);
    opacity: 0.79;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
}
				
			
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

More to explorer

Create a Custom Mobile Menu Drop Down In Elementor Pro

CSS /*Tablet breakpoint*/ @media(max-width:1024px){ /*Mobile nav column */ #nav-container{ display:none; overflow:hidden; } /*Switch nav widget to verticle on mobile */ .elementor-nav-menu–layout-horizontal .elementor-nav-menu

0
Would love your thoughts, please comment.x
()
x

45 Minute Wordpress Support

Get your Wordpress questions answered and your Wordpress issues resolved.