How to Create a Seamless Hover Grid with Divi | Elegant Themes Blog

If you enjoy building websites with user interaction in mind, you’re going to love this Divi design tutorial. Today, we’ll show you how to create a seamless hover grid. The design is initially plain and clean. As soon as someone hovers one of the items, the background image is revealed and the module styles change along with it. This results in a beautiful hover experience. In this tutorial, we’ll guide you step by step through the creation process. You’ll be able to download the layout’s JSON file for free as well!

Let’s get to it.

Download The Layout for FREE

To lay your hands on the free layout, you will first need to download them using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list 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.

Join the Divi Newsletter and we will email you a copy of the ultimate Divi Landing Page Layout Pack, plus tons of other amazing and free Divi resources, tips and tricks. Follow along and you will be a Divi master in no time. If you are already subscribed simply type in your email address below and click download to access the layout pack.

You have successfully subscribed. Please check your email address to confirm your subscription and get access to free weekly Divi layout packs!

Let’s Start Recreating!

Add New Section

Start by adding a new section to the page you’re working on. Open the section settings and apply a white background color.

Continue by adding a new row using the following column structure:

And include a top and bottom border.

Up next, we have the column 1 settings. Apply a gradient background on hover.

Hover Background Image

Upload a background image on hover too.

CSS Class

And complete the column settings by assigning the following CSS class in the advanced tab:

Add Text Module #1 to Column 1

Add H3 Content

Time to add modules, starting with a first Text Module in column 1. Use some H3 content of your choice.

H3 Text Settings

Move on to the module’s design tab and change the H3 text settings as follows:

Next, we’ll add some right and bottom borders.

CSS Class

And we’ll complete the module settings by assigning the following CSS class to the Text Module:

Add Text Module #2 to Column 2

Add Content

Add another Text Module right below the previous one with some description content of your choice.

Text Settings

Move on to the module’s design tab and change the text settings accordingly:

Apply some custom padding values too.

CSS Class

And complete the module settings by using the following CSS class for the module:

Add Button Module to Column 2

Add Copy

The next and last module we need is a Button Module. Add some copy of your choice.

Button Settings

Modify the module’s button settings as follows:

hover grid

Add some custom spacing values too.

Box Shadow

Then, apply a box shadow.

CSS Class

And complete the module settings by assigning the following CSS class to the button:

Reuse Column 1

Delete Columns 2, 3 & 4

Now that we’ve built the first column, we can reuse it. The first thing we’ll do is remove the empty columns in our row.

Clone Column 1 Three Times

We’ll reuse column 1 by cloning it three times.

Change Duplicate Column Hover Background Images

Change the duplicate column background images in each duplicate column.

Change Duplicate Content

Along with the module content in each duplicate column.

Unique Column Borders

We’ll need to apply some unique border settings to each column, starting with column 1 and 2. Both these columns need the following border settings:

Column 3

And we’ll use the following border settings for column 3:

Add Custom CSS Code to Page Settings

Open Page Settings

Now that we’ve got the entire design in place, the only thing left to do is add some custom CSS code to help trigger hover effects on child elements (the modules). To do that, open the page settings.

Add CSS Code

And copy paste the following lines of CSS code:

In this post, we’ve shown you how to create a beautiful hover design. More specifically, we’ve created a column grid that starts of plain and clean. As soon as visitors hover a particular item in the grid, the background image is revealed and the module styles change. You were able to download the JSON file for free as well! If you have any questions, feel free to leave a comment in the comment section below.

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

This content was originally published here.