Elementor Change Section Background Image on Column Hover!

Elementor Change Section Background Image on Column Hover!

Element.How also offers premium tutorials! Check them here:

Table of Contents

Let's learn how to change the background image of an Elementor section upon hovering any of the columns within!

To begin with, download and import the template you want

Entering $0 gets them to you for free. Or support my work with the amount of your choice!

This will work right away with Elementor Pro. You will still want to watch the video to learn how to make modifications to get your own design.

For Elementor free users, it still works; watch the video to learn how to make this work with Elementor free, and see how to add custom CSS with Elementor free article.

This is the code for the 3 columns version:

<script> 
/* Please login to get the code 
 * The code will be for the Elementor Change Section Background Image on Column Hover! tutorial 
 * Found at this URL https://element.how/elementor-change-section-background-image-column-hover/ 
 */ 
</script>

 

This is the code for the 4 columns version:

<script> 
/* Please login to get the code 
 * The code will be for the Elementor Change Section Background Image on Column Hover! tutorial 
 * Found at this URL https://element.how/elementor-change-section-background-image-column-hover/ 
 */ 
</script>

Then, verify that you have a full width page layout

Click on the gear icon in the lower left part of your screen. Then you will see the different page layouts available for you. They will differ depending on what theme you are using.

With Hello theme, Default works just fine.
Elementor Change Section Background Image on Column Hover! 1

Now, adjust the code to get the design you want

If you want a different styling than what is offered by default. More information about this in the video.

Finally, enjoy your awesome Elementor column hover changing background images design!

Let me know if everything works for you!

Element.how also provides premium tutorials showing awesome advanced designs, check them out here.

Looking for something else? Search across 2737 Elements right here:

Checkout the Elementor Addon Finder directly

14 Responses

  1. Hi Maxime and thanks for the awesome code you provide.
    Am trying to have the hover work with a dynamic post list (text) on which you hover, and the background image would be the hovered post featured image. Any idea if this could work?
    Thanks!
    Julien

  2. Amazing! However, I do not get it to work on Ipad & Mobile version. When clicking on the button, the background image just turn into the overlay color without any image.

  3. Fantastic effect! With Elementor it would be possible to create a similar effect that works when a button is hover.
    I mean, three vertical buttons that on hover make the table background change.

    Anyway, thanks for the great trick. I'm at the very beginning and what you teach seems amazing to me.

    1. Hey Gabriele!

      I'm not following you, would you have an example of those three vertical button design? What is the 'table' background ?

      1. I found the solution with a JavaScript snippet
        If anyone has the same needs as me, they can use this code:
        ---

        { document.body.style.backgroundImage = "url (" + bgImage + ")"; }

        Button Name

        Button Name

        Button Name

        ---
        and many others...

        Thank you very much Maxime!
        You've earned a new loyal fan!

      2. Great work managing all of this by yourself! Nice design indeed on that website...

  4. Thanks for the code, it's 99% what I need with just one small bug. I'm using this with a 3 column layout and the column height is 50% of the screen height.

    I have a default background, let's call it bg0. Column 1 has a background bg1, column 2 has a background bg2, and column 3 has a background bg3. I've changed

    .sectionchanger .elementor-column::after{
    transition: opacity 0.44s;
    }

    to

    .sectionchanger .elementor-column::after{
    transition: opacity 0s;
    }

    So that the transition between column backgrounds is instant. The issue I am having is that when I revert back to the default background bg0 (for example by moving the mouse cursor away from the section containing the 3 columns) there's still a slight transition. How do I eliminate that transition completely?

  5. Good morning,
    I just bought the template for $ 9, uploaded it to my Astra Theme with Elementor Pro and can't see it working. What am I doing wrong?

Leave a Reply