How to Change Section Background Image Using Custom Thumbnails in Elementor

Whats in this Video

Code


    

<script>
jQuery(document).ready(function($){
	$(".img__thumb").hover(function(){
	    $(".img__thumb").removeClass("active");
	    $(this).addClass("active");
	    var src = $(this).children().children().attr('src');
	    $(".change__bg").attr('style','background-image:url('+src+')!important;');
	});
});
</script>

<style>
   .img__thumb.active{
       transform: scale(1.1);
       transition: all 0.7s;
   }
   .img__thumb{
       transition: all 0.7s;
   }
</style>


Copyright © 2025 Web Bhavan.