Back to Browse

The Background Switcher Effect You Didn’t Know You Needed | Elementor Tutorial

3.3K views
Aug 22, 2025
21:25

💻 In this tutorial, I’ll show you how to create a full background switcher effect triggered by hovering over individual call-to-action cards. We’ll use a smart combination of containers, images, CSS, and lightweight JavaScript to toggle an active class on our images with no extra plugins or widgets required. The result? A sleek, responsive effect that’s surprisingly simple once you know the trick. 🔧 Code used in the video: https://codepen.io/DanDigitalUK/pen/wBKjKKR 🛠️ Built with Elementor (affiliate link): https://be.elementor.com/visit/?bta=229043&brand=elementor CHAPTERS: 00:00 Introduction 01:38 Main container setup 03:29 First CTA box 07:35 First image 09:03 Responsivity setup 10:57 Add the custom CSS 11:24 Duplicate the CTA and image 12:36 Make borders responsive 14:01 Add the custom JavaScript 14:58 Background images on mobile 16:34 Custom CSS settings 20:52 Outro 👍 Like, comment, and subscribe for more tips on making your web designs stand out!

Download

1 formats

Video Formats

360pmp439.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

The Background Switcher Effect You Didn’t Know You Needed | Elementor Tutorial | NatokHD