How to Trigger Hover Effects for a Module, Column, and Row Simultaneously

Last Updated on September 18, 2022 by 2 Comments

How to Trigger Hover Effects for a Module, Column, and Row Simultaneously
Blog / Divi Resources / How to Trigger Hover Effects for a Module, Column, and Row Simultaneously
Play Button

One of the best things about building a site with Divi is that each building block is packed with design options. Every module, column, row, and section contains design settings for both the default and the hover state. This opens the door for triggering multiple hover effects when combining this elements together.

In this tutorial, I’m going to show you how to simultaneously trigger hover effects for a module, column and row. The trick is to make sure all of the elements share the same size and hover space. But once you have the elements in place, you can get extremely creative with your hover effects and designs.

Let’s get started.

Sneak Peek

Here is a quick example of how triggering hover effects of different Divi elements simultaneously looks.

trigger hover effects

Download the Design Example for FREE

To lay your hands on the design from this tutorial, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

To import the layout to your page, simply extract the zip file and drag the json file into the Divi Builder.

Subscribe To Our Youtube Channel

Let’s get to the tutorial, shall we?

Understanding How to Trigger Hover States on Multiple Divi Elements Simultaneously.

Each element in Divi (section, row, or module) has its own hover space which is basically the size of the element itself.

trigger hover effects

Each of these elements have built-in hover options that are activated when hovering over that element or any of the child elements it contains.

So, for example, if you have added hover options to a section, those hover options will become active whenever you hover of the section.

trigger hover effects

Then if you hover over the row hover space inside the section, you will activate the hover options of both the row and the section. This is because the row is a child element of the section.

trigger hover effects

Whenever you hover over a column, you activate the hover state of the column, the row, and the section.

trigger hover effects

And lastly, whenever you hover over a module, you trigger hover states for the module and all its parent elements (column, row, and section).

trigger hover effects

By default, each of these elements will have spacing (padding) that create gaps in the hover space which allows the user the ability to hover each element selectively. But, if you take out the spacing between each element, you will be able to trigger the hover states for all elements simultaneously.

trigger hover effects

This opens the door for many hover effect combinations that can happen simultaneously as you combine the hover options for each element and activate them on a shared hover space.

An Example of Combining Hover Effects

Here is an example of how this works with Divi.

In the example below, we have a row with a background image. On hover, we have a delayed box shadow that shows up as a kind of border design element.

Inside the row, we have a column that has been filled with a black box shadow. On hover, the column’s box shadow is decreased gradually to reveal the row background image.

Inside the column, we have a blurb module that has a blue background. On hover, the blue background is changed to a semi-transparent blue color so that you can see the background image.

Since there is spacing between each element, we can see the specific hover effect of each element as we hover over each individual hover space.

trigger hover effects

But, if we take out the spacing and give the row a custom width, all of the elements will share the same hover space. Or to say it another way, the module takes up the entire space of the column and row. So when we hover over the module, the hover effects for the module, column, and row are activated simultaneously.

trigger hover effects

Transition Delays Work Great with This Setup

Bear in mind that, in the example above, there are transition delays on the row and column hover effects which really highlight the functionality of this concept well. If we were trying to add a similar combination of hover effects to the module only, we would not be able to take advantage of applying different transition delays and durations to each hover effect individually.

Recreating the Design Example in Divi

To give you some instruction on how this plays out in the real world of Divi, let’s recreate the example described above.

What You Need to Get Started

To get started, you will need to have the following:

  1. The Divi Theme installed and active
  2. A new page created to build from scratch on the front end (visual builder)
  3. Images to be used for mock content

After that, you will have a blank canvas to start designing in Divi.

Adding the Section and Row

The first thing you need to do is create a regular section with a one-column row.

trigger hover effects

Update Row and Column Settings

Next, open the row settings and give the row a background image.

trigger hover effects

Then we need to take out the default padding so that there is no gap in the hover space between the row and the column.

  • Padding: 0px top, 0px bottom

trigger hover effects

Then add the following box shadow to the row on hover.

  • Box Shadow: see screenshot
  • Box Shadow Blur Strength: 0px
  • Box shadow Spread Strength: 0px (desktop), 10px (hover)
  • Shadow Color: #063c68

trigger hover effects

Next update the transition options with a duration and a delay as follows:

  • Transition Duration: 500ms
  • Transition Delay: 700ms

trigger hover effects

Now open the column settings and update the following:

  • Box Shadow: see screenshot
  • Box Shadow Blur Strength: 0px
  • Box shadow Spread Strength: 200px (desktop), 0px (hover)
  • Shadow Color: #000000
  • Transition Duration: 500ms
  • Transition Delay: 200ms

trigger hover effects

Add the Blurb Module

Now add a blurb module to the row.

trigger hover effects

Then update the blurb as follows:

  • Image: [insert blurb image]
  • Background Color: #0c71c3
  • Background Color (hover): rgba(12,113,195,0.35)

trigger hover effects

  • Text Alignment: center
  • Text Color: Light
  • Padding: 20px top, 20px bottom, 20px left, 20px right

trigger hover effects

Final Result

Check out the final result.

trigger hover effects

Final Thoughts and Tips

Understanding how to trigger hover states for multiple Divi elements simultaneously opens some exciting design possibilities. The example in this post highlights only a few of many hover effect combinations that are possible when you combine the hover states of a module, column, and row. Plus, we didn’t even explore the possibilities that come with combining the section hover options which would give you even more hover options. As you explore these hover effects on your own, here are a few tips and ideas to help along the way.

  • Use Box Shadow instead of Borders – Borders actually add additional space to an element so this might cause unwanted hover gaps. Box Shadows add a design element that doesn’t add actual space.
  • Explore Background Transition Hover Effects – Each Divi element has background hover options that can be combined for layers of creative hover effects.
  • Use Transform Hover Options – Transform hover options can add a creative element such as scaling and rotating elements on hover. However, it may be challenging to rotate multiple elements on hover since it will cause jumping.
  • Take advantage of transition options – Adding different transition durations and delays on each element’s hover state can create unique hover animations.

I hope this tutorial will inspire you to explore some amazing hover effect combinations in Divi.

I look forward to hearing from you in the comments.

Cheers!

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

Get a Free Butcher Shop Layout Pack for Divi

Get a Free Butcher Shop Layout Pack for Divi

Posted on April 15, 2024 in Divi Resources

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative; where each week, we give away a brand new Layout Pack for Divi. This time around, the design team has created a beautiful Butcher Shop Layout Pack that’ll help you get your next Butcher Shop...

View Full Post
Get a Free Online Learning Layout Pack for Divi

Get a Free Online Learning Layout Pack for Divi

Posted on April 8, 2024 in Divi Resources

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative; where each week, we give away a brand new Layout Pack for Divi. This time around, the design team has created a beautiful Online Learning Layout Pack that’ll help you get your next website up and...

View Full Post

2 Comments

  1. Will this work with three boxes in the same row from left to right?

  2. very Informative Post. I was thinking that Hover can use only on the URL tab but after this post, I tried on my website page column and row.
    Thanks for Sharing with us.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today