(855)-537-2266 sales@kerbco.com

When you display clickthrough items on your page, it’s important to make sure people know that they can choose an item and click on it. One of the most obvious ways to do that is by including a button, but if you’re looking for an additional interactive way to encourage click-throughs on your page, you’ll enjoy this tutorial. Today, we’ll show you how to turn your cursor into a button when hovering a particular clickable element, such as an image. This will add extra incentive to your visitors and results in a beautiful page interaction. You’ll be able to download the 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 it 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!

1. Create Element Structure

Add New Section

We’ll start this tutorial by building the element structure inside a Divi page. Add a new section and use a white background color for it.

Move on to the section’s design tab and change the spacing settings as follows:

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

Remove all default top and bottom padding next.

Add Image Module to Column 1

Upload Image

Let’s modules, starting with an Image Module in column 1. Upload an image of your choice.

Add Link

Add a link to the image module next.

Hover Scale

Then, go to the design tab and change the hover scale settings of the module.

CSS Class

Complete the module settings by applying the following CSS class in the advanced tab:

Add Text Module #1 to Column 1

Add H3 Content

On to the next module, which is a Text Module containing some H3 content of your choice.

H3 Text Settings

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

Add Text Module #2 to Column 1

Add Content

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

Text Settings

Change the module’s text settings as follows:

Add Button Module to Column 1

Add Copy

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

Button Settings

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

cursor button

Add some custom spacing values as well.

Box Shadow

And complete the module settings by applying the following box shadow settings:

Delete Column 2

Once you’ve completed the first column and all modules inside it, delete the empty second column of the row.

Clone Column 1

And reuse the first column by cloning it once.

Clone Entire Row

Continue by cloning the entire row once.

Change All Duplicate Content, Images & Links

Then, make sure you change all content, images and links in each one of the duplicate columns.

2. Add Cursor

Add New Row to Section

Column Structure

Now that we have the element structure in place, it’s time to create the cursor design. To do that, we’ll add a new row to our section using the following column structure:

Open the row settings and remove all default top and bottom padding.

Add Cursor Text Module to New Row’s Column

Add Content

Next, add a Text Module to the new row. This Text Module will be dedicated to creating the cursor button design. Add some copy of your choice inside the content box.

Background Color

Then, add a background color.

Text Settings

Move on to the design tab and style the text accordingly:

We’re turning this module into a circle by changing the border settings.

Box Shadow

We’ll add a subtle box shadow too.

Then, we’ll give our module a CSS class.

Main Element CSS

We’re adding some CSS code lines to the module’s main element as well.

And we’ll complete the module settings by modifying the position in the advanced tab:

Add Code Module Below Text Module

Now that we have designed our cursor, it’s time to make the functionality work. To do that, we’ll add a new Code Module right below the cursor Text Module.

Add Style & Script Tags

Add some style and script tags to your Code Module.

Add CSS Code

Insert the following lines of CSS code between the style tags:

Add JQuery code

And use the following lines of JQuery code between the script tags:

In this tutorial, we’ve shown you how to add more interaction to clickable elements on your page. More specifically, we’ve shown you how to trigger a cursor button when someone hovers an element of your choosing. This adds some extra interaction to your page design and might help you increase clickthrough rates! You were able to download the JSON file for free as well. If you have any questions or suggestions, 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.