Welcome to Day 75 of our Divi 100 Marathon. Keep tuning in for 100 days in a row of awesome Divi resources as we count down to the amazing release of Divi 3.0 on the final day of the series!
The Divi Shop Module is highly customizable, giving businesses the opportunity to display their products in innovative ways. With that in mind, this article will guide you step-by-step through the creation of five simple Divi Shop styles. By the end of this tutorial you will be more familiar with the possibilities that the Divi Shop module offers, and you’ll be able to quickly and simply create a beautiful showcase of your products.
Getting Things Set Up
Divi is WooCommerce compatible and we recommend using it alongside the Divi Shop Module. If you don’t already have WooCommerce installed you can find the latest version . Once you have WooCommerce up and running you can go to the Product tab and upload your products.
The Default Shop Module
Before we get started, let’s take a look at what the Divi Shop Module looks like by default.
This is the starting point we’re using in each example below. To get the same results that we’ve achieved simply follow the instructions under each example.
1. Flat Card
This simplistic but elegant look is quick to achieve using the Divi Shop Module.
These are the general steps that we will be following to begin creating most of the styles in this article:
- Go to Pages and New Page
- Click on Use The Divi Builder
- In the Divi Builder you have your usual row within a section
- Click on Insert Column(s)
- Select the first option (which shows one large tile)
- Click on Insert Module(s) and select Shop
- This will lead you directly to the Shop module settings section
- In Type select the products you want to show
Note: If you want a particular category, select Product Category, and a list of your categories will automatically appear in a new section below the Posts Number section.
- Check which category you would like to display
- In Posts Number select the total number of posts you want on your homepage (for this style we selected three)
- In Columns Number select the number of columns you want in that particular module (for this style we selected three)
- You also have the Order By setting to select how you want products to be sorted
In the Advanced Design Settings tab you can change the font and size of the title and price. For this look we have used size 30 Satisfy Font and size 20 Lato Font for the title and price respectively. The text color for both is #ef285a. You can also adjust the letter spacing and line height for these elements.
To make this look more interesting we also wanted to change the background color of the card and center align the font. The background color can be changed in the Custom CSS tab by entering the following code in the Product box:
The color code can be adjusted to your desired color.
The font alignment can also be changed in the Custom CSS tab using the following line of code in both the title and price section:
This look is achieved without leaving the Divi Shop module. No changes to the section or row settings were required.
2. Material Cards
The material card adds interest and texture to the flat card look by using shadows to create depth in the image.
To achieve this particular design we first created a Divi Shop Module as in the example above. This time the number of posts and columns were six and three respectively. In the Advanced Design Settings tab the title was set to size 18 Cantata One Font and the price was set to size 17 Open Sans Font.
Now we need to create the shadow effect. To achieve this go into the Custom CSS tab and add the following lines of code to the Product section:
-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.4); -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.4); box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.4);
The size and color of the shadow can be adjusted by altering the numbers in the code. Play around and see what kind of effects you can create!
3. Minimal Overlay
This style aims to achieve a minimalist look in which the viewer sees only the product image. Additionally, when they hover over the image they only see an icon.
For this style we again created a similar Divi Shop Module to the examples above. In the General Settings tab we selected three posts and three columns. We didn’t adjust the title and price settings this time around, since they won’t be visible.
We want to remove the title and price so that only the product image is visible. To remove these features from view you need to go into the Custom CSS tab. Under both title and image type the same line of code:
For this style we only want to see the hover icon when we hover over an image. Therefore, we need to remove the visibility of the overlay. In the Advanced Design Settings tab you can go to Overlay Color and set the color and transparency so that the overlay is clear – i.e. rgba(0,0,0,0). Also, in this tab you can change the image and color of the hover icon to suit your site’s style. We set the hover icon to show a pale pink heart.
The overall effect is that when anyone hovers over a product they only see our selected icon:
You can of course use this effect for any number of means – it’s perfect for anyone going for a minimalistic look.
4. Closed Grid
This shop style fills the entire screen with imagery and can be extremely impactful. To get this look we created a separate Divi Shop Module for each tile. To do this, when you click on Insert Column(s), select the one that shows three tiles labeled “1/3”.
In the first column click Insert Module(s) and select Shop. You’ll just be selecting one post and one column. Again, we don’t want the title and price to be visible for this look, so go into the Custom CSS tab and under both title and price enter this code:
These types of grids often work well with a contrasting overlay. To change the overlay settings, go into the Advanced Design Settings tab and change the color and transparency of the overlay to suit your site’s image. You can also change the hover icon color to suit your brand.
You can then clone this module twice and drag and drop the copies to the other two columns. You’ll just need to go into each module to change which product you want to display. To clone the module, click on the icon on the left of the module that shows two overlapping rectangles:
To get the tiles to span the full width of the screen you need to go into the row menu and in the General Settings tab select Yes for Make This Row Full Width. Then to eliminate the space between the tiles, you’ll need to select Yes to Use Custom Gutter Width. A setting of 1 will eliminate the space between tiles.
5. Irregular Grid
For irregular grids you can combine rows of Divi Shop Modules to obtain the look you desire. For this style we stacked a row of three products on top of a row of five products. To do this you first create a Divi Shop Module with general settings of three posts and three columns. Then click on Add Row below the first row.
In the new row, insert a Divi Shop Module with general settings of five posts and five columns. We also removed the title and price from these images to give it a cleaner look. To do this, as before, go into the Custom CSS tab and under both title and price, add the following code:
The default space between rows was too large for our liking here. To decrease this space we went into Row Module Settings (the three line icon on the left of the row module). We set Custom Padding to 0 for the bottom of the top row and the top of the bottom row.
Although it can seem like a tall task to project your brand’s image and passion in an online store, you can see with Divi’s Shop Module that so much is possible. By using the vast number of easy-to-use settings you can create countless beautiful designs for your store. Which ideas from this tutorial will you be incorporating?
Be sure to subscribe to our email newsletter and so that you never miss a big announcement, useful tip, or Divi freebie!
Article thumbnail image by Titov Nikolai / shutterstock.com.
Divi 100 Day 75
The Countdown To Divi 3.0
This post is part of our Divi 100 marathon. Follow along as we post free Divi resources for 100 days in a row! This 100-day countdown will end with the game-changing release of Divi 3.0, including our brand new visual editor built from the ground up using React. Divi 3.0 will change the way you build websites with the Divi Builder forever!
Let the countdown begin.