How to Combine Overlaps with Divi’s Sticky Options to Create Effortless Transitions

How to Combine Overlaps with Divi’s Sticky Options to Create Effortless Transitions

As technology keeps evolving, design evolves too. More than ever, you can come across websites that leave you amazed and wondering how they’ve been created. Although websites that have scroll interactions going on isn’t for every type of business, knowing how to go the extra mile is particularly helpful to leave a good impression. With Divi, many things are already possible without having to touch a single line of code. Today’s tutorial helps you understand Divi from another perspective. We’ll show you how to combine Divi’s sticky options with other built-in settings to create effortless transitions. You’ll be able to download the JSON file for free as well!

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the outcome across different screen sizes.

Desktop

Mobile

sticky overlaps

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.

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

1. Recreate Design Structure

Add New Section

Spacing

In the first part of this tutorial, we’ll focus on recreating the design structure inside Divi. Then, in part two, we’ll spend time going through all the sticky options to achieve the effect you can notice in the preview of this post. Start by adding a new section to the page you’re working on. Open the section settings, go to the design tab and add some bottom padding.

sticky overlaps

Add Row #1

Column Structure

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

sticky overlaps

Sizing

Without adding modules yet, open the row settings, go to the design tab and change the sizing settings accordingly:

  • Width: 90%
  • Max Width: 100%

sticky overlaps

Z Index

Assign a z index to this row as well.

sticky overlaps

Add Image Module to Column

Leave Image Box Empty

Time to add modules, starting with an Image Module. Leave the content box empty.

sticky overlaps

Use Background Image Instead

And use a background image of your choice instead.

  • Background Image Size: Cover

sticky overlaps

Sizing

Change the module’s width next.

sticky overlaps

Spacing

Then, apply some custom top and bottom padding to the spacing settings.

  • Top Padding: 40vh
  • Bottom Padding: 40vh

sticky overlaps

Add Text Module to Column

Add H2 Content

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

sticky overlaps

H2 Text Settings

Change the module’s H2 text settings accordingly:

  • Heading 2 Font: Montserrat
  • Heading 2 Text Alignment: Center
  • Heading 2 Text Color: #ffffff
  • Heading 2 Text Size:
    • Desktop: 10vw
    • Tablet: 14vw
    • Phone: 15vw
  • Heading 2 Letter Spacing: -0.5vw

sticky overlaps

Sizing

Make sure the module is “100%” too.

sticky overlaps

Position

And reposition the module in the advanced tab.

  • Position: Absolute
  • Location: Center

sticky overlaps

Add Row #2

Column Structure

On to the next row. Use the following column structure:

sticky overlaps

Sizing

Without adding modules yet, open the row settings, go to the design tab and change the sizing settings as follows:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Width: 90%
  • Max Width: 100%

sticky overlaps

Z Index

Assign a z index to this row too.

sticky overlaps

Column 1 Spacing

Complete the row settings by opening the first column settings and assigning some left and right padding.

  • Left Padding: 5%
  • Right Padding: 5%

sticky overlaps

sticky overlaps

Add Text Module to Column 1

Add H3 Content

Now that the row settings are in place, it’s time to add modules. Add a Text Module to column 1 with some H3 content of your choice.

sticky overlaps

H3 Text Settings

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

  • Heading 3 Font: Montserrat
  • Heading 3 Font Style: Underline
  • Heading 3 Underline Color: #ffffff
  • Heading 3 Underline Style: Solid
  • Heading 3 Text Color: #ffffff
  • Heading 3 Text Size:
    • Desktop: 4vw
    • Tablet & Phone: 10vw
  • Heading 3 Letter Spacing: -3px

sticky overlaps

Spacing

Add some right padding on smaller screen sizes.

  • Right Padding: 20% (Tablet & Phone Only)

sticky overlaps

Add Text Module to Column 2

Add Content

Add another Text Module to column 2 with some description content of your choice.

sticky overlaps

Background Color

Change the background color next.

  • Background Color: #ffffff

sticky overlaps

Text Settings

Then, modify the text settings as follows:

  • Text Font: Playfair Display
  • Text Font Style: Italic
  • Text Size:
    • Desktop: 1.6vw
    • Tablet: 3vw
    • Phone: 4vw
  • Text Line Height: 1.5em

sticky overlaps

Spacing

Apply some custom padding values too.

  • Top Padding: 10vh
  • Bottom Padding: 10vh
  • Left Padding: 10%
  • Right Padding: 10%

sticky overlaps

Add Button Module to Column 2

Add Copy

The next and last module we’ll add is a Button Module to column 2. Add some copy of your choice.

sticky overlaps

Button Settings

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

  • Use Custom Styles For Button: Yes
  • Button Text Size:
    • Desktop: 1.2vw
    • Tablet: 2.5vw
    • Phone: 3.5vw
  • Button Text Color: #000000
  • Button Background Color: #ffffff
  • Button Border Width: 0px
  • Button Border Radius: 0px
  • Button Font: Montserrat

sticky overlaps

  • Button Font Style: Underline
  • Button Underline Color: #000000
  • Button Underline Style: Solid

sticky overlaps

Spacing

Add some custom padding values too.

  • Top Padding: 20px
  • Bottom Padding: 20px
  • Left Padding: 50px
  • Right Padding: 50px

sticky overlaps

Position

And reposition the module in the advanced tab.

  • Position: Absolute
  • Location: Bottom Right

sticky overlaps

2. Apply Sticky Effects

Image Module in Row #1

Sticky Settings

Now that we’ve built the foundation of our design, it’s time to start applying the custom sticky effects. Open the Image Module in row #1 and turn the module sticky as follows:

  • Sticky Position: Stick to Top
  • Bottom Sticky Limit: Section
  • Offset From Surrounding Sticky Elements: No

sticky overlaps

Sticky Sizing

Once the sticky settings have been applied, we can change the sticky styles of our module too. The first thing we’ll do is change the width in a sticky state.

sticky overlaps

Sticky Spacing

Next, we’ll modify the sticky top and bottom padding.

  • Sticky Top Padding: 50vh
  • Sticky Bottom Padding: 50vh

sticky overlaps

Sticky Gradient Background

We’ll apply a sticky gradient background to our module as well.

  • Color 1: #00336b
  • Color 2: rgba(41,196,169,0)
  • Gradient Type: Linear
  • Gradient Direction: 90deg
  • Place Gradient Above Background Image: Yes

sticky overlaps

Transition

And to ensure a smooth transition, we’ll increase the transition duration of the module.

  • Transition Duration: 1500ms

sticky overlaps

Column 2 in Row #2

Column 2 Sticky Settings

Next, we’ll also turn the second column of our second row sticky.

  • Sticky Position: Stick to Top
  • Sticky Top Offset: 150px
  • Bottom Sticky Limit: Section
  • Offset From Surrounding Sticky Elements: No
  • Transition Default and Sticky Styles: No

sticky overlaps

sticky overlaps

Text Module in Sticky Column

Sticky Background Color

Now that column 2 of row #2 has been turned sticky, we can apply some sticky styles to the Text Module inside this column. Start by changing the background color in a sticky state.

  • Sticky Background Color: #333333

sticky overlaps

Sticky Text Color

Next, modify the text color in a sticky state.

  • Sticky Text Color: #ffffff

sticky overlaps

Transition

And complete the module settings by increasing the transition duration in the advanced tab. That’s it!

  • Transition Duration: 1000ms

sticky overlaps

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome across different screen sizes.

Desktop

sticky overlaps

Mobile

sticky overlaps

Final Thoughts

In this post, we’ve shown you how to get creative with Divi’s sticky options. More specifically, we’ve shown you how to combine overlaps with Divi’s sticky options to create effortless transitions. Once you get the approach that was used throughout this tutorial, you’ll be able to create endless different variations. 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.

Keep reading the article at Elegant Themes Blog. The article was originally written by Donjete Vuniqi on 2021-01-24 11:00:00.

The article was hand-picked and curated for you by the Editorial Team of WP Archives.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

Your email address will not be published. Required fields are marked *

Show Your ❤️ Love! Like Us
Scroll to Top