Divi's scroll effects bring a ton of new design possibilities to the websites you create. The subtle interactions you choose to add can really help elevate the overall look of your Website. Everything gets even better as soon as you synchronize the scroll effects. In this tutorial, we'll specifically handle creating a nice colliding hero section with columns on scroll. The hero section design merges two different columns on the scroll, which in turn helps emphasize the copy. 

Possible Outcome

Now that we have gone through all the steps, let's take a look at the result on different screen sizes.

Divi section collision

Recreate the layout of the Hero Section

Add a new section

Customizing the background color

Start by adding a new section to the page you are working on. Open the section settings and change the background color.

  • Background Color: # f4f2f7
Divi section configuration

Spacing

Also remove the default upper and lower padding from all sections.

  • Upper padding: 0px
  • Bottom padding: 0px
Divi spacing configuration

Add a new line

Column structure

Continue adding a new line to the section using the following column structure:

Layout of divi columns

sizing

Without adding modules yet, open the line parameters and modify the dimensioning parameters accordingly:

  • Use a custom gutter width: Yes
  • Gutter width: 1
  • Equalize column heights: Yes
  • Width: 100%
  • Max width: 100%
Divi line spacing configuration

Spacing

Then remove all of the default upper and lower padding.

  • Upper padding: 0px
  • Bottom padding: 0px
Divi line spacing

overflows

And hide the overflows of the row.

  • Horizontal overflow: hidden
  • Vertical overflow: hidden
Divi visibility line configuration

Column 1 settings

Spacing

Then open the settings in column 1 and add custom fill values.

  • Upper padding: 15vw
  • Bottom padding: 10vw
  • Left padding: 5vw
  • Right padding: 5vw
Divi row column spacing configuration

Z Index

Also increase the z index of the column.

  • Z Index: 12
Relative position divi

Column 2 settings

Background picture

Continue by opening the settings in column 2 and upload a background image of your choice.

  • Background Image Size: Cover
  • Position of the background image: Center
  • Repeat background image: no repeat
  • Mixing background images: Normal
Divi column background

Add text module # 1 to column 1

Add H1 content

It's time to add modules, starting with a first text module in column 1. Add any H1 content of your choice.

Freelance divi support

H1 text settings

Switch to the module design tab and change the H1 text settings accordingly:

  • Title font: Shadows in light
  • Title font weight: bold
  • Header Text Color: # 000000
  • Header Text Size: 6vw (desktop), 11vw (tablet), 13vw (phone)
  • Header Letter Spacing: -2px
  • Head line height: 1.2em
Divi font configuration

Spacing

Also add a top margin.

  • Upper margin: 10vw
Text spacing configuration

Add text module # 2 to column 1

Add content

Insert another text module with description content of your choice.

Add a text column 1 divi

Text settings

Change the module's text settings as follows:

  • Text font: Open Sans
  • Text color: # 1e1e1e
  • Text size: 0.9vw (desktop), 1.9vw (tablet), 3vw (phone)
  • Text line height: 2,4 em
Divi text font customization

Spacing

And add custom margin values ​​on different screen sizes.

  • Top margin: 4vw (desktop), 8vw (tablet), 12vw (phone)
  • Bottom margin: 4vw (desktop), 8vw (tablet), 12vw (phone)
Divi text spacing configuration

Add a button module to the 1 column

Add a copy

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

Add a divi button module

Button settings

Modify the parameters of the module buttons as follows:

  • Use custom styles for the button: Yes
  • Button text size: 1vw (desktop), 2vw (tablet), 3vw (phone)
  • Button text color: #ffffff
  • Button background color: # 000000
  • Button border width: 0px
  • Button border radius: 100px
Custom style button divi
  • Button font: Open without
Font button parameter settings

Spacing

And complete button settings by adding custom padding values ​​on different screen sizes.

  • Upper padding: 1vw (desktop), 2vw (tablet), 3vw (phone)
  • Bottom padding: 1vw (desk), 2vw (tablet), 3vw (phone)
  • Left padding: 3vw (desktop), 5vw (tablet), 7vw (phone)
  • Right padding: 3vw (desk), 5vw (tablet), 7vw (phone)
Divi button spacing

Add a text module to the 2 column

Add content

In the second column, the only module we will need is a text module. Enter the content of your choice.

Text column 2 divi

Text settings

Switch to the module design tab and change the text settings accordingly:

  • Text font: shadows in the light
  • Text color: rgba (0,0,0,0,25)
  • Text size: 9vw (desktop), 14vw (tablet and phone)
  • Text letter spacing: -3px
  • Height of the line of text: 1em
  • Text alignment: center (office), left (tablet and phone)
Jane doe text column 2 divi

Spacing

Also add custom fill values.

  • Upper padding: 5vw (desk),
  • Bottom padding: 60vw (tablet and phone)
  • Left padding: 5vw (tablet and phone)
Divi text spacing

Apply scroll animations

Section

Ascent and descent

Once all your mods are in place, it's time to apply the scroll effects! First open the section parameters and use the following scaling effect:

  • Activate Sclaing from top to bottom
  • Starting scale: 100% (to 49%)
  • Medium scale:
    • Office: 70% (100%)
    • Tablet and phone: 100% (100%)
  • End scale:
    • Office: 70%
    • Tablet and phone: 100%
Scroll effect animation divi

Column 1

Horizontal movement

Continue by opening the settings in column 1 and use the following horizontal movement effect:

  • Activate horizontal movement: Yes
  • Start offset: 0
  • Average offset:
    • Office: 0 (at 65%)
    • Tablet and phone: 0 (93%)
  • End offset:
    • Office: 6
    • Tablet and phone: 0
Divi horizontal alignment

Ascent and descent

Also apply a scaling up and down effect to the column.

  • Enable scaling up and down: Yes
  • Starting scale:
    • Office: 10%
    • Tablet and phone: 100%
  • Medium scale:
    • Office: 90%
    • Tablet and phone: 100%
  • End scale: 100%
section of heroes colliding with columns

Column 2

Horizontal movement

Then open the parameters in column 2 and use the following horizontal movement parameters:

  • Activate horizontal movement: Yes
  • Start offset: 0
  • Average offset:
    • Office: 0 (at 53%)
    • Tablet and phone: 0 (56%)
  • End offset:
    • Office: -6 (at 53%)
    • Tablet and phone: 0 (100%)
Horizontal animation divi

Fade in and out

Complete the column settings by adding a fade in and fade out effect.

  • Activate fade in and out: Yes
  • Initial opacity: 100% (at 47%)
  • Average opacity:
    • Office: 0% (47%)
    • Tablet and phone: 100% (47%)
  • End of opacity:
    • Office: 0%
    • Tablet and phone: 100%
motion animation divi

Latest Thoughts

In this article, we've shown you how to creatively use Divi's scroll effects to create a column-colliding hero section. As soon as the visiteurs scroll, the two different columns and their elements begin to merge. This, in turn, will allow you to emphasize the copy even more.

Other Resources

Here is a list of content that will allow you to do more with your WordPress theme Two.