How to Frame a Product in Your Background Image with Divi’s Column Options

Last Updated on September 16, 2022 by 4 Comments

How to Frame a Product in Your Background Image with Divi’s Column Options
Blog / Divi Resources / How to Frame a Product in Your Background Image with Divi’s Column Options

With Divi and its WooCommerce modules out there, there are tons of designs you can accomplish using Divi. In today’s Divi tutorial, we’ll try to inspire you with another design idea you can accomplish using Divi’s built-in options only. More specifically, we’ll show you how to frame a product in your background image. The outcome depends entirely on your background image, but if you go through this tutorial, you’ll know which steps to take to personalize the technique for your own website! You’ll be able to download the tutorial’s 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

frame a product

Mobile

frame a product

Download The Frame Product Layout for FREE

To lay your hands on the free frame product 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.

1. Set up Section with Responsive Background Image

Add New Section

Responsive Background Image

The first step to frame a product in your background image is adding a new section to the page you’re working on. Open the section settings and upload responsive background images. You can find both images we’ve used in the folder you were able to do download at the beginning of this post.

  • Background image: Landscape
  • Background Image Size: Fit
  • Background Image Position: Top Center

frame a product

  • Background image: Square

frame a product

Spacing

Move on to the design tab and add some custom top and bottom padding across different screen sizes.

  • Top Padding: 3vw (Desktop), 0vw (Tablet & Phone)
  • Bottom Padding: 3vw (Desktop), 7vw (Tablet), 18vw (Phone)

frame a product

Border

Complete the section settings by adding a border.

  • Border Width: 2vw
  • Border Color: #ffffff

frame a product

2. Add Different Frame Elements to Column

Add New Row

Column Structure

Now, as you can notice in the background image, the product is located on the right side of the background image. We’ll choose a matching column structure for a new row in our section. In this case, that’s the following column structure:

frame a product

Sizing

Without adding any modules yet, open the row settings and modify the sizing settings accordingly:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Equalize Column Heights: Yes
  • Width: 100%
  • Max Width: 100%

frame a product

Spacing

Complete the row settings by adding some custom left and right padding.

  • Left Padding: 5vw
  • Right Padding: 5vw

frame a product

Add Text Module to Column 2

Leave Content Box Empty

Time to start adding modules! To allow the product to show through, we’ll use an empty Text Module.

frame a product

Spacing

We’ll increase the height of the module in the spacing settings next.

  • Top Padding: 22vw (Desktop), 39vw (Tablet), 35vw (Phone)
  • Bottom Padding: 15vw (Desktop), 39vw (Tablet), 35vw (Phone)

frame a product

Border

And we’ll add a border too.

  • Border Width: 3vw
  • Bottom Border Width: 1vw
  • Border Color: rgba(255,255,255,0.7)

frame a product

Add Woo Title Module to Column 2

Dynamic Content

On to the next module, which is a Woo Title Module. Select a product of your choice.

  • Product: Find in List

frame a product

Background Color

Use the following background color:

  • Background Color: rgba(255,255,255,0.7)

frame a product

Title Text Settings

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

  • Title Heading Level: H3
  • Title Font: Work Sans
  • Title Text Size: 2.5vw (Desktop), 5vw (Tablet), 6vw (Phone)

frame a product

Spacing

Add some custom padding values as well.

  • Top Padding: 1vw
  • Bottom Padding: 1vw
  • Left Padding: 3vw
  • Right Padding: 3vw

frame a product

Add Woo Description Module to Column 2

Dynamic Content

The next module we need is a Woo Description Module. Select a product of your choice.

  • Product: Find in List
  • Description Type: Short Description

frame a product

Background Color

Change the module’s background color accordingly:

  • Background Color: rgba(255,255,255,0.7)

frame a product

Text Settings

Move on to the module’s design tab and modify the text settings as follows:

  • Text Font: Open Sans
  • Text Size: 0.9vw (Desktop), 2.2vw (Tablet), 2.8vw (Phone)
  • Title Line Height: 2.2em

frame a product

Spacing

Complete the module settings by adding some custom padding values.

  • Top Padding: 1vw
  • Bottom Padding: 1vw
  • Left Padding: 3vw
  • Right Padding: 3vw

frame a product

Add Woo Price Text Module to Column 2

Dynamic Content

Next up, we have the Woo Price Text Module. Select a product of your choice.

  • Product: Find in List

frame a product

Background Color

Modify the background color.

  • Background Color: rgba(255,255,255,0.7)

frame a product

Price Text Settings

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

  • Price Font: Work Sans
  • Price Text Color: #000000
  • Price Text Size: 2vw (Desktop), 4vw (Tablet), 5vw (Phone)

frame a product

Spacing

Complete the module settings by adding some custom padding values.

  • Top Padding: 2vw
  • Bottom Padding: 2vw
  • Left Padding: 3vw
  • Right Padding: 3vw

frame a product

Add Woo Add To Cart Module to Column 2

Dynamic Content

On to the next and last module, which is the Woo Add To Cart Module! Select a product of your choice.

  • Product: Find in List

frame a product

Background Color

Change the background color.

  • Background Color: rgba(255,255,255,0.7)

frame a product

Fields Settings

Modify the module’s fields settings too.

  • Fields Background Color: #ffffff
  • Fields Text Color: #000000
  • Fields Font: Open Sans

frame a product

  • Fields Bottom Border Width: 1px
  • Fields Bottom Border Color: #000000

frame a product

Button Settings

Continue by styling the button as follows:

  • Use Custom Styles For Button: Yes
  • Button Text Size: 1.1vw (Desktop), 2.5vw (Tablet), 3.5vw (Phone)
  • Button Text Color: #ffffff
  • Button Background Color: #000000
  • Button Border Width: 0px

frame a product

  • Button Border Radius: 10vw
  • Button Font: Open Sans

frame a product

  • Top Padding: 1vw (Desktop), 2vw (Tablet), 4vw (Phone)
  • Bottom Padding: 1vw (Desktop), 2vw (Tablet), 4vw (Phone)
  • Left Padding: 4vw (Desktop), 6vw (Tablet), 10vw (Phone)
  • Right Padding: 4vw (Desktop), 6vw (Tablet), 10vw (Phone)

frame a product

Spacing

And complete the module settings by adding some custom margin and padding values.

  • Bottom Margin: 2vw
  • Top Padding: 3vw
  • Bottom Padding: 3vw
  • Left Padding: 3vw
  • Right Padding: 3vw

frame a product

3. Style, Resize & Reposition Column

Modify Column 2 Settings

Gradient Background

Now, the last part of this tutorial allows us to unite the different modules. Open the column 2 settings and use the following gradient background for it:

  • Color 1: rgba(43,135,218,0)
  • Color 2: #ffffff
  • Gradient Type: Linear
  • Start Positon: 39%

frame a product

Border

Add some rounded corners too.

  • All Corners: 1vw

frame a product

Box Shadow

We’re creating some depth by adding a subtle box shadow as well.

  • Box Shadow Blur Strength: 100px
  • Shadow Color: rgba(0,0,0,0.24)

frame a product

Transform Translate

And we’ll complete the column settings by changing the transform translate values across different screen sizes. This step allows us to reposition the column as we wish. When using your own background image, you’ll definitely enjoy this option!

  • Right: 0px (Desktop), 9vw (Tablet & Phone)
  • Bottom: -5vw (Desktop), 0vw (Tablet & Phone)

frame a product

Preview

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

Desktop

frame a product

Mobile

frame a product

Final Thoughts

In this post, we’ve shown you how to frame a product in your background image using Divi’s built-in options and the WooCommerce modules that are included inside the Divi Builder. The approach you take on depends on the background image you’re using, but going through this tutorial will help you understand the overall approach. You were able to download the layout’s 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.

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

New Starter Site for Construction (Quick Install)

New Starter Site for Construction (Quick Install)

Posted on October 29, 2024 in Divi Resources

Divi empowers you to build the best websites possible, and now, Divi Quick Sites takes website creation to a whole new level. This revolutionary tool lets anyone, regardless of skill level, generate a complete website in under two minutes! Divi Quick Sites provides everything you need to launch...

View Full Post
Divi 5 Update: Public Alpha Version 2

Divi 5 Update: Public Alpha Version 2

Posted on October 28, 2024 in Divi Resources

The Divi 5 Public Alpha is available for testing. As we progress towards the final release, we’ll update Divi 5 every two weeks, appearing as a standard update in your WordPress dashboard. If you use Divi 5, you’ll notice an update notification for Public Alpha Version 2 today. We have...

View Full Post
Divi Plugin Highlight: DiviFlash

Divi Plugin Highlight: DiviFlash

Posted on October 27, 2024 in Divi Resources

DiviFlash, a powerful premium plugin, offers a suite of tools to help you easily create beautiful, professional Divi websites. From advanced modules and layout packs to customizable sections and more, DiviFlash lets you design websites that captivate and engage your audience. In this post,...

View Full Post

4 Comments

  1. Do we adjust the size of the photos in photoshop and then upload them to the library?
    If so, what are the sizes and the placement of the square with respect to the columns to be used?
    Is there an easy, clear way to know if you’re doing it correctly?
    Thanks.

    • This technique will work on any kind of background image, no matter where the product is located, as long as you choose the matching column structure and use the column’s transform translate to reposition the column until the frame fits your product. You can also change the first Text Module’s spacing to increase the size of the frame that allows the background image to go through. No product background image is going to be the exact same so it’s a matter of playing around with these settings to get it right and get familiar with the different containers and their possibilities. Hope that helps! 🙂

  2. Thanks Donjetë, for another excellent tutorial! Love this one!

    • Happy you like it Desirée! 🙂

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today