Elementor Background Video Changes on Container Hover

Elementor Background Video Changes on Container Hover

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

Table of Contents

With this tutorial and template file, you will be able to make an Elementor background video change on hover of the inner containers.

Because it requires hovering, it works on desktop only.

See it in action here:

Please purchase access and be logged in to access this template.

 

Visit the demo page directly.

Elementor Background Video Changes on Container Hover 1

Features:

  • Works for all video sources (YouTube, Vimeo, Self Hosted)
  • Made with the new Containers (lightweight structure)
  • Design your hero content however you wish (any and all element can be added, it will still work)
  • Smooth transition between videos
  • CSS only design
  • Desktop only

It can be done with the old sections and inner sections, however it makes it very DOM heavy. So I waited until the new container was out to publish this one.

Let's get started!

First, import the Elementor Background Video Changes on Hover template

This is a premium tutorial. Purchase access to unlock the full tutorial. You will also get the downloadable template file

Access tutorial

$19/one time Purchase access

Includes

  • Gain Access to This TutorialUnlock complete access to the current tutorial: Elementor Background Video Changes on Container Hover
  • Future UpdatesYou will get access to all future updates to this tutorial.
  • Enjoy Unlimited UsageUse on as many of your own sites or your clients sites as you wish.

    Note that reselling or redistributing is not permitted.

Access everything

$299/one time Purchase All Access

Includes

  • Unlock every premium tutorial on Element.howGet access to the entire library of premium tutorials on Element.how
    Preview premium tutorials
  • Get access to the CSS course for Elementor usersAccess the complete 14 HTML chapters, 30 CSS chapters and 7 Elementor Projects.Learn more
  • Simple CSS Grid For ElementorAn Elementor Addon to Create Awesome Grid Layouts in a Single Click for Containers, Galleries and Loop Grid. Learn more
  • free extra: ShapeDividers.com Premium AccessLifetime Premium Access to ShapeDividers.comVisit ShapeDividers.com
  • 6 months money backNo questions asked money back. Not what you expected? Get a refund.
  • One-time payment of only $299No hidden fees or subscriptions.

    Sales taxes added where applicable.
  • Support not needed!Due to personal circumstances, I no longer offer support. The vast majority of customers never needed support to start with, so chances are you will be just fine, the tutorials and templates provided are complete.

    I also extended the refund window from 1 to 6 months, during which you can get a full refund for any reason.
  • Lifetime access to everything Element.howThe price reflects what is currently available on Element.how. All future updates are included, but none are promised. You pay for what is available now, and the rest is a sweet extra.
* All prices are USD. Applicable taxes will be charged at checkout. Have a question? See the FAQ or email me.

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

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

Checkout the Elementor Addon Finder directly

5 Responses

  1. Hi! How would I modify this code if I want the "click here" button to be the hover trigger, instead of the e-con class? I've tried adding this jquery, but I can't get it to work.

    jQuery(document).ready(function($) {
    $('.dce-posts-container .dce-item>* a').hover(function() {
    $(this).closest('.elementor-background-video-container').css('opacity', 1);
    }, function() {
    $(this).closest('.elementor-background-video-container').css('opacity', '');
    });
    });

  2. Hey Melanie!

    It's a bit beyond the intention of this tutorial (which is CSS only), however try this. I haven't tested though:

    document.addEventListener('DOMContentLoaded', function() {
    jQuery(function($){
    $('.dce-posts-container .dce-item>* a').hover(function() {
    $(this).closest('.elementor-background-video-container').css('opacity', 1);
    }, function() {
    $(this).closest('.elementor-background-video-container').css('opacity', 0);
    });
    });
    });
    

    Cheers!

    1. Hey Louise!

      I don't understand, isn't the video already autoplaying? Like in my demo?

      "I also need the last video to keep on playing when not hoovering over button how is done ?"

      This tutorial is for a background video that changes on hover... sorry it 's not possible to have the video keep playing if you stop hovering...

Leave a Reply