Using CSS inline parallax backgrounds can really help enhance your website’s look and feel and this tutorial is the perfect example. We’ll use multiple module backgrounds to create a stunning and coherent outcome that shows multiple parts of your background image. 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

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Mobile

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Download The Inline Parallax Layout for FREE

To lay your hands on the free inline parallax 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 newsletter 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.

Subscribe To Our Youtube Channel

Let’s Start Recreating

Add New Section

Start by adding a new regular section to the page you’re working on.

inline parallax
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add New Row

Column Structure

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

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column 1 Settings

Spacing

Add a top padding value to the first column.

  • Top Padding:
    • Desktop: 2vw
    • Tablet + Phone: 6vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column 2 Settings

Spacing

Add a top padding value to the second column as well.

  • Top Padding:
    • Desktop: 4vw
    • Tablet + Phone: 6vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column 4 Settings

Spacing

Skip column 3 and add some spacing values to column 4.

  • Top Padding
    • Desktop: 19vw
    • Tablet: 0vw
    • Phone: 1vw
  • Left and Right Padding
    • Desktop and Tablet: 1vw
    • Phone: 0vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 1st Text Module to Column 1

Add H2 Content

Now, add the first text module to column 1. Insert some H2 content of your choice.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Heading Text

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

  • Heading Text Level: H2
  • H2 Font: EB Garamond
  • H2 Font Style: TT
  • H2 Text Color: Black #oooooo
  • H2 Text Size:
    • Desktop: 3.1vw
    • Tablet: 5.4vw
    • Phone: 10vw
  • H2 Line Height:
    • Desktop + Tablet: 1.1em
    • Phone: 1.3em

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Then, add some spacing to the module.

  • Top Padding:
    • Desktop: 4vw
    • Tablet + Phone: 0vw
  • Left Padding:
    • Desktop and Tablet: 1vw
    • Phone: 2vw
  • Right padding
    • Desktop and Tablet: 1vw
    • Phone: 0vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 2nd Text Module to Column 1

Add content

Now, add a second text module below the first. Insert some paragraph content.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Text

Move on to the design tab and change the text settings as follows:

  • Text Font: EB Garamond
  • Text Color: Dark Grey #3d3d3d
  • Text Size:
    • Desktop: 1vw
    • Tablet: 2.2vw
    • Phone: 3.8vw
  • Text Line Height: 1.8em

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Adjust the spacing settings of the module next.

  • Bottom Padding:
  • Left Padding:
  • Right Padding:
    • Desktop: 1.3vw
    • Tablet + Phone: 1.7vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Button Module to Column 1

Add Content

To complete the first column, add a button module. Insert some copy.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Link

Add a link to the button as well.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Button

Move on to the design tab and style the button settings accordingly:

  • Button Text Size:
    • Desktop: 1vw
    • Tablet: 2vw
    • Phone: 4vw
  • Button Text Color: Dark Grey #3d3d3d
  • Button Border Width: 1px
  • Button Font: EB Garamond

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Then, adjust the spacing settings of the button.

  • Top Margin:
  • Bottom Margin:

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 1st Text Module to Column 2

Add Content

On to the next column! Add a Text Module with some H4 content of your choice.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background

Continue by adding a background image. Upload a CSS parallax background image for desktop and use a regular image on smaller screen sizes (without CSS parallax).

  • Desktop Background: Image
  • Tablet + Phone Background: Image

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background Hover

Next, add a gradient background on hover only.

  • Background Hover: Color Gradient
  • Color Gradient 1: Light Golden Yellow #edba63
  • Color Gradient 2: Golden Yellow #ed9d12
  • Gradient Direction: 23 deg
  • Place Gradient Above Background Image: Yes

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Heading Text

Move on to the design tab and change the H4 text settings.

  • Text Heading Level: H4
  • H4 Font: EB Garamond
  • H4 Text Color: White #ffffff
  • H4 Text Size:
    • Desktop: 2.3vw
    • Tablet: 4.5vw
    • Phone: 8.5vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Then, adjust the spacing.

  • Top Margin:
  • Top Padding:
    • Desktop: 15vw
    • Tablet: 22vw
    • Phone: 43vw
  • Bottom Padding:
  • Left and Right Padding:
    • Desktop and Tablet: 1.5vw
    • Phone: 5vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Border

Continue by styling the borders.

  • Rounded Corners: 1vw all corners
  • Border Styles: all sides
  • Border Width: 0.3vw
  • Border Color: White #ffffff

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Transform Scale Hover

Complete the module’s settings by adding a zoom effect on hover.

  • Transform Scale on Hover: 102%

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 2nd Text Module to Column 2

Add Content

Add a second module to the second column with some H4 content of your choice.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background

Just like the previous text module, add a CSS parallax background image on desktop and a regular background image on smaller screen sizes.

  • Desktop Background: Image
  • Tablet + Phone Background: Image

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background Hover

Add a hover gradient background too.

  • Background Hover: Color Gradient
  • Color Gradient 1: Light Magenta #91463f
  • Color Gradient 2: Magenta #910400
  • Gradient Direction: 23 deg
  • Place Gradient Above Background Image: Yes

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Heading Text

Style the H4 text settings next.

  • Text Heading Level: H4
  • H4 Font: EB Garamond
  • H4 Text Color: White #ffffff
  • H4 Text Size:
    • Desktop: 2.3vw
    • Tablet: 4.5vw
    • Phone: 8.5vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

And modify the spacing settings.

  • Top Padding:
    • Desktop: 15vw
    • Tablet: 21.1vw
    • Phone: 43vw
  • Bottom Padding:
  • Left and Right Padding:
    • Desktop and Tablet: 1.5vw
    • Phone: 5vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Border

Change the border settings too.

  • Rounded Corners: 1vw all corners
  • Border Styles: all sides
  • Border Width: 0.3vw
  • Border Color: White #ffffff

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Transform Scale Hover

Last but not least, add a zoom in effect to the text module.

  • Transform Scale on Hover: 102%

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Duplicate Text Modules from Column 2 to Column 3

Duplicate and drag text modules

Clone both text modules and place them in the third column of the row.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Adjust 1st Text Module in Column 3

Change H4 Content

Open the first duplicate text module in column 3 and change the content.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Change Background For Tablet and Phone

Change the background image on smaller screen sizes next.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Change Color Gradient on Hover

Continue by changing the colors in the gradient hover.

  • Color Gradient 1: Rose Pink #cc9293
  • Color Gradient 2: Pink #cc9293

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Finally, adjust the spacing as follows.

  • Top Margin:
    • Tablet: -6.4vw
    • Phone: 0vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Adjust 2nd Text Module in Column 3

Change H4 Content

First, change the content.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Change Background For Tablet and Phone

Then, change the background image on smaller screen sizes.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Change Color Gradient on Hover

Change the gradient background too.

  • Color Gradient 1: Soft Pine #5c755c
  • Color Gradient 2: Pine Green #4D754D

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 1st Text Module to Column 4

Add Content

Moving on to column 4, add a text module. Insert some H3 content of your choice.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Heading Text

Move on to the design tab and change the H3 text settings as follows:

  • Heading Text Level: H3
  • H3 Text Font: EB Garamond
  • H3 Font Style: TT
  • H3 Text Color: Black #oooooo
  • H3 Text Size:
    • Desktop: 3vw
    • Tablet: 5vw
    • Phone: 12vw
  • H3 Line Height
    • Desktop + Tablet: 1em
    • Phone: 1.1em

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add 2nd Text Module to Column 4

Add content

Add another text module below the first. Insert some paragraph content.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Text

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

  • Text Font: EB Garamond
  • Text Color: Dark Grey #3d3d3d
  • Text Size:
    • Desktop: 1vw
    • Tablet: 2.2vw
    • Phone: 3.8vw
  • Text Line Height: 1.8em

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Then, adjust the spacing.

  • Bottom Padding:
  • Left Padding: 0.9vw
  • Right Padding: 2.2vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Duplicate Button Module from Column 1 to Column 4

Duplicate and drag the button module

  • Duplicate the button module in column 1.
  • Drag it to column 3 below the text modules.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Adjust some spacing values in the duplicated button module and you’re done!

  • Bottom Margin: 0vw
  • Left Margin:
    • Desktop + Tablet: 0.7vw
    • Phone: 0.9vw

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Preview

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

Desktop

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Mobile

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Conclusion

In this post, we’ve shown you how to create an inline parallax design with four text boxes that show a different part of the same image. We hope you enjoy this design and if you have any questions or suggestions, make sure you leave a comment in the comment section below!

https://www.elegantthemes.com/blog/divi-resources/using-module-backgrounds-to-display-inline-parallax-images-with-divi