10 CSS Subgrid Layouts For Divi 5 (Free Download!)

by | Sep 15, 2026 | Etcetera | 0 comments

Divi 5 brings the versatility of CSS Grid into the Visible Builder, making it conceivable to create structured layouts with actual keep an eye on over rows, columns, gaps, and alignment. On this unfastened pack, you’ll get 10 CSS Subgrid Layouts for Divi 5 that are ideal for testimonials, products and services, characteristic playing cards, workforce sections, challenge showcases, comparability layouts, procedure steps, and different repeated content material.

Subgrid lets in a nested grid to make use of observe sizing from its dad or mum grid alongside a decided on axis. That is particularly helpful for repeated playing cards as a result of corresponding spaces can stay aligned around the format even if headings, descriptions, pictures, or different content material range in period. Import your favourite phase, exchange the instance content material, customise the styling, and adapt the construction in your web page.

Preview

Right here’s a handy guide a rough take a look at the ten CSS Subgrid Layouts integrated within the pack. The obtain is additional down the put up.

CSS Subgrid Layouts For Divi 5

Obtain 10 CSS Subgrid Layouts For Divi 5

Get all 10 sections at no cost. Import them into your Divi Library and upload them to any web page within the Visible Builder.

What’s Integrated (11 Exports)

After you obtain and unzip the record, you’ll to find 10 person CSS Subgrid phase exports, plus 1 record containing all layouts.

CSS Grid Subgrid Phase 1 to ten (10) → Ten absolutely styled layouts that includes other combos of repeated playing cards, imagery, headings, descriptions, labels, numbers, buttons, and supporting main points organized with CSS Grid and Subgrid.

CSS Grid Subgrid Sections (All) → Imports all 10 designs into your Divi Library without delay.

subgrid JSON files

How To Use The CSS Subgrid Layouts

Stay your obtain folder at hand. We’ll import the information, upload a CSS Subgrid phase to a web page, exchange the instance content material, and customise the design whilst keeping its alignment machine.

1. Import Sections Into The Divi Library

Move to Divi → Divi Library. Click on Import & Export on the peak of the display screen.

Divi Library import

Within the Import & Export Layouts modal, transfer to the Import tab, then click on Make a selection Report. Choose someone CSS Grid Subgrid Phase JSON record if you happen to handiest need one design. To import each format without delay, make a choice CSS Grid Subgrid Sections (All).json as a substitute.

Click on Import Divi Builder Layouts and stay up for the import to finish.

import subgrid layouts

2. Upload A CSS Subgrid Phase To Any Web page

Open a web page within the Visible Builder and upload a brand new Phase the place you need the format to look.

add new section to Divi

Click on Upload From Library and make a selection one of the most CSS Subgrid sections you imported.

add layout from library

The whole design can be added to the web page with its authentic modules, nested bins, Grid settings, Subgrid relationships, colours, typography, and spacing intact.

3. Exchange The Instance Content material

Get started by way of changing the instance headings, descriptions, labels, numbers, names, roles, buttons, pictures, and different supporting main points with your individual content material.

replacing text content

Paintings thru one repeated merchandise at a time. Exchange each piece of content material within that merchandise, then transfer to the following card or block. This makes it more straightforward to stay the construction constant around the complete phase.

The layouts are designed to deal with herbal variations in content material period whilst retaining corresponding spaces aligned. On the other hand, extraordinarily brief or lengthy replica can nonetheless trade the stability of a card, so evaluate the phase as an entire composition after including your content material.

varying content lengths

When changing buttons or connected components, replace their vacation spot URLs and ensure the labels obviously describe the motion guests can take.

4. Perceive The Dad or mum Grid And Subgrid Construction

Every design makes use of a dad or mum grid to ascertain the bigger format and nested grid bins for the repeated content material. Subgrid lets in the ones nested bins to observe the related row or column tracks outlined by way of the dad or mum as a substitute of making unrelated tracks of their very own.

parent grid structure

This shared construction is helping corresponding components line up throughout neighboring playing cards. As an example, headings can occupy the similar observe, descriptions can start and finish inside of coordinated spaces, and buttons or writer main points can stay aligned towards the ground.

See also  Everything You Need To Know About Divi 5’s Nested Option Presets

grid track content

When exploring a format, use Divi’s Layers panel or Component breadcrumbs to know which components belong to the dad or mum grid and which sit down throughout the nested grid bins. Figuring out that hierarchy earlier than making structural adjustments will assist you to keep the supposed alignment.

layers panel and breadcrumbs

Steer clear of doing away with a nested container only as a result of it sounds as if so as to add any other layer. That container could also be liable for the Subgrid courting that coordinates its interior content material with neighboring pieces.

5. Regulate The Grid With out Breaking Alignment

If you wish to trade the quantity or width of the primary columns, start with the dad or mum grid container. Use its Grid settings or open Divi 5’s CSS Grid Editor the place suitable to check the bigger construction, observe sizes, and gaps.

using the grid editor

Make one structural trade at a time after which take a look at each repeated merchandise. Since the nested grids rely on tracks established by way of the dad or mum, converting the dad or mum can impact alignment all through the phase.

So as to add any other provider, testimonial, characteristic, or different repeated merchandise, replica the whole merchandise container fairly than copying handiest its visual modules. This preserves the nested construction and provides the brand new merchandise the similar alignment conduct as the present ones.

If you happen to take away an merchandise, take a look at whether or not the dad or mum grid nonetheless has the correct selection of columns for the remainder content material. Regulate the column construction when vital so the phase does now not depart an accidental hole.

6. Customise The Styling

Those CSS Subgrid Layouts are already styled, however you’ll be able to customise their colours, backgrounds, typography, borders, pictures, spacing, buttons, and different design settings to compare your web page.

styling changes in Divi 5

Get started with shared visible choices such because the phase background, card colours, heading kinds, border remedies, and button look. Repeating a centered set of values is helping the person pieces learn as portions of 1 machine.

When converting interior padding or gaps, follow the values constantly throughout related pieces. Subgrid coordinates observe alignment, however inconsistent spacing within person components can nonetheless make the design really feel asymmetric.

adding internal padding in Divi 5

For layouts that use contrasting playing cards, you’ll be able to range background and accessory colours whilst retaining typography, borders, spacing, and element order constant. This provides visible selection with out weakening the shared construction.

7. Take a look at The Format On Smaller Displays

Repeated multi-column layouts regularly want a other construction on narrower monitors. Use Divi’s responsive modifying gear to check the phase on desktop, pill, and speak to earlier than publishing.

Pay explicit consideration to the selection of columns, stacking order, nested alignment, card spacing, textual content period, button placement, and symbol sizing. A row of 4 playing cards on desktop would possibly paintings higher as two columns on pill and one column on telephone.

grid settings on mobile

If you happen to trade the dad or mum grid at a smaller breakpoint, evaluate the nested pieces at that very same breakpoint. Ascertain that each and every card nonetheless comprises its content material in a logical order and that the Subgrid construction continues to toughen the supposed alignment.

nested items on phones

Take a look at the are living web page in addition to the builder previews. This may assist you to verify that the content material stays readable and the repeated pieces really feel balanced at other viewport widths.

See also  The place to To find WordPress Assist: 21 Superb Sources to Take a look at Out

Guidelines For Efficient CSS Subgrid Layouts

Subgrid is most precious when a couple of nested elements wish to percentage a bigger alignment machine. Use those tricks to keep that courting whilst adapting the designs in your content material.

Stay The Element Construction Constant

Repeated pieces must in most cases comprise the similar varieties of components in the similar order. A constant interior construction makes it more straightforward for corresponding headings, descriptions, metadata, and buttons to align around the grid.

keep the structure consistent

Let The Dad or mum Grid Lead

Deal with the dad or mum grid as the primary supply of construction. Make a decision what number of columns the phase wishes, how vast the ones tracks must be, and what kind of house belongs between them earlier than fine-tuning person content material components.

let the parent grid lead

Use Subgrid The place Alignment Provides Worth

Subgrid is particularly useful for testimonials, provider playing cards, characteristic comparisons, workforce profiles, and different repeated elements the place matching interior rows make the content material more straightforward to scan. More practical components with out shared alignment wishes would possibly not require the similar nested construction.

use subgrid where alignment adds value

Permit For Actual Content material Variations

Check the format with life like replica fairly than similar placeholder textual content. Other heading and outline lengths will disclose how the construction behaves and whether or not any merchandise wishes editorial tightening.

allow for real content differences

Stay Calls To Motion Aligned

When playing cards come with buttons or hyperlinks, constant placement makes the phase more straightforward to scan and engage with. Keep the observe that holds the calls to motion so various description lengths don’t push each and every button to another place.

keep call to actions aligned

Steer clear of Spacing Fixes That Struggle The Grid

Huge fastened heights, over the top padding, and guide offsets can cover an alignment factor at one display screen dimension whilst growing any other in other places. Regulate the dad or mum tracks, nested construction, or shared gaps earlier than including remoted spacing corrections.

avoid spacing fixes

Keep A Logical Studying Order

The visible association must toughen the underlying content material order. This turns into specifically necessary when a number of columns stack vertically on smaller monitors, the place guests come across each and every merchandise in collection.

preserve a logical reading order

Check Each Responsive Breakpoint

Don’t suppose the desktop alignment will translate mechanically to each display screen dimension. Evaluation the dad or mum and nested grids in combination on pill and speak to, and make responsive changes anywhere the column rely or content material drift adjustments.

test every responsive breakpoint

Get started Construction In Divi 5 Lately!

Those 10 CSS Subgrid Layouts provide you with versatile beginning issues for testimonials, products and services, options, workforce participants, initiatives, comparisons, procedure steps, and different repeated content material. Import your favourite design, exchange the instance content material, customise the styling, and use the coordinated Grid and Subgrid construction to create polished sections with Divi 5’s Visible Builder.

The put up 10 CSS Subgrid Layouts For Divi 5 (Free Download!) 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!