Mastering Column & Row Grid Parameters In Divi 5

by | Jan 10, 2026 | Etcetera | 0 comments

With the discharge of Divi 5‘s CSS Grid characteristic, Divi customers are provided with intuitive equipment to construct layouts that adapt seamlessly throughout gadgets, getting rid of the steep studying curve that includes studying CSS code. On the middle of this innovation lie the column and row grid parameters, Divi’s streamlined controls for outlining grid templates, sizing, gaps, alignment, and offsets.

On this put up, we’ll information you thru figuring out, enforcing, and mastering those core parameters, unlocking complicated grid-based designs that spice up your creativity. Let’s dive in and liberate the total possible of CSS Grid in Divi 5.

Working out CSS Grid In Divi 5

CSS Grid is a two-dimensional format machine that permits designers to create complicated, responsive layouts by way of defining rows and columns in a grid container. Not like conventional strategies like Flexbox or floats, CSS Grid lets in for actual keep an eye on over the horizontal and vertical placement of components concurrently. You’ll be able to outline grid tracks, span pieces throughout a couple of cells, set versatile or constant sizes the use of devices like fr (fractional) or auto, and keep an eye on gaps. This makes it a go-to for structured, but ingenious designs.

CSS Grid in Divi 5

Divi 5 integrates CSS Grid into the Visible Builder, getting rid of the will for customized code or third-party plugins. The magic begins on the container point: merely make a selection a predefined CSS Grid construction or allow it on any component, and Divi transforms it into a completely editable grid with visible controls for rows, columns, gaps, alignment, and extra.

CSS Grid in Divi 5

Any new module added to the Grid mechanically conforms to the outlined construction. This habits additionally extends to the Loop Builder, the place dynamic content material, equivalent to weblog posts, merchandise, or portfolio pieces, inherits the grid laws, making sure constant styling at the same time as content material updates in real-time.

CSS Grid in Divi 5

Advantages Of CSS Grid In Divi 5

The usage of CSS Grid in Divi 5 brings moderately a couple of advantages, together with:

  • Streamlined Workflows: You’ll be able to construct complicated grids in mins the use of drag-and-drop controls as an alternative of writing CSS.
  • More uncomplicated Wireframing: Visualize construction with the Visible Builder, iterate sooner, and scale back back-and-forth adjustments.
  • Larger Design Flexibility: Become independent from from symmetrical row constructions and create asymmetrical or modular layouts comfortably.
  • Responsive Through Default: Grids adapt throughout breakpoints with integrated responsive controls.
  • Dynamic Content material Able: CSS Grid works neatly with the Loop Builder, Woo, and ACF content material.

Core Column And Row Grid Parameters

Divi 5’s CSS Grid machine revolves round intuitive, visible controls that reflect local CSS houses. Those parameters are grouped into Grid Row, Grid Column, and shared settings, obtainable immediately from the grid-enabled container’s Design tab. Underneath, we spoil down every class with sensible examples that will help you construct the whole thing from easy playing cards to intricate layouts.

Grid Row Parameters

The CSS Grid controls on the grid row point come up with complete command over vertical construction, top, alignment, and spacing. Let’s spoil down every atmosphere to supply a transparent figuring out in their objective.

Column Widths

Those settings function the central keep an eye on for outlining horizontal observe sizing in Divi 5’s CSS Grid.

CSS Grid in Divi 5

Right here’s a breakdown of ways every shapes layouts:

Possibility What It Does CSS Similar Use Case
Equivalent Width Columns

All particular columns percentage equivalent width (100% ÷ choice of columns). grid-template-columns: repeat(5, 1fr) Nice for growing completely balanced playing cards.
Equivalent Minimal Width Columns Every column will get a minimum of a hard and fast minimal; more space is shipped lightly. repeat(5, minmax(200px, 1fr)) Responsive product grids the place pieces should by no means shrink beneath a readable dimension.
Equivalent Fastened Width Columns Each and every column is a locked pixel price ( 250px, and many others.); overflow creates horizontal scroll if wanted. repeat(5, 250px) Masonry galleries or fixed-width card carousels.
Auto Width Columns Columns dimension to content material; unused area collapses. repeat(5, auto) Abnormal content material like icons + labels the place alignment isn’t essential.
Guide Width Columns Complete customized trend enter (1fr 2fr 300px auto). Any legitimate grid-template-columns string Asymmetrical hero sections.

Quantity Of Columns

The choice of columns box lets you specify the choice of vertical columns your grid format may have around the container’s width. Within the instance beneath, the design spans the width of five columns prior to wrapping to the following Row.

See also  12 Best Graphic Design Software in 2024 (Compared)

CSS Grid in Divi 5

Cave in Empty Columns

When this atmosphere is enabled, it lets you conceal columns that don’t include any modules. It lets in the rest content material to fill the empty area, giving the format a uniform and constant genre.

CSS Grid in Divi 5

Grid Auto Columns

Grid Auto Columns controls what occurs when your format wishes extra columns than you deliberate for. If an merchandise will get positioned previous your outlined grid, Divi mechanically creates an additional column for it.

Through default, that is set to auto, because of this the brand new column will dimension itself to the content material inside of it, as an alternative of stretching or squeezing to check the remainder of the grid. On this instance, the Countdown module leads to this type of mechanically created columns, so its width adjusts naturally to suit the module.

CSS Grid in Divi 5

Row Heights

The Row Heights dropdown is the vertical counterpart to Column Widths. It defines how particular row tracks are sized within the CSS Grid. This keep an eye on gives choices that reflect the CSS grid-template-rows belongings.

CSS Grid in Divi 5

Underneath, we spoil down every choice:

Possibility What It Does CSS Similar Use Case
Equivalent Top Rows All outlined rows percentage equivalent to be had area (when the grid has further vertical area). grid-template-rows: repeat(6, 1fr) Excellent for stretching content material uniformly, regardless of various content material.
Auto Top Rows Rows
Every row sizes to its tallest merchandise’s content material. A sensible choice for grids with blended content material heights.
repeat(6, auto) Weblog grids the place put up excerpts range in duration.
Minimal Top Rows Rows by no means shrink beneath a minimal top (e.g., 200px), however they are able to develop taller if content material wishes more room. repeat(6, minmax(200px, 1fr)) Playing cards that should keep readable on cellular.
Fastened Top Rows Locks each row to a particular pixel price (e.g., 300px). Content material would possibly overflow if it exceeds the set top. repeat(6, 300px) Hero banners or fixed-height sliders.
Guide Top Rows Complete customized enter (200px auto 1fr 100px). Any legitimate grid-template-rows string Complicated layouts with header, versatile content material, footer.

Quantity Of Rows

This box lets you set the choice of horizontal rows within the Grid, however most effective when Guide Top Rows isn’t decided on within the Row Heights box.

CSS Grid in Divi 5

When Guide Top Rows is chosen, the Grid Row Template box seems, permitting you to keep an eye on each Row’s top, identical to uncooked grid-template-rows in CSS. Guide mode calls for an particular observe record, like on this instance (2fr 1fr).

CSS Grid in Divi 5

Grid Auto Rows

This controls implicit rows which are created when content material overflows outlined rows. With auto, implicit rows are created when pieces are positioned out of doors the explicitly outlined rows, and so they dimension in response to Grid Auto Rows.

CSS Grid in Divi 5

Grid Course And Grid Density

In Divi 5, Grid Course and Grid Density are robust parameters within the Design tab that seem when CSS Grid is enabled on a Divi Row. Grid Course toggles the principle movement axis: Row (default) fills pieces left-to-right then top-to-bottom, perfect for promotional banners and product grids. Column stacks pieces top-to-bottom then left-to-right, very best for tall sidebars or mobile-first layouts.

Grid Density controls gap-filling habits, protecting gaps when modules span a couple of cells. Dense permits the CSS belongings grid-auto-flow: Row dense, permitting the browser to backfill empty areas with smaller pieces for a tighter, masonry-style pack. As a result of each settings outline container-wide placement common sense, they follow uniformly to all kid modules and can’t be set for my part, making the Row the middle level for movement and visible rhythm on your designs.

CSS Grid in Divi 5

Grid Offset Laws

Grid Offset Laws in Divi 5 assist you goal particular pieces in a CSS Grid (equivalent to each 0.33 product or the final weblog put up) and follow an exact format alternate, equivalent to spanning extra columns or rows, beginning at a unique line, or finishing early.

Every rule has 3 portions:

  1. Goal Offset: Who to genre (instance, Remaining Merchandise).
  2. Offset Rule: What to switch (instance, Column Span).
  3. Offset Worth: How a lot (instance, 3).

You’ll be able to stack a couple of laws, as they follow height to backside. Within the instance beneath, the primary Grid Offset Rule objectives the primary merchandise (Column) within the format, provides a row span offset rule, and an offset price of two. It lets in the Column to span two rows of the Grid.

CSS Grid in Divi 5

The guideline 5n+2 with Column Span: 2 objectives each fifth merchandise ranging from the 2d — on this case, the cardboard that reads “We began over and fully reinvented Divi” — making it double the width of usual Grid pieces.

CSS Grid in Divi 5

Grid Column Parameters

In Divi 5, enabling CSS Grid on a Divi Row immediately transforms all kid Divi Columns into Grid pieces, despite the fact that their particular person Structure Taste is about to Flex. That is by way of design: the guardian Row’s show grid takes priority, and Divi exposes complete Grid merchandise controls — Column Span, Row Span, Get started/Finish traces, Align Self, and Justify Self — immediately on every Column, without reference to its categorized mode. On this instance, the hero card spans 2 columns and a couple of rows as a result of those Grid merchandise settings are lively.

See also  Find out how to Prohibit Consumer Login to One Tool in WordPress

CSS Grid in Divi 5

You should still see Flex-related labels in some puts, however the guardian Row’s Grid format controls merchandise placement. Use Row-level Shared parameters (Justify Content material and Align Pieces) for container-wide laws, and Column-level Grid settings for actual per-item placement.

Every of those inherited Flex houses is positioned within the Divi Column’s Design tab, within the Structure and Sizing menus. Let’s take a better have a look at those parameters and what every does:

Structure Course

The Structure Course controls how kid modules inside of a unmarried column are organized. Through default, Row is chosen, which tells the Column (as a container) to prepare its inside modules from left to appropriate. Then again, the Column shows the pieces inside it to movement from height to backside. The guardian Row’s Grid Course nonetheless controls general placement; this most effective impacts the interior movement.

Column Span

The Column Span box lets you set the choice of columns {that a} Grid merchandise must span, horizontally. On this instance, it’s set to two out of five columns. As you alter this price, the Column will both occupy roughly area within the Row.

Column Get started And Column Finish

The Column Get started choice controls the place a Grid merchandise starts horizontally. It’s the grid-column-start belongings in CSS. In Divi 5, it seems that within the Column’s sizing settings when the guardian Row makes use of CSS Grid.

CSS Grid in Divi 5

The dropdown menu gives 4 choices:

Possibility CSS Conduct Use Case
Auto grid-column-start:auto Merchandise begins within the subsequent to be had column in response to DOM order and movement. Herbal, sequential layouts.
Inherit grid-column-start:inherit Inherits the Column Get started price from its guardian (a nested Row or Segment). Sync placement throughout nested grids — if a guardian Row says “delivery at column 3”, all youngsters inherit it.
Unset grid-column-start:unset Resets to the browser’s default (auto) — similar as settling on auto. Override a preset or world genre that compelled a delivery price.
CSS Var (customized CSS variable) grid-column-start: var(–my-start) Allows you to dynamically keep an eye on placement by means of a CSS variable outlined in Theme Customizer → Further CSS or Design Variables. Used for theme-wide responsive common sense.

Column Finish defines the precise horizontal line the place a Grid merchandise stops, supplying you with keep an eye on over width when mixed with Column Get started. As an example, in a 5-column Grid, set Column Get started: 1 and Column Finish: 6. The thing will span columns 1-5.

CSS Grid in Divi 5

Row Span

Row Span in Divi 5 controls what number of vertical rows a Grid merchandise occupies within the Grid. Through default, that is set to at least one. On this instance, it’s set to two, which tells Divi to permit the Column to occupy two vertical rows within the format. As you alter this price, the peak of the Column both will increase or decreases.

Row Get started And Finish

The Row Get started and Row Finish controls decide the beginning Grid row from which the Column starts its vertical placement. Through default, pieces auto-place so as (filling row 1, then row 2). Surroundings a Row Get started price lets you pin the thing to a particular row, leaping over or overlapping others to create customized preparations.

Row Finish defines the finishing Grid row for vertical spanning. Depart Row Finish on Auto except you want an particular quit line, and use Row Span for many “taller card” layouts. Adjusting the price controls the place the thing ends vertically inside the Grid.

Align Self

The Align Self choice controls how the pieces are aligned inside the Grid merchandise (Column). Pieces may also be aligned from the Get started (height), Heart, Finish (backside), or Stretch, which forces the Column itself to stretch and fill all of the top of its Grid Row, ignoring the content material’s herbal top.

Justify Self

Justify Self aligns the Grid merchandise (Column) inside its cellular, however horizontally. Choices come with Get started, Finish, Heart, and Stretch.

CSS Grid in Divi 5

Shared Parameters

Divi 5’s shared parameters are container-level controls that follow uniformly to all Grid pieces inside a container. To be had on the Row and Column ranges, those choices reflect local CSS Grid houses, supplying you with world keep an eye on over spacing, alignment, wrapping, and content material distribution.

Vertical And Horizontal Hole

This controls the spacing between rows. Horizontal Hole controls the volume of spacing between columns from begin to finish (left to appropriate), whilst Vertical Hole controls spacing vertically. Those settings may also be discovered on the Row and Column ranges.

CSS Grid in Divi 5

Justify Content material

Those choices align all of the Grid alongside the horizontal axis when there’s more space within the container. When opting for Get started, all pieces will pack to the left, Heart aligns pieces to the center, and Finish packs them to the appropriate. Area Between lets in the primary and final pieces to align flush to the perimeters with equivalent area between. Area Round puts equivalent area round all pieces, and Area Calmly provides equivalent area all over, together with the perimeters.

CSS Grid in Divi 5

Align Pieces

This feature aligns all Grid pieces alongside the vertical axis inside their Row or Column. Get started aligns pieces to the highest, Heart aligns them vertically to the center, and Finish aligns pieces to the ground. After all, Stretch fills the total row top.

See also  The best way to Set up WordPress: The 4 Strategies

CSS Grid in Divi 5

Align Content material

Align Content material aligns all of the Grid block alongside the vertical axis when the Grid is shorter than the container. Choices come with Get started, Heart, Finish, Area Between, Area Round, and Area Calmly.

CSS Grid in Divi 5

Professional Tip: Set Horizontal and Vertical Hole and Justify/Align Content material on the Row point for world consistency. Override with column-level Align Self / Justify Self for particular person tweaks.

Surroundings Up & Imposing Grid Parameters

The usage of CSS Grid in Divi 5 is unassuming and may also be completed in a couple of simple steps. Get started with settling on a pre-made template from the Insert Row modal. Divi 5 gives Multi-Row, Masonry, and Sidebar templates that make it simple to get began.

CSS Grid in DIvi 5

Within the Row, click on the Design tab, extend the Structure menu, and alter the Horizontal and Vertical Hole as desired.

CSS Grid in DIvi 5

Set the Column Width choices.

CSS Grid in DIvi 5

Select the Quantity Of Columns.

CSS Grid in DIvi 5

When including columns to the Grid, click on into every Grid Column and alter the Column Span for a uniform glance.

CSS Grid in DIvi 5

Upload modules to every Column and magnificence them as desired.

After all, make changes to the format the use of Divi’s Customizable Responsive Breakpoints.

Fill out the shape beneath to obtain the examples used on this article. To import them, navigate to Divi > Divi Library. Click on the Import & Export button, make a choice the report, and import it by way of clicking the Import Divi Builder Layouts button.

CSS Grid in Divi 5

.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !essential; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:prior to { border-top-color: #ffffff !essential; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:prior to, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:prior to { border-top-color: clear !essential; border-left-color: #ffffff !essential; }
@media most effective display and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:prior to { border-top-color: #ffffff !essential; border-left-color: clear !essential; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !essential; border-left-color: clear !essential; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { coloration: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:prior to { background: #f92c8b !essential; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !essential } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !essential; } .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 !essential;}

Download For Free

Obtain For Loose

Sign up for the Divi Publication and we can e mail you a replica of without equal Divi Touchdown Web page Structure Pack, plus heaps of different superb and loose Divi assets, guidelines and tips. Observe alongside and you are going to be a Divi grasp very quickly. If you’re already subscribed merely kind on your e mail cope with beneath and click on obtain to get admission to the format pack.

You might have effectively subscribed. Please take a look at your e mail cope with to verify your subscription and get get admission to to loose weekly Divi format packs!

Perfect Practices For The usage of CSS Grid In Divi 5

Divi 5’s CSS Grid is strong, however good workflows make it speedy, maintainable, and scalable. Observe those tricks to construct skilled layouts in mins:

  1. Get started With Premade Templates: Divi 5 gives ready-made Grid templates that supply fast construction and a responsive basis. Get started with this type of templates, tweak column widths, gaps, and upload offset laws to suit your desired glance.
  2. Check Responsiveness: By no means suppose desktop = cellular. Use Divi 5’s Customizable Responsive Breakpoints or Responsive Editor to preview and alter.
  3. Mix With Different Divi Options: Divi 5’s ecosystem is filled with options you’ll use along CSS grid, together with Presets, Design Variables, Nested Rows, and Loop Builder, making it a one-stop store for growing scalable layouts in mins.

Take a look at CSS Grid In Divi 5 As of late!

Working out Column and Row Grid parameters in Divi 5 allows you to create layouts which are each environment friendly and expressive, remodeling static bins into responsive, asymmetrical designs with drag-and-drop precision. From defining observe sizes and spans to fine-tuning gaps, offsets, and alignment, those controls do away with the will for customized coding whilst handing over local CSS Grid efficiency. Whether or not you’re development a portfolio, a dynamic product grid, or a weblog powered by way of Loop Builder, CSS Grid makes it simple to create gorgeous layouts.

Dive into the Divi 5 Public Beta these days, experiment with those examples, and learn how to create designs that evolve from structured to surprising.

The put up Mastering Column & Row Grid Parameters In Divi 5 gave the impression first on Elegant Themes Blog.

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!