How to Create Gradient Dividers with Divi’s Divider Module

Divi’s Divider Module provides several methods to create interesting dividers. One of the most interesting and unique is the ability to create gradient dividers. In this post, we’ll discuss how to create gradient dividers with the Divi Divider Module. We’ll look at how the gradient dividers work and see three examples to help you create your own.

Let’s get started!

Desktop Gradient Divider Example Two

Phone Gradient Divider Example Two

Desktop Gradient Divider Example Three

Phone Gradient Divider Example Three

How to Create Gradient Dividers with Divi’s Divider Module

There are several ways to create a divider with Divi’s Divider Module. By default, the module displays a divider line. We can disable this and use the module’s Background settings to create a divider that we can style with the module’s Background options. This includes colors, gradients, images, etc. Rather than showing the divider, we’ll style the divider’s container and create a styled divider.

Hide Divider

The process is simple. First, add a Divider Module to your layout and then hide the divider in the content tab.

Divider Background

Next, select the type of background you’d like to display in the Background settings in the Content tab. For this post, we’ll focus on the Background Gradient settings.

Add Sizing and Spacing

Use the Sizing and Spacing options in the Design tab to control the height and width of the divider’s container to create a styled divider in just about any size or shape. Utilize width and height, max width and max height, module alignment, and top and bottom padding to create the size you want.

Add Border Radius

Add Border options, such as Border Radius, to further style the shape. You can adjust the corners together or independently to create interesting shapes. You can also add Border Width, Styles, etc., to create a unique design.

Gradient Divider Examples

Now, let’s create three gradient dividers using the concepts we just discussed.

Gradient Divider Example One

For our first gradient divider, we’ll use the landing page from the free Home Baker Layout Pack that’s available within Divi. The artwork in this layout pack has strong dark outlines with sharp gradients, all in shades of brown. We’ll mimic this with our gradient using colors from the layout pack.

For our first example, we’ll use the Divider Module that is already in place in the hero section. This one is simple, but it adds a lot visually.

For reference, here’s the layout before we add the Divider Module.

Scroll down to Background and select the Background Gradient tab. For this one, we’ll add five Gradient Stops. We’ll leave the rest of the gradient settings at their defaults. Here are the settings for each Gradient Stop.

Set the first Gradient Stop to 0px and its Color to #dcc087.

Place the second Gradient Stop at 16px and its Color to #e6b060.

Place the third Gradient Stop at 22px and its Color to #f19d33.

The fourth Gradient Stop almost sits on top of the third Gradient Stop. Place it at 31px and set its Color to #f49826.

Set the last Gradient Stop at 48px and its Color to #3b261e.

Change the Gradient Unit to Pixels. We now have the colors we’re looking for. Now, we just need to optimize the size.

Next, go to the Design tab. Under Sizing, set the Width to 100%. Set the Height to 40px for all three device sizes. Close the module and save your settings.

Gradient Divider Example Two

For our second gradient divider, we’ll use the landing page from the free Online Course Layout Pack that’s available within Divi. This one includes lots of rounded edges and even has a circle with a gradient that overlaps an image.

We’ll use this as our starting point for the design and create a new gradient divider. We’ll add a new Divider Module to the Chapter 1 section just to add a graphic.

For reference, here’s the layout before we add the Divider Module.

Right Column Spacing

First, open the Column settings that contain a description of the first chapter. This is the Right Column in the Row. Go to the Design settings and scroll down to Spacing. Change the Top Padding from 100px to 50px.

Add a Divider Module

Next, add a new Divider Module under the Button Module for the chapter description.

Next, scroll down to Border. We’ll create an arched shape that mimics the images in the layout. Change the Rounded Corners to 400px for the Left and Right Top and 0px for the Left and Right Bottom. Close the module and save your settings.

Gradient Divider Example Three

For our third gradient divider, we’ll use the landing page from the free Podcaster Layout Pack that’s available within Divi. This one has lots of gradient shapes throughout the layout that are made with images and dividers.

We’ll create a gradient divider with the design cues from those images and other elements. It will combine multiple gradients into one. Our divider will separate the featured episodes from the recent episodes.

For reference, here’s the layout before we add the Divider Module.

New Row

First, add a new Row above the title. This is where we’ll add the Divider Module.

Add Divider Module

Next, add a Divider Module to the Row.

Scroll down to Background and select the Background Gradient tab. For this one, we’ll use four Gradient Stops. Set the Direction to 90deg.

Desktop Gradient Divider Example Two

Phone Gradient Divider Example Two

Desktop Gradient Divider Example Three

Phone Gradient Divider Example Three

Ending Thoughts

That’s our look at how to create gradient dividers with Divi’s Divider Module. The gradient option in the Divider Module works great for creating unique gradient dividers. Utilizing the sizing, spacing, and border corner options provides us with the tools to create gradient dividers in many sizes and shapes. With just a few simple settings, we can create unique gradient dividers that are sure to stand out from the crowd.

We want to hear from you. Do you create gradient dividers with Divi’s Divider Module? Let us know about your experience in the comments.

This content was originally published here.