How to use Divigrid: Content grid module in WooCommerce?

By Divigrid

August 24, 2022

The Divi content grid is a powerful and versatile tool that allows you to easily create responsive column-based content. With the Divi content grid, you can control the number of columns, the size of the columns, and the spacing between them. This makes it easy to create beautiful and evenly-spaced content layouts.

The Divi content grid is also extremely fast and lightweight, which means it won’t slow down your site. And, it’s easy to use and customize, so you can create exactly the layout you want.

Today we’re going to show in this tutorial, how to create a Divi grid layout for the product section page with our new Divigrid: Contentgrid module.

First, let’s learn a little about the Divi plugin we’ll be using. DiviGrid is a plugin that makes it easy to create a grid without any custom code. So we will show step by step how to create a grid using this plugin.

Let’s get started…

Here is a Full Video

At the beginning of the article, let’s see what kind of grid we are going to create for our product section.

This section is the full Responsive Grid Layout section.

Divi Grid Content Grid Final output

Step 1: Install Divigrid

First, you will need to do the following:

  1. If you haven’t yet, install and activate the Divigrid.
  2. Create a new page in WordPress and use the Divi Builder to edit the page on the front end (visual builder).
  3. Choose the option “Build From Scratch”.

Step 2: Creating a section layout

To begin, add a regular section.
Open the section settings and update the background as follows:

 

  • background image: Choose what you like;

  • background pattern: tufted;

  • background mask: Floating Squares;
  • Mask color: white;
Divigrid- content grid section style
Divi grid section

After the Section styles are in place, add a one-column row to the section.

Now the Section and its Row are in placed.[photo]

 Divi Row

Step:3 Add Divi Content Grid Module

We are ready to add our Divigrid module. Write “Divi Content Grid” in the search box. Add this module to create a responsive grid module for the product page/section.

After opening the Divi Content Grid module, we added 8 new items & update the  content settings for the items as follows:

Divi Content grid module
  1. Grid gap: 10px;
  2. Grid column number: 4;
  3. Grid row number; 4;
  4. Enable mobile responsive: ON;
  5. Item alignment: ON;
Content Grid Content settings

Step 4: Customize the item

We finished taking items for our grid. We have completed a fantastic job, haven’t we?

Alright, For the grid we will create, we will now set the content of each item separately and design accordingly.

First, update the content settings for all items  as follows

  1. Remove title, subtitle, and paragraph text.
  2. Re-write title/ subtitle/ paragraph
  3. Delate image from image/Icon.
  4. Add background image.
  5. Border radius: 10px solid;

Spacing (parent/global):

  1. (Item Container Padding)
  2. 1. Padding-top: 50px;
    2. Padding-bottom: 50px;
    3. Padding-left: 20px;
    4. Padding-right: 20px;
divigrid docs Just another WordPress site 1 1

First Item

If we look at the picture of the grid, we can see that the first grid goes from column 1 to column 3. With that
The background takes the height according to the height of the image. Item Alignment is used to bring our title right in the middle. To make the first module as shown in the picture, what we need to do is written below.

update the  content settings for the First item as follows:

First Item Content Settings:

  1. Rewrite title.
  2. In Grid settings, there have two new tabs named column and row.
    a. Column.
    Grid column start: 1;
    Grid column end: 3;
    b. Row
    Grid row start: auto;
    Grid row end: auto;
  3. Item position
    Item alignment: Center;

Design Settings

  1.  Title tag: H2;
  2. Title font: montserrat;
  3. Title font-weight: Semi Bold;
  4. Title font style: TT;
  5. Title text alignment: Center;
  6. Color: #000000;
  7. Title text size: 38px;
  8. Title line height: 1.3em;
Content grid first item

Second Item
In the second module, we have to work on Row. After setting the grid row start, grid row end, and background image. We need to do some work with the content wrapper to get the title in the right place. It should give a nice shape with padding, margin, wrapper width, background, and border radius. Applying the following CSS will complete the second module.

Update the settings as follows:

For the Second Item Content settings:

  1. Rewrite title.
  2. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: 3;
    Grid column end: auto;
    b. Row
    Grid row start: 1;
    Grid row end: 3;
  3. Item position
  4. Item alignment: Top Right;

 

Design Settings

Title Settings

  1. Title tag: H2;
  2. Title font: Montserrat;
  3. Title font weight: Semi Bold;
  4. Title font style: TT;
  5. Title text alignment: Center;
  6. Color: #000000;
  7. Title text size: 16px;
  8. Title line height: 0;
  9. Title padding-bottom: 0;
Content grid second item
Content grid second item title styling

Content Wrapper Settings

  1. Content wrapper background: #EDF000;
  2. Content wrapper width: 35%;
  3. Content wrapper horizontal alignment: Right;
  4. Content container rounded corners: 10px;
  5. Content wrapper padding-top: 10px;
  6. Content wrapper padding-bottom: 10px;
  7. Content wrapper padding-left: 15px;
  8. Content wrapper padding-right:15px:
Divigrid Content wrapper settings
Divigrid Content wrapper spacing

Third Item

The third item is the same as the second item just change the grid column start. The rest of the CSS will be exactly the same as the 2nd item.

  1. Rewrite title.
  2. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: 4;
    Grid column end: auto;
    b. Row
    Grid row start: 1;
    Grid row end: 3;
  3. Item position
    Item alignment: Top Right;
Divi Content grid third item

Design Settings:

Same as Second Item Desing settings.

Divi content grid third item title

Fourth Module Item

Looking at the 4th item, it can be seen that the 1st item is the same as the module. 1st module has a title but the 4th module item does not. No other changes. CSS from 1st module should be applied here.

  1. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: 1;
    Grid column end: 3;
    b. Row
    Grid row start: auto;
    Grid row end: auto;
Divi content grid fourth item

Fifth & Sixth Item

The Fifth and sixth module items are the same as 2nd and 3rd module items. Only columns and rows need to be changed. Other than that, the CSS is all the same.

Fifth Item:

  1. Rewrite title.
  2. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: auto;
    Grid column end: auto;
    b. Row
    Grid row-start 3;
    Grid row-end: 5;
  3. Item position
    Item alignment: Top Right;

Design Settings:

Follow the Second Design Item Settings.

Divi content grid fifth item

Sixth Item:

  1. Rewrite title.
  2. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: auto;
    Grid column end: auto;
    b. Row
    Grid row-starts: 3;
    Grid row-end: 5;
  3. Item position
    Item alignment: Top Right;

Design Settings

Title Settings

  1. Title tag: H2;
  2. Title font: Montserrat;
  3. Title font-weight: Semi Bold;
  4. Title font style: TT;
  5. Title text alignment: center;
  6. Color: #000000;
  7. Title text size: 16px;
  8. Title line-height: 0;
  9. Title padding-bottom: 0;

Content Wrapper Settings

  1. Content wrapper background: #EDF000;
  2. Content wrapper width: 35%;
  3. Content wrapper horizontal alignment: Right;
  4. Content container rounded corners: 10px;
  5. Content wrapper padding-top: 10px;
  6. Content wrapper padding-bottom: 10px;
  7. Content wrapper padding-left: 15px;
  8. Content wrapper padding-right:15px:
Divi Content grid sisth item

Seventh & eighth Item

The seventh and eighth items are the same as 1st and fourth items. Grid Column Start and Grid Column End need to be changed.
Rewrite titles and subtitles and change item alignment. To simplify the task, change your CSS like the below CSS code.

Seventh Item:

  1. Rewrite title.
  2. Rewrite the subtitle.
  3. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: 3;
    Grid column end: 5;
    b. Row
    Grid row starts: auto;
    Grid row-end: auto;
  4. Item position
    Item alignment: Center Left;
Divi Content grid seventh item

Design Settings:

Title Settings:

  1. Title Tag: H2;
  2. Title Font: Montserrat;
  3. Title Font Weight: Semi Bold;
  4. Title Text Alignment: left;
  5. Color: #000000;
  6. Title Text Size: 21px;

Subtitle Settings:

  1. Title Tag: H4;
  2. Title Font: Montserrat;
  3. Title Font Weight: Semi Bold;
  4. Title Text Alignment: left;
  5. Color: default;
  6. Title Text Size: 18px;
  7. Background Position: Top Left;
Content grid seventh item title
Content grid subtitle

Eighth Item:

  1. Rewrite title.
  2. Rewrite subtitle.
  3. In Grid settings, there have two new tabs named Column and Row.
    a. Column.
    Grid column start: 3;
    Grid column end: 5;
    b. Row
    Grid row start: auto;
    Grid row end: auto;
  4. Item position
    Item alignment: Center Left;

Design Settings:

The seventh and the Eighth Design Settings are the same.

Divi Content grid eighth item

Final Result

Here is the final result of our custom CSS grid layout by our Divi Content Grid Module.

Divi Grid Content Grid Final output

In conclusion, the DiviGrids ContentGrid Module can be a powerful tool when used in WooCommerce. It allows you to control the number of products displayed on a page, as well as the spacing between them. By using the module’s built-in settings, you can create a unique grid layout that will make your store stand out from the rest.

If you want to create a complete grid with Divi Builder without using any plugins, you can read this article below.

 

How to Create a CSS Grid Layout for Divi Modules – DiviGrid

If you want to know how to create a listing grid with our Divi List grid module, you can read our article below.

Divigrid

Divigrid is the perfect way to make your website stand out from the crowd. With its unique grid system, you can create a truly one-of-a-kind design that will wow your visitors.

Get 10% OFF for Subscribe Now

0 Comments

Submit a Comment

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

You May Also Like