Working out Each Grid Surroundings In Divi 5

by | Oct 29, 2025 | Etcetera | 0 comments

Grid just lately turned into an built-in a part of Divi 5, bringing a definite technique to building layouts. Grid will give you control over every horizontal and vertical placement at the same time as.

That flexibility comes with a trade-off: there are way more settings to grasp. The Visual Builder now accommodates about 15 Grid possible choices, which all artwork together to control how your content material subject material is positioned on the internet web page.

This put up breaks down each setting so you understand exactly what it does and when to use it.

What Is Grid In Divi 5?

Divi 5’s new Grid gadget handles rows and columns together. It in point of fact works with Sections, Rows, Columns, and Module Groups right through the Layout Style dropdown inside the Design tab.

Subscribe To Our Youtube Channel

The machine will give you two tactics to artwork. You’ll have the ability to use pre-built grid templates without having to be informed CSS Grid, otherwise you’ll get right to use manual controls for rising custom designed layouts.

The grid sits at the container level. Add new items they normally snap into place routinely. You put the development once, and the entire thing inside follows that pattern. This beats building particular person layouts for each phase.

Grid permits you to mix column widths, set row heights, and make items span multiple cells.

How Is Grid Different From Divi’s Flexbox?

Choose Flexbox when you need simple alignment and spacing along one axis. It in point of fact works well for laying out items in a row or a column with flexible sizes. Choose Grid when you want two-dimensional placement and actual control over rows and columns for added complicated layouts.

In short, Flexbox is perfect for single-direction flow and alignment, while Grid is best possible for structured multi-directional layouts. Proper right here’s a handy guide a rough rundown of which use instances warrant which construction style:

If Your Layout… Choose
Flows in one path (row or column) Flexbox ✅
Controls rows and columns at the same time as Grid ✅
Needs identical heights right through items Flexbox ✅
Uses Loop Builder for dynamic content material subject material Grid ✅
Requires specific items to span multiple cells Grid ✅
Builds ceaselessly as you add modules Flexbox ✅
Has whole building defined prematurely Grid ✅
Needs content material subject material reordering on cellular Flexbox ✅

You’ll have the ability to alternate between Flexbox and Grid anytime in your phase settings. Check out one, follow how your content material subject material responds, and switch if it does not behave as you want. Divi 5 shall we in switching construction techniques without taking away modules or rebuilding your content material subject material.

Understanding Each and every Setting Inside Grid

The breakdown beneath walks by the use of each setting inside the order they appear, explaining what they control and the way in which they impact your construction. Some care for the basics like spacing and column counts. Others handle edge instances like overflow habits and products placement. Take a look:

Layout Style

Layout Style is the dropdown that switches your container between different construction techniques. You’ll to find it at the top of the Layout settings inside the Design tab.

A screenshot of the option to change existing layouts to grid with a click in Divi 5

Select Grid from the Layout Style dropdown, and the entire settings panel changes. The entire grid-specific possible choices appear, in conjunction with the gap controls, column and row settings, and web site possible choices covered in this put up.

A screenshot of column and row settings in Divi 5's grid settings

Horizontal Hollow

Horizontal Hollow controls spacing between your grid items from left to correct. While you set Grid as your construction style, this option turns out inside the Design tab underneath Layout.

A screenshot of the horizontal gap option available in Divi 5's grid options

The field accepts pixel values by the use of default. Kind 30px and likewise you get 30 pixels of house between each column. Then again Divi 5 permits you to go beyond basic measurements proper right here.

You’ll have the ability to use Advanced Gadgets like calc() or clamp() for responsive spacing. Something like clamp(20px, 3vw, 50px) scales your gaps in line with show size without touching breakpoints. Or take a look at calc(2rem + 10px) to mix different unit types in one price.

A screenshot of the horizontal gap option with advanced units such as clamps being used

Design Variables plug in proper right here as well. Prepare a spacing variable inside the Variable Manager, then reference it right through multiple grids. Trade that variable once, and each grid updates together. This helps to keep spacing consistent right through your whole internet web site without looking by the use of particular person settings.

A screenshot of the horizontal gap option with design variables being used

Vertical Hollow

Vertical Hollow works very similar to Horizontal Hollow, excluding it controls the space between rows as an alternative of columns. You’ll to find it correct beneath the horizontal selection inside the Layout settings.

A screenshot of the vertical gap option available in Divi 5's grid options

Complex Devices and Design Variables every artwork proper right here. You’ll have the ability to write components like clamp(15px, 2vh, 40px) to make row spacing respond to viewport best as an alternative of width. That vh unit scales in line with the height of the browser window, which works well for full-screen layouts or vertical content material subject material constructions.

See also  😲 Black Friday Begins The next day! Closing Likelihood To Win Divi AI And An iMac For Unfastened!

Design Variables you created for spacing apply to every directions. Use the equivalent variable right through horizontal and vertical gaps for uniform spacing, or create separate variables when you need different measurements for each axis.

A screenshot of the vertical gap option with design variables being used

Column Width

Column Width defines how intensive each column in your grid will have to be. This setting turns out each time you switch to Grid construction and works alongside Collection of Columns to building your grid.

A screenshot of the column widths option in Divi 5's grid options

This dropdown turns out after you flip to Grid construction and offers 5 modes for controlling column sizing.

A screenshot of the column widths options in Divi 5

Similar Width Columns divides available house calmly. All columns get the equivalent width using the fr unit. This works for layouts where stability problems more than specific measurements.

A screenshot of how equal width columns render in Divi 5

Similar Minimum Width Columns devices a floor that columns can’t drop beneath, alternatively lets them expand when house shall we in. Columns stay readable on small screens while expanding on upper ones.

Similar Mounted Width Columns locks all columns at the equivalent price. The width stays constant regardless of container size or content material subject material.

A screenshot of how equal fixed width columns with column width set as 48% render in Divi 5

Auto Width Columns sizes each column in line with its content material subject material and the space available, while Information Width Columns permits you to type custom designed patterns. Enter values like “1fr 2fr 1fr” to create 3 columns, with the middle one taking two instances the space.

A screenshot of the column widths option selected as manual and with fr values in Divi 5

Or mix gadgets like “300px 1fr 1fr” to lock the main column at 300 pixels while the others get a divorce the remaining house. You’ll have the ability to use Advanced Gadgets like clamp() or calc() proper right here, and Design Variables artwork too.

Amount Of Columns

The Collection of Columns selection defines what choice of vertical tracks your grid creates.

A screenshot of the number of columns option in Divi 5's grid options

Kind in a host and the grid builds that many columns right through your container. 3 creates 3 columns. 4 creates 4. When items refill one row, the next products routinely wraps down to begin out a modern row beneath.

A screenshot of how number of columns work in Divi 5

This setting shapes your horizontal construction building. Higher numbers pack further items side by the use of side, which works well for image galleries or product grids. Lower numbers spread problems out with more space between elements, rising cleaner and simpler arrangements.

This setting moreover is dependent upon the Column Widths setting you’ve gotten made up our minds on.

Collapse Empty Column

Collapse Empty Columns removes vertical tracks that don’t have any content material subject material.

A screenshot of the collapse empty columns option in Divi 5's grid options

When enabled, the grid routinely scans for empty columns and removes them. The remainder columns shift over to fill the space.

This turns out to be useful with dynamic content material subject material where the number of items changes. Blog posts get removed, products go out of stock, or wisdom fields come once more empty. Instead of leaving visible gaps in your construction, the grid closes those spaces and helps to keep the entire thing having a look clean.

The serve as best possible works on totally empty columns. If there’s even a single phase inside, that column stays put. It gained’t collapse in line with empty house inside of modules, merely in point of fact vacant columns.

Grid Auto Columns

Grid Auto Columns devices the width for columns that appear when items land outside your number one grid building.

A screenshot of the grid auto columns option in Divi 5's grid options

This helps to keep overflow columns from having a look broken or mismatched. The grid generates that additional column routinely, and this setting determines its size.

The field accepts the equivalent values as Column Width. Kind 200px for fixed width, 1fr to check your present tracks, or auto to size in line with content material subject material.

Row Heights

Row Heights will give you 4 tactics to control vertical sizing in your grid.

A screenshot of the row heights option in Divi 5's grid options

This dropdown turns out inside the Layout settings after you flip to Grid.

A screenshot of the row heights options in the dropdown in Divi 5

Auto best adjusts rows in line with content material subject material. Each and every row grows or shrinks to fit regardless of is inside it. For example, a row with small pictures stays shorter than one with a large block of text.

A screenshot of how auto height rows work in Divi 5

Similar best creates uniform rows right through your grid. All rows have compatibility the equivalent best, providing you with visual consistency from top to bottom.

A screenshot of how equal height rows work in Divi 5

Minimum best devices a baseline. Rows can expand taller than this price alternatively in no way shrink beneath it. This will give you a safety web while nevertheless allowing flexibility for varied content material subject material.

A screenshot of how minimum height rows work in Divi 5

Mounted best maintains consistent row dimensions. You put a decided on price, and each row holds that dimension. Depending in your other settings, content material subject material that exceeds the height would most likely overflow or get bring to a standstill.

A screenshot of how fixed height rows work and how they might cut off content in Divi 5

Information Height Rows permits you to define a custom designed Grid Row Template for actual track heights.

Grid Auto Rows

Grid Auto Rows mirrors what Grid Auto Columns does, excluding it handles the vertical side.

A screenshot of the grid auto rows option in Divi 5's grid options

When your content material subject material runs earlier the rows you to begin with prepare, the grid builds new ones to deal with the entire thing. This setting tells those additional rows how tall they will have to be.

You’ll have the ability to enter fixed pixel values like 120px or use auto to let the content material subject material set the height. Advanced Gadgets like calc(5vh + 30px) or clamp(100px, 8vh, 200px) artwork proper right here for responsive sizing that adapts to show dimensions. Design Variables fit in proper right here, too.

Grid Direction

Grid Direction determines the path items take when filling your grid. The environment will give you two possible choices that adjust how the content material subject material flows.

See also  How I Use Touchdown Web page Cut up Trying out to To find Untapped Advertising Possible [+ 12 Places to Start]

A screenshot of the grid direction option in Divi 5's grid options

Row mode works horizontally. Items fill across the first row, wrap to the second, and continue down. This fits the standard learning pattern and works for plenty of layouts. Row is selected by the use of default.

Column mode works vertically. Items are stacked down the main column, and the next column is filled out to the most efficient. You need to set plenty of row values for this to artwork appropriately, since the grid needs to grasp when to begin out a brand spanking new column.

Columns artwork well for vertical timelines or lists where downward flow makes further sense than horizontal flow.

Grid Density

Grid Density controls whether or not or now not your grid can shuffle items spherical to get rid of empty spaces.

A screenshot of the grid density option in Divi 5's grid options

Dense mode actively fills gaps. When a large products leaves an empty cellular, the grid appears to be ahead and pulls a smaller products up to fill that house. Your construction stays compact, alternatively items would most likely not appear in their unique sequence.

Dense is the default setting and works well for image galleries or card layouts where visual tightness problems.

Auto mode preserves order. Items flow naturally without rearranging, even though that creates some empty cells. Switch to Auto for content material subject material like blog posts or lists where maintaining sequence is further important than filling each hollow.

Justify Content material subject material

Justify Content material subject material distributes your grid items along the horizontal axis. This setting turns out inside the Layout possible choices after switching to Grid mode.

A screenshot of the justify content option in Divi 5's grid options

Get began aligns the entire thing to the left edge of your container. Center brings all items into the middle. End pushes them to the most efficient side. The ones 3 possible choices care for your grid as one unit and switch it spherical right through the container.

Space Between makes the main column snap to the left edge, the remainder column snaps to the most efficient, and any leftover house gets divided calmly between the columns. No longer anything else sits at the outer edges.

Space Spherical places identical spacing spherical each column. The outer edges get 1/2 the spacing compared to the gaps between columns.

Space Lightly splits all available house into an equivalent gaps. Each and every single hollow fits, in conjunction with the ones at the container edges. Your columns sit down down with totally uniform spacing all over.

Align Items

Align Items positions content material subject material inside each grid cellular along the vertical axis.

A screenshot of the align items option in Divi 5's grid options

Get began places items at the top of their cells. Any longer vertical house stays beneath the content material subject material.

A screenshot of how the start grid align items in Divi 5

Center vertically aligns items at some point of their cells. The spacing above and beneath fits exactly.

A screenshot of how the center grid align items in Divi 5

End sticks items to the bottom of their cells. Extra space collects above the content material subject material.

A screenshot of how the end grid align items in Divi 5

Stretch is the default selection. It makes items magnify to fill the entire cellular best. If an products has a collection best set, Stretch respects that dimension and leaves the item at its defined size.

A screenshot of how the stretch grid align items work in Divi 5

Align Content material subject material

Align Content material subject material aligns your whole set of rows vertically right through the container.

A screenshot of the align content option in Divi 5's grid options

This setting best possible works when your grid container is taller than the entire grid or when leftover vertical house will have to be allotted.

Stretch is the default. It expands row tracks proportionally until they fill all available container best. Get began packs all rows at the top. Any unfastened house sits beneath the grid. Center packs rows into the vertical heart. Similar unfastened house turns out above and beneath. End packs all rows at the bottom. Loose house collects above the grid.

Space Between spreads rows vertically. The principle row sticks to the absolute best, the remainder row sticks to the bottom, and any unfastened house gets divided calmly between rows. No longer anything else sits at the top or bottom edges.

Space Spherical places identical house spherical each row. The outer edges at the top and bottom get half-sized gaps compared to the middle gaps.

Space calmly divides unfastened house into identical gaps in every single place. The spaces between rows, top, and bottom all have compatibility exactly.

Justify Items

Justify Items aligns content material subject material inside each grid cellular along the horizontal axis. This setting best possible problems when a grid cellular is wider than the item sitting inside it.

A screenshot of the justify items option in Divi 5's grid options

Get began places content material subject material in opposition to the left edge of its cellular. Extra space sits to the most efficient of the item.

Center places content material subject material inside the horizontal heart of its cellular. Extra space splits calmly on every aspect. End places content material subject material in opposition to the most efficient edge of its cellular. Extra space sits to the left of the item.

Stretch is the default selection. It expands content material subject material to fill the entire width of the cellular. If an products has a collection width already set, that width stays locked. Differently, the content material subject material stretches right through all the cellular from edge to edge.

Grid Offset Rules

Grid Offset Rules smash items out of the automatic flow and put them exactly the position you need them.

A screenshot of the grid offset rules option in Divi 5's grid options

Your grid fills items in order by the use of default: first products, first cellular, 2d products, 2d cellular. That works until you need something different. Grid Offset Rules get a hold of manual control when the automatic placement doesn’t suit your construction targets.

See also  Divi 5 Public Alpha 24: All Beta Blockers Complete

You’ll have the ability to switch an products to a decided on row or column, span multiple cells, or shift it from its natural position. This problems for layouts where positive elements need to stand out or occupy specific spots regardless of their order inside the code.

Let’s take a look at the selections available inside of this setting:

Admin Label

Admin Label supplies your offset rule a name.

A screenshot of the admin label option under grid offset rules in Divi 5

This field isn’t mandatory, nonetheless it’s serving to while you’re managing multiple rules. Kind something descriptive like “Hero Image Span” or “Featured Post Position” so that you’ll to find the most efficient rule later.

The label best possible turns out inside the rule report right through the Visual Builder. Visitors in no way see it. Skip this must you best possible have one or two rules. Use it when your grid gets complicated and you need to tell your rules apart in short.

Objective Offset

Objective Offset possible choices which items inside your grid are affected by the rule of thumb.

A screenshot of the target offset option under grid offset rules in Divi 5

First Products and Last Products objective single positions. First Products hits the outlet phase in your grid. Last Products catches the full one, which problems for dynamic content material subject material where the entire depend changes.

Even Items and Unusual Items objective alternating patterns. Even hits all even-numbered items (2d, 4th, 6th). Unusual catches odd-numbered ones (1st, 3rd, 5th).

The Each and every [Number] possible choices objective repeating sessions. Each and every third Products hits items 3, 6, 9, and so on. Each and every Fourth catches items 4, 8, 12. The dropdown goes up to Each and every tenth Products, protecting most now not bizarre pattern needs.

The Custom designed nth-child Rule permits you to write your personal selector when the preset possible choices don’t suit your construction. This handles complicated patterns like “each third products starting from the second one” or “each fourth products alternatively skip the main two.”

A screenshot of the options available inside the target offset in Divi 5

The ones excited about patterns artwork perfect with dynamic content material subject material. Your blog would most likely show 8 posts nowadays and fifteen tomorrow. Setting a rule for Each and every Fourth Products helps to keep your featured put up pattern consistent regardless of the number of items appearing.

Offset Rule

Offset Rule possible choices the CSS grid property you want to make use of.

A screenshot of the target offset rule under grid offset rules in Divi 5

This dropdown lists seven positioning possible choices that control where items sit down down and what kind of house they occupy.

Column Span makes an products stretch right through multiple columns horizontally. Row Span makes an products stretch right through multiple rows vertically. The ones two control the item size.

Column Get began pins an products to begin out at a decided on vertical grid line. Column End pins where it stops. Row Get began and Row End do the equivalent for horizontal grid lines. The ones 4 control actual positioning.

With Grid Template Columns, a single products can be divided into its private set of columns. That turns out to be useful for layouts like image + text inside a featured card.

You’ll use Column Span and Row Span most often to make featured items stand out. The Get began and End possible choices subject when you need exact grid coordinates. Grid Template Columns handles sophisticated nested layouts where items need their own inside of grid building.

A screenshot of the options available inside the offset rule in Divi 5

Offset Value

Offset Value devices the amount that defines how your decided on property behaves. What you enter proper right here is based totally on which Offset Rule you picked.

A screenshot of the target offset value under grid offset rules in Divi 5

For Column Span or Row Span, type what choice of cells the item will have to cover. Enter “2” and the item stretches right through two columns or rows. Enter “3” and it covers 3. The volume represents cells, not pixels.

For Column Get began, Column End, Row Get began, or Row End, type the grid line amount where you want the item to begin out or stop. Grid lines get began counting at 1 from the left edge (for columns) or top edge (for rows).

Enter “2” in Column Get began, and the item begins at the second vertical line. Enter “4” in Row End, and the item stops at the fourth horizontal line.

The value works along side your normal grid building. Setting the Column Span to 2 in a three-column grid makes the item occupy two-thirds of the width.

A screenshot of the offset rule results in Divi 5

Your grid settings and offset values artwork together to create the full construction.

Get began Using Grid In Divi 5 These days

The ones settings are what make Divi 5’s Grid builder stand out from the competition. Combining visual controls, offset rules, and Design Variables will give you construction power that other builders cover in custom designed CSS.

For many who’re new to Grid, get began with templates, then switch to manual controls when you need custom designed artwork. Most layouts best possible need column widths, gaps, and an offset rule. The other settings care for specific issues that get up.

Download Divi 5 and get began building layouts that actually have compatibility what’s in your ideas.

The put up Working out Each Grid Surroundings In Divi 5 appeared first on Sublime Topics Weblog.

WordPress Web Design

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!