Divi’s new Grid Layout System opens up never-ending chances for developing clever layouts. For lots of, although, that is new territory, and wrapping one’s thoughts round a few of these new enter choices may get complicated. That’s why we will be able to stroll thru easy methods to construct a Grid Format the usage of the brand new controls in Divi 5.
Now not too way back, we launched a pack of eight premade Grid Layouts. The use of Grid #4 from that pack as our design inspiration, we will be able to rebuild it, step-by-step.
If that is your first foray into CSS Grid, this instructional is a brilliant position to start out as a result of we received’t use any Offset regulations to make this occur.
How To Create A Grid Format
The objective is to depart this instructional with this as your finish outcome.

Step 1. Atmosphere Up The Grid
Step one is to resolve the elemental construction required to create this grid. We want to ask ourselves, “what bins do we want?”. Assuming we’re construction 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 want to upload to the web page. Upload a brand new Phase, scroll right down to the grid choices, and make a selection the 5&occasions;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 structure and 5 Columns able for construction.

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

Subsequent, we want to display extra of Divi’s Grid settings. To do this, scroll right down to the dropdowns for “Column Widths” and “Row Heights.”
Alternate the Column Widths choice from “Equivalent Width Columns” to “Handbook Width Columns.” In a similar fashion, trade “Row Heights” from “Auto Top Rows” to “Handbook Top Rows.” This may increasingly permit us to go into particular width and top values that we wish the grid to suit the kid pieces in.
Atmosphere 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 slender column.
- Insert “3fr 2fr 2fr” into the Grid Row Template to make the primary row taller than the others.

You’ll be able to see that the description is beginning to take form despite the fact that there’s no content material or styling.
Step 3. Column Grid Settings
At this level, we’ve the overall structure setup, however we now want to set particular person grid choices at the kid component stage. Understand that we’ve 5 columns, each and every with other settings.
Column 1
Column 1 is simple. We will be able to go away the entire Grid sizing default settings alongside in order that Column 1 sits naturally within the first cellular 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 heart that stretches around the two rows.
Column 3
Happily 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 Every Column
So far as the grid structure is going, you’re in fact 80% of the best way achieved. 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 shade and photographs to those columns. You’ll be able to get entry to the photographs through uploading the layouts referenced originally of this text (recall that we’re the usage of Grid #4).
All Columns on this instance both have a Background Colour or Symbol.
The grid is slightly scrunched. To mend that, we want to upload some modules to the columns. In Column 1, upload a Heading Module and a Button Module. Pass to the Column itself and at the Design Tab, to find the Spacing choices and upload inside 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 either side. 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 selection 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 boost 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 Extend Attributes to offer all Columns within the Guardian Row the similar border radius. As soon as this is achieved, set the lowest appropriate border radius to 10vw.
To create the curved hole impact at the decrease appropriate aspect of Column 2, we will be able to upload a field shadow. Use Field Shadow #4, Unfold Duration of 20px (set all different values to 0), Shadow shade of white (#ffffff at 100%), and Field Shadow Place of “Outer Shadow.”
Column 4 provides the Divi 5 “5” symbol inside of 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 mother or father Row and pass to Design > Sizing. Give the row a width of 100% with a max width of none.

And there we’ve it: a reasonably complicated grid with two columns, a number of of which span additional period (both vertical or horizontal). We make use of a fascinating use of a field shadow to create the semblance of an opening, when in fact, it’s two grid pieces overlapping.
Obtain 8 CSS Grid Sections For Divi 5
Get 8 grid sections at no cost. 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 all over this instructional is #4.
@media best display screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:ahead of { border-top-color: #ffffff !vital; border-left-color: clear !vital; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !vital; border-left-color: clear !vital; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { shade: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:ahead of { background: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !vital } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .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 sturdy { 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 sturdy, .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 !vital;}
Obtain For Loose
Sign up for the Divi Publication and we will be able to e mail you a duplicate of without equal Divi Touchdown Web page Format Pack, plus heaps of different wonderful and loose Divi assets, guidelines and tips. Practice alongside and you are going to be a Divi grasp very quickly. In case you are already subscribed merely sort to your e mail deal with under and click on obtain to get entry to the structure pack.
You might have effectively subscribed. Please take a look at your e mail deal with to substantiate your subscription and get get entry to to loose weekly Divi structure packs!
Construct Your Grid Layouts In Divi 5 These days
You’ve simply rebuilt a fancy 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 may also be in comparison to the previous block type.
Now that you’ve this foundational structure constructed, why now not take it a step additional?
- Check out other values: What occurs if you happen to trade the Grid Column Template to 1fr 4fr 1fr?
- Rearrange the spans: Are you able to make Column 4 span horizontally as a substitute of vertically?
- Discover responsive settings: Use Divi’s responsive controls to totally trade the grid construction on drugs and cellular units for an optimized revel in.
- Check out the usage of offsets: We didn’t contact on grid offsets, however they’re a to hand method to rearrange your grid to account for uneven layouts.
The structure 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 look what you construct with it!
Now not on Divi 5 but? Make the transfer lately and get started construction smarter, sooner layouts.
The submit How To Create A Grid Layout In Divi 5 (Step-By-Step) seemed first on Elegant Themes Blog.
Contents
- 1 How To Create A Grid Format
- 2 Obtain 8 CSS Grid Sections For Divi 5
- 3 Obtain For Loose
- 4 You might have effectively subscribed. Please take a look at your e mail deal with to substantiate your subscription and get get entry to to loose weekly Divi structure packs!
- 5 Construct Your Grid Layouts In Divi 5 These days
- 6 10 Loose Emblem Makers and Emblem Turbines (Easiest of)
- 7 10 Easiest Ecommerce WordPress Subject matters in 2023 (In comparison)
- 8 Engineering reliability at scale: Why developer-led companies consider Kinsta for mission-critical i...



0 Comments