Divi’s new Grid Format Device opens up never-ending chances for growing clever layouts. For plenty of, even though, that is new territory, and wrapping one’s thoughts round a few of these new enter choices may get complicated. That’s why we can stroll via easy methods to construct a Grid Format the usage of the brand new controls in Divi 5.
No longer too way back, we launched a pack of 8 premade Grid Layouts. The usage of Grid #4 from that pack as our design inspiration, we can rebuild it, step-by-step.
If that is your first foray into CSS Grid, this instructional is a smart position to start out as a result of we gained’t use any Offset regulations to make this occur.
How To Create A Grid Format
The function is to depart this instructional with this as your finish end result.

Step 1. Environment Up The Grid
Step one is to resolve the fundamental construction required to create this grid. We wish to ask ourselves, “what bins do we want?”. Assuming we’re development the Grid Format at the Row container and the usage of Columns because the grid pieces, we will resolve that we want 5 columns.

This informs what we wish to upload to the web page. Upload a brand new Phase, scroll all the way down to the grid choices, and make a choice the 5×2 Multi-Row grid choice.

This may increasingly get us our 5 columns (plus an additional 5). Delete the additional 5 columns.

Now you’ll have a Row set to a Grid format and 5 Columns able for development.

Step 2. Configure the Guardian Row Format
CSS Grid has two primary ranges of settings: settings carried out to the guardian container and settings carried out to the kid pieces. The very first thing we will have to do is ready up the guardian container in order that after we observe the kid merchandise Grid settings, they make sense.
We’ll get started via atmosphere the Horizontal and Vertical Gaps. You need to use Design Variables right here and will use clamp() values, however to make this instructional easy, we can set them to 20px apiece.

Subsequent, we wish to display extra of Divi’s Grid settings. To do this, scroll all the way down to the dropdowns for “Column Widths” and “Row Heights.”
Trade the Column Widths choice from “Equivalent Width Columns” to “Handbook Width Columns.” In a similar way, alternate “Row Heights” from “Auto Peak Rows” to “Handbook Peak Rows.” This may increasingly permit us to go into particular width and peak values that we wish the grid to suit the kid pieces in.
Environment those choices to “Handbook” supplies us with two further choices each and every, permitting us to set customized values. We will be able to now input those values:
- Insert “3fr 3fr 2fr” into the Grid Column Template to create two broad columns and one slim column.
- Insert “3fr 2fr 2fr” into the Grid Row Template to make the primary row taller than the others.

You’ll see that the description is beginning to take form even if there’s no content material or styling.
Step 3. Column Grid Settings
At this level, now we have the overall format setup, however we now wish to set particular person grid choices at the kid component degree. Understand that now we have 5 columns, each and every with other settings.
Column 1
Column 1 is simple. We can depart all of the Grid sizing default settings alongside in order that Column 1 sits naturally within the first mobile of the grid.

Column 2
Click on into Column 1 and pass to the Design tab > Sizing. Set Column Begin to 2, Row Span to two, and Row Begin to 1.

This creates a tall column within the center that stretches around the two rows.
Column 3
Fortuitously for you, Column 3 may be simple and calls for no adjustments to the default settings. This drops the column into the following to be had area within the height row.
Column 4
Click on into Column 4 and open Design > Sizing. Set Row Span to two.

This column stretches downward and covers two rows vertically.
Column 5
Click on into Column 5 and open Design > Sizing. Set Column Span to two, Column Begin to 2, Row Span to two, and Row Begin to 2.

This creates a big block that fills the bottom-right nook of the grid, inflicting some overlap with Column 2.
Step 4. Design Each and every Column
So far as the grid format is going, you’re in truth 80% of the best way completed. If you wish to create your personal design from right here, you’ll be able to construct one thing distinctive whilst nonetheless keeping up the similar grid construction. However let’s proceed and paint with vast strokes. Let’s upload some colour and pictures to those columns. You’ll get entry to the photographs via uploading the layouts referenced at first of this newsletter (recall that we’re the usage of Grid #4).

All Columns on this instance both have a Background Colour or Symbol.
The grid is somewhat scrunched. To mend that, we wish to upload some modules to the columns. In Column 1, upload a Heading Module and a Button Module. Move to the Column itself and at the Design Tab, in finding the Spacing choices and upload inner Padding the usage of min(40px, 10%) for all 4 aspects.

Column 2 is the same in that it will get Padding of min(40px, 10%) on both sides. It additionally will get an Symbol, Heading, and Textual content Module. However then pass to the Column’s Design Settings > Format. To find the “Justify Content material” icon choices and make a choice the third one, “Finish.” This pushes the modules to the lowest of the Column.

Then, nonetheless on Column 2, pass to the Complicated tab > Place. Upload a z-index of 10 to raise it above the overlapping Column 5.

We will be able to additionally introduce border radius to all our columns. On Column 2, upload 20px border radius to all corners, then use Lengthen Attributes to provide all Columns within the Guardian Row the similar border radius. As soon as this is completed, set the lowest correct border radius to 10vw.
To create the curved hole impact at the decrease correct aspect of Column 2, we can upload a field shadow. Use Field Shadow #4, Unfold Duration of 20px (set all different values to 0), Shadow colour of white (#ffffff at 100%), and Field Shadow Place of “Outer Shadow.”
Column 4 provides the Divi 5 “5” symbol within it (for reference, it’s set to 80% width.

Now, all this is left to do is give the grid a little bit extra respiring room. To do this, pass to the guardian Row and pass to Design > Sizing. Give the row a width of 100% with a max width of none.

And there now we have it: a slightly complicated grid with two columns, a number of of which span further duration (both vertical or horizontal). We make use of an enchanting use of a field shadow to create the semblance of an opening, when in truth, it’s two grid pieces overlapping.
Obtain 8 CSS Grid Sections For Divi 5
Get 8 grid sections without spending a dime. Those are prestyled sections designed to appear nice out of the field. Import them into your Divi Library and upload them to any web page. The only we used right through this instructional is #4.
@media most effective display and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:sooner than { border-top-color: #ffffff !necessary; border-left-color: clear !necessary; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !necessary; border-left-color: clear !necessary; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !necessary; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { colour: #f92c8b !necessary; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:sooner than { background: #f92c8b !necessary; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !necessary } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !necessary; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 robust { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p robust, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape enter, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !necessary;}

Obtain For Loose
Sign up for the Divi E-newsletter and we can electronic mail you a replica of without equal Divi Touchdown Web page Format Pack, plus lots of alternative superb and unfastened Divi assets, pointers and tips. Observe alongside and you’re going to be a Divi grasp very quickly. In case you are already subscribed merely kind on your electronic mail deal with underneath and click on obtain to get entry to the format pack.
You have got effectively subscribed. Please take a look at your electronic mail deal with to substantiate your subscription and get get entry to to unfastened weekly Divi format packs!
Construct Your Grid Layouts In Divi 5 Nowadays
You’ve simply rebuilt a posh grid from the bottom up. Now that you know how Divi 5’s Grid inputs paintings, you’ll be able to get started experimenting with your personal layouts — swapping spans, adjusting gaps, and stacking content material in new tactics. The extra you observe, the extra you’ll see how versatile and rapid the program will also be in comparison to the previous block type.
Now that you’ve this foundational format constructed, why now not take it a step additional?
- Check out other values: What occurs in the event you alternate the Grid Column Template to 1fr 4fr 1fr?
- Rearrange the spans: Are you able to make Column 4 span horizontally as an alternative of vertically?
- Discover responsive settings: Use Divi’s responsive controls to totally alternate the grid construction on drugs and cell units for an optimized enjoy.
- Check out the usage of offsets: We didn’t contact on grid offsets, however they’re a at hand approach to rearrange your grid to account for uneven layouts.
The format we constructed lately is only one of numerous chances. Use those new abilities as a springboard on your creativity. We will be able to’t wait to peer what you construct with it!
No longer on Divi 5 but? Make the transfer lately and get started development smarter, quicker layouts.
The submit How To Create A Grid Format In Divi 5 (Step-Through-Step) gave the impression first on Sublime Topics Weblog.
WordPress Web Design