3 Eye-Catching Gradients You Can Apply to Your Fullwidth Header Module with Divi’s Gradient Builder

Divi’s Fullwidth Header Module makes it easy to build dynamic header sections for your website without having to add multiple modules for each component. With the Fullwidth Header Module, you can add and customize the look of your text, images, background, spacing, and more — all from one module. When used in combination with Divi’s built-in background gradient settings, you can create eye-catching designs to promote your business or service.

In this tutorial, we will show you how to create three unique fullwidth header layouts with gradient backgrounds.

Let’s get started!

Here is a preview of what we will design.

What You Need to Get Started

Before we begin, install and activate the Divi Theme and make sure you have the latest version of Divi on your website.

Now, you are ready to start!

Let’s Get Started!

Gradient 1

Create a New Page with a Premade Layout

Let’s start by using a premade layout from the Divi library. For this design, we will use the Food Recipes Home Page from the Food Recipes Layout Pack.

Add a new page to your website and give it a title, then select the option to Use Divi Builder.

We will use a premade layout from the Divi library for this example, so select Browse Layouts.

Search for and select the Food Recipes Home Page layout.

Select Use This Layout to add the layout to your page.

Now we are ready to build our design.

Recreate the Hero Section Using the Fullwidth Header Module

First, we are going to start by recreating the hero section at the top of this layout using a Fullwidth Header Module. Add a new fullwidth section to the page, right below the current hero section.

Next, add a Fullwidth Header Module to the fullwidth section.

Now that our header module is in place, let’s update the header content in the Text section of the Content tab.

Divi Fullwidth Header Gradient Background Layout 1 Content

Under Background, remove the default background color and add the background image.

Move to the design tab and open the title text settings. Customize the settings as follows:

Next, set the title text size and line height.

To optimize the design for mobile devices, we need to decrease the size of the title line height on mobile. Select the responsive settings, then set the mobile line height.

Now let’s customize the body font options. Here are the settings:

Divi Fullwidth Header Gradient Background Layout 1 Body Font

Customize Button Styles

Next, open the button one settings. Enable custom styles, then set the text size.

Add a background color to the button.

Customize the button border settings:

Next, customize the font and disable the button icon.

Next, we will customize button two. The design is mostly the same as button one but with different colors. To skip some repetitive steps, let’s copy the button one styles to button two, then customize the design from there.

First, right-click on the button one settings and copy the button one styles.

Next, right-click on the button two settings and paste the button one styles.

Change the text color and background color for button two.

Change the button two border color as well.

Now that our buttons are complete, open the spacing settings and set the top and bottom padding.

Finally, open the Custom CSS settings under the advanced tab. Select the responsive settings because we will only add the custom CSS for the desktop design. Add custom CSS to the Body CSS section.

Add the Gradient to the Fullwidth Header Module

Now our fullwidth header design is complete and we can add the gradient. Navigate back to the content tab and open the background settings. Select the gradient tab and add the gradient as follows:

Next, customize the gradient settings:

Finally, delete the old header section from the original layout.

Final Design

Here is the final design for our first gradient header. As you can see, the repeated gradient with the subtle transparent colors creates an interesting background for this header section without overpowering the background image.

Gradient 2

Create a New Page with a Premade Layout

For our next design, we will use the Nutritionist Landing Page from the Nutritionist Layout Pack.

Add a new page to your website and give it a title, then select the option to Use Divi Builder.

Since we are using a premade layout from the Divi Library, select Browse Layouts.

Search for and select the Nutritionist Landing Page layout.

Select Use This Layout to add the layout to your page.

Now we are ready to build our design.

Recreate the Hero Section Using the Fullwidth Header Module

We are going to be recreating the existing hero section using the Fullwidth Header Module. Start by adding a fullwidth section to the page, below the existing hero section.

Next, add the Fullwidth Header Module to the section.

Under the content tab, add the text for the module as follows:

You can also remove the body text at this step, although we remove it later on in the tutorial.

Open the image settings. Set the logo image to the “Established 1990” image and set the header image to the graphic of the leaves.

Next, move to the Design tab. Set the text and logo alignment to center.

Customize the Title font as follows:

To optimize the design for tablet and mobile, we will use the responsive settings to add different title text sizes.

Next, set the title letter spacing and line height.

Open the subtitle settings and customize the font.

We will also set responsive text sizes for the subtitle. The sizes are as follows:

Additionally, set the subtitle letter spacing and line height.

Customize Button Styles

Move on to the Button One settings. Enable custom styles and set the text size.

Add a background color.

Next, set the border width and radius, and the letter spacing.

Modify the font settings as follows:

Finally, add padding to the button.

The styles for Button Two are largely the same as Button One, so we will copy the Button One Styles to Button Two and then make a small change to the colors.

First, right-click on the Button One settings and copy the styles.

Then, right-click on the Button Two settings and paste the Button One styles.

Change the Button Two background.

Next, navigate to the Spacing settings and set the padding as follows:

open the Animation section under the Design tab and set the module to fade.

Add the Gradient to the Fullwidth Header Module

Move to the content tab and open the background settings. First, remove the existing background color.

Next, add the background image.

Move to the gradient tab and add the background gradient.

Set the Gradient Type and Gradient Position.

Remove the body text if you haven’t already.

Finally, delete the original hero section above.

Custom CSS

Now all of our basic settings are in place, but we need to go in with some custom CSS to complete the design and modify some of the header images. Move over to the Advanced tab and open the Custom CSS section.

First, let’s customize the header image CSS. We will use responsive options to set different CSS for different device sizes. These settings will move the center leaf image up and behind the header text and also adjusts the size and margins. Add the following custom CSS to the desktop settings.

Next, add the following custom CSS to the tablet settings of the header image section.

Finally, add the following custom CSS to the mobile settings of the header image section.

We will also add custom CSS to the logo section. These settings will be responsive as well.

First, add the following custom CSS to the desktop settings of the logo section.

Next, add the following custom CSS to the tablet settings of the logo section.

Then add the following custom CSS to the mobile settings of the logo section.

Finally, add the following custom CSS to the subtitle section.

For the last step in this design, we need to add the rounded bottom divider. Open the fullwidth section settings and navigate to the design tab. Open the Dividers settings and add a bottom divider.

Final Design

And here is the final design for this header section.

Gradient 3

Create a New Page with a Premade Layout

For our final gradient header design, we will use the SaaS Landing Page layout from the SaaS Layout Pack.

Add a new page to your website and give it a title, then select the option to Use Divi Builder.

We are using a premade layout from the Divi library, so select Browse Layouts.

Search for and select the SaaS Landing Page layout.

Select Use This Layout to add the layout to your page.

Now we are ready to build our design.

Recreate the Hero Section Using the Fullwidth Header Module

First, add a fullwidth section below the existing header section.

Select and add the Fullwidth Header Module to the section.

Open the module settings and add the following text:

Under the images section, add the header image.

We will come back to the content tab to add our background later. For now, delete the original header section above.

Open the fullwidth header settings and navigate to the design tab. First, center the text and logo alignment.

Open the image settings and add a box shadow to the header image.

Next, open the title text settings and customize the font.

Change the color, size, and line height as well.

We want a smaller font size on mobile devices, so select the responsive settings for the Title Text Size option and add a different font size.

Move on to the Body Text section and customize the font as follows:

Set the Body Line Height.

Customize Button Styles

Next, let’s customize Button One. Enable custom styles then change the text size and color.

This button will have a gradient background. Add the gradient as follows:

Next, change the button border settings.

Change the button font settings.

Finally, add button padding.

Once again, the Button Two design is very similar to the Button One design, just with different colors. We’ll skip the repetitive design steps by copying the Button One styles. To do so, simply right-click on the Button One setting and copy the Button One styles.

Then, right-click on the Button Two settings and paste the Button One styles.

Now change the Button Two Text Color and background color.

Move to the Spacing section and add some top padding.

Next, navigate to the Animation settings and set the animation style as follows:

Finally, change the animation intensity and starting opacity.

Add the Gradient to the Fullwidth Header Module

Now that the basic design is complete, we can add our background gradient. Move over to the Content tab and open the Background settings. Our background will consist of a combination of a gradient, an image, and a mask. First, add the background gradient.

Next, add the background image. We will use the same background image that was used for the original header design. You should see this in your media library with the title geometric-bg-overlay-01.jpg. Use the overlay setting to blend the image with the gradient background.

Now add the background mask.

Next, use the responsive settings to customize the background mask for tablet and mobile devices. Let’s start with the tablet design.

Finally, modify the mobile design.

Final Design

Here is the final design for this section.

Final Result

Now let’s take a look at all three of our gradient header modules.

Final Thoughts

The Fullwidth Header Module is easy to customize and offers a lot of flexibility when it comes to the look and layout of your header design. When combined with unique design elements like gradients, you can create a truly stand-out design to bring your website visitors’ attention to the services that you offer. For 5 more creative Fullwidth Header tutorials, check out this article. Do you utilize the Fullwidth Header Module on your Divi website? Let us know in the comments!

This content was originally published here.