How to Create Beautiful Gradient Background Hover Transitions with Divi

July 12, 2019

Recently, some additional hover options have been added to Divi–allowing you to create even more cool effects without having to touch one single line of code. You can now, for instance, create amazing gradient background hover transitions. By combining column, row and section gradients, you can achieve unique designs. In this tutorial, we’ll show you exactly how to do that. We’ll start off by going through some general steps. Once that’s done, we’ll focus on three design examples individually. You’ll also be able to download the JSON file for free!

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the three different examples we’ll recreate throughout this tutorial.

Example #1

how-to-create-beautiful-gradient-background-hover-transitions-with-divi Theme Builder Layout

Example #2

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-1 Theme Builder Layout

Example #3

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-2 Theme Builder Layout

Download The Hero Sections for FREE

To lay your hands on these free hero sections, 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.

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

General Steps

Add New Section

Spacing

Let’s start by going through some general steps. Add a new section to the page you’re working on and remove all default padding. Removing all top and bottom padding will, later on, help us combine column, row and section gradient backgrounds.

  • Top Padding: 0px
  • Bottom Padding: 0px

how-to-create-beautiful-gradient-background-hover-transitions-with-divi Theme Builder Layout

Add New Row

Column Structure

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

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-1 Theme Builder Layout

Sizing

Without adding any modules yet, open the row settings and allow the row to take up the entire width of the section container.

  • Width: 100%
  • Max Width: 100%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-2 Theme Builder Layout

Spacing

Move on to the spacing settings and remove all default top and bottom padding.

  • Top Padding: 0px
  • Bottom Padding: 0px

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-3 Theme Builder Layout

Add Text Module #1 to Column

Add H1 Content

Let’s start adding modules! The first one we need is a Text Module with some H1 content.

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-4 Theme Builder Layout

H1 Text Settings

Move on to the design tab and change the H1 text settings accordingly:

  • Heading Font: Montserrat
  • Heading Text Alignment: Center
  • Heading Text Color: #000000
  • Heading Text Size: 3vw (Desktop), 6vw (Tablet & Phone)
  • Heading Letter Spacing: 0.7vw

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-5 Theme Builder Layout

Sizing

Open the sizing settings next and change the width along with the module alignment.

  • Width: 48% (Desktop), 60% (Tablet & Phone)
  • Module Alignment: Center

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-6 Theme Builder Layout

Spacing

Complete the module’s design by adding some top margin.

  • Top Margin: 10vw

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-7 Theme Builder Layout

Add Divider Module to Column

Visibility

On to the next module! Add a Divider Module and make sure the ‘Show Divider’ option is enabled.

  • Show Divider: Yes

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-8 Theme Builder Layout

Line

Change the line color next.

  • Line Color: #000000

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-9 Theme Builder Layout

Sizing

Move on to the sizing settings and apply the following settings:

  • Divider Weight: 0.1vw
  • Width: 10% (Desktop),16% (Tablet), 25% (Phone)
  • Module Alignment: Center

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-10 Theme Builder Layout

Spacing

Add some custom padding values across different screen sizes as well.

  • Top Padding: 2vw (Desktop), 4vw (Tablet), 6vw (Phone)
  • Bottom Padding: 2vw (Desktop), 4vw (Tablet), 6vw (Phone)

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-11 Theme Builder Layout

Add Text Module #2 to Column

Add Content

On to the next module, which is another Text Module. Add some paragraph content of your choice.

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-12 Theme Builder Layout

Text Settings

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

  • Text Font: Open Sans
  • Text Alignment: Justify
  • Text Line Height: 2.3em

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-13 Theme Builder Layout

Sizing

Modify the width and module alignment in the sizing settings next:

  • Width: 30% (Desktop), 54% (Tablet), 70% (Phone)
  • Module Alignment: Center

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-14 Theme Builder Layout

Add Button Module to Column

Add Copy

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

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-15 Theme Builder Layout

Alignment

Move on to the design tab and change the button alignment.

  • Button Alignment: Center

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-16 Theme Builder Layout

Button Settings

Modify the button settings as well.

  • Use Custom Styles For Button: Yes
  • Button Text Size: 0.8vw (Desktop), 2vw (Tablet), 2.8vw (Phone)
  • Button Text Color: #000000
  • Button Border Width: 1px
  • Button Border Radius: 1px
  • Button Font: Montserrat

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-17 Theme Builder Layout

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-18 Theme Builder Layout

Spacing

And add some custom spacing values across different screen sizes.

  • Top Margin: 2vw (Desktop), 8vw (Tablet & Phone)
  • Bottom Margin: 10vw
  • Top Padding: 1vw (Desktop), 2vw (Tablet), 3vw (Phone)
  • Bottom Padding: 1vw (Desktop), 2vw (Tablet), 3vw (Phone)
  • Left Padding: 3vw (Desktop), 6vw (Tablet), 8vw (Phone)
  • Right Padding: 3vw (Desktop), 6vw (Tablet), 8vw (Phone)

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-19 Theme Builder Layout

Clone Section Twice Times

Once you’ve completed the section, you can clone it twice; one for each example.

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-20 Theme Builder Layout

Recreate Gradient Background Hover Transition #1

how-to-create-beautiful-gradient-background-hover-transitions-with-divi Theme Builder Layout

Section

Default Gradient Background

Let’s start creating the first hover transition! Open the section settings and add the following default gradient background:

  • Color 1: #d1d1ff
  • Color 2: #f7f7f7
  • Gradient Direction: 90deg
  • Start Position: 50%
  • End Position: 50%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-21 Theme Builder Layout

Hover Gradient Background

Modify the gradient background on hover.

  • Color 1: #f7f7f7
  • Color 2: #ffc1c7
  • Gradient Direction: 90deg
  • Start Position: 50%
  • End Position: 50%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-22 Theme Builder Layout

Row

Default Gradient Background

Open the row settings next and apply the following default gradient background settings:

  • Color 1: #7032ff
  • Color 2: rgba(255,255,255,0)
  • Gradient Direction: 90deg
  • Start Position: 10%
  • End Position: 10%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-23 Theme Builder Layout

Hover Gradient Background

Modify the gradient background on hover.

  • Color 1: rgba(255,255,255,0)
  • Color 2: #ff324a
  • Gradient Direction: 90deg
  • Start Position: 90%
  • End Position: 90%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-24 Theme Builder Layout

Recreate Gradient Background Hover Transition #2

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-1 Theme Builder Layout

Section

Default Gradient Background

On to the second example! Open the section settings and add the following gradient background:

  • Color 1: #f7f7f7
  • Color 2: #eceaff
  • Gradient Direction: 156deg
  • Start Position: 50%
  • End Position: 50%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-25 Theme Builder Layout

Hover Gradient Background

Add a different gradient background on hover:

  • Color 1: #ffeaec
  • Color 2: #f7f7f7
  • Gradient Direction: 204deg
  • Start Position: 50%
  • End Position: 50%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-26 Theme Builder Layout

Row

Default Gradient Background

Open the row settings next and apply the following gradient background settings:

  • Color 1: #a932ff
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Bottom Left
  • Start Position: 14%
  • End Position: 14%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-27 Theme Builder Layout

Hover Gradient Background

Change the row gradient background on hover accordingly:

  • Color 1: #ff324a
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Top Left
  • Start Position: 14%
  • End Position: 14%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-28 Theme Builder Layout

Column

Default Gradient Background

Move on to the column settings and add the following gradient background:

  • Color 1: #a932ff
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Top Right
  • Start Position: 14%
  • End Position: 14%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-29 Theme Builder Layout

Hover Gradient Background

Modify the column gradient background on hover:

  • Color 1: #ff324a
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Bottom Right
  • Start Position: 14%
  • End Position: 14%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-30 Theme Builder Layout

Recreate Gradient Background Hover Transition #3

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-2 Theme Builder Layout

Section

Default Gradient Background

On to the next and last example! Open the section settings and apply the following gradient background:

  • Color 1: #ffc1c7
  • Color 2: #ffffff
  • Gradient Type: Radial
  • Radial Direction: Top
  • Start Position: 45%
  • End Position: 45%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-31 Theme Builder Layout

Hover Gradient Background

Modify the section gradient background on hover.

  • Color 1: #ffc1c7
  • Color 2: #ffffff
  • Gradient Type: Radial
  • Radial Direction: Left
  • Start Position: 20%
  • End Position: 20%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-32 Theme Builder Layout

Row

Default Gradient Background

Open the row settings next and add the following gradient background:

  • Color 1: #d3dfff
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Bottom
  • Start Position: 45%
  • End Position: 45%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-33 Theme Builder Layout

Hover Gradient Background

Modify the gradient background accordingly:

  • Color 1: #d3dfff
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Right
  • Start Position: 20%
  • End Position: 20%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-34 Theme Builder Layout

Column

Default Gradient Background

Last but not least, add a column gradient background and you’re done!

  • Color 1: #f7f7f7
  • Color 2: rgba(255,255,255,0)
  • Gradient Type: Radial
  • Radial Direction: Center
  • Start Position: 41%
  • End Position: 41%

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-35 Theme Builder Layout

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome of all three examples we recreated throughout this tutorial!

Example #1

how-to-create-beautiful-gradient-background-hover-transitions-with-divi Theme Builder Layout

Example #2

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-1 Theme Builder Layout

Example #3

how-to-create-beautiful-gradient-background-hover-transitions-with-divi-2 Theme Builder Layout

Final Thoughts

In this post, we’ve shown you how to creatively use Divi’s additional gradient background hover options to create beautiful hover transitions with Divi’s built-in options only. We’ve started with some general steps and continued by recreating each one of the three examples. If you have any questions or suggestions, make sure you 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.


Source

Share this article:
 




eHost-square-ad Theme Builder Layout

We’re listening.

Have something to say about this article? Share it with us on Facebook, Twitter or LinkedIn:

SHARE IT HERE:

Related Posts

themes-of-the-future-a-design-framework-and-a-master-theme Theme Builder Layout

Themes of the Future: A Design Framework and a Master Theme

WordPress theming has a rich history. Over the years, theme authors have brought a plethora of features to the platform. In part, it is because they have often had to solve foundational issues with WordPress to create the features that end users want. The post and...

Get ALL Your SEO, WordPress & Divi News

Join Our Daily Roundup

SEO News and More

SEO News and More

Subscribe ToThe Weekly SEO Trade News Updates

Get the latest SEO, SEM and SMM marketing intel, tips and tricks from one of the best SEO Gurus online. 

Every Tuesday morning we send out an aggregated email listing all new posts on SEO Trade News.

Excellent! Now check your email to confirm your subscription.