Flexbox & Grid in Divi 5

Build the layouts you imagine, and make them work on every screen.

Course 4 of 8 · Also included in the Self-Study Library

Was €199
Now €149

excl. VAT

Black Friday pre-sale price until November 30.
The course opens on January 11, 2027.

What you can expect
  • Self-paced video lessons
  • Native Divi 5 Flexbox and CSS Grid techniques
  • Practical layout examples you can study and adapt
  • 12 months of access to all lessons and updates, with optional renewal for €59/year
​

Already a Divi Stylist Academy graduate?
You'll receive access to this course. No need to buy it again.

Have a layout in mind, but can't quite make Divi do it?
And mobile is where things really get interesting?

A design looks straightforward until you try to build it. Suddenly you're adjusting widths, adding margins, and wondering why one element won't stay where you put it. With Flexbox and Grid, layouts start to feel a lot less like wrestling with the Builder. The trick is understanding how elements behave, then choosing the right tool for the job.

We've all been there:

  • ​
    You're using extra rows, spacing tricks, or custom positioning to achieve something that should be simple.
  • ​
    Your cards refuse to align neatly when the content is different lengths.
  • ​
    You know Divi 5 has Flexbox and Grid, but you're not sure when to use which.
  • ​
    Your desktop layout looks great, then you spend ages rearranging it for tablet and mobile.

It doesn't have to be this way

Sometimes all it takes is seeing how the pieces fit together. Here's what students from my previous courses and workshops have shared about learning with me.

I can finally create websites that match the designs I imagine in my head. DSA gave me the confidence, workflow, and technical skills to take on bigger projects with ease.

aniaromanska

Siri Bakke
DSA Student

If you’re looking for a course that focuses on all aspects of web design while using Divi, this is the one! I now see how much more control over layout I have with CSS, and how many plugins I could drop.

Kimberly Rowe
DSA Student

No more templates for me, but the confidence to start with a blank page and work to my own blueprint. This course has really helped to relieve some of my imposter syndrome.

Anonymous
DSA Student

I learned so much! Now I can really build websites the way I want them to be. Not only what Divi makes possible, but what I think is best.

Barbara Gölz
DSA Student

What you'll get out of this course
From fighting the layout to knowing exactly which tool to use.

Understand how layouts really work

Learn how normal flow, the box model, positioning, Flexbox, and Grid control the space on a page. You'll know when a simple flow layout is enough, when to choose Flexbox, and when Grid gives you better control.

Build more ambitious, responsive layouts

Use Divi 5's native layout tools to align content, control gaps and sizing, and build responsive layouts. Practice with the Visual Grid Editor, bento grids, staggered cards, overlapping elements, and other patterns you can adapt to client projects.

What's inside
From understanding space to building layouts with confidence.

We'll start with the way elements behave, learn Divi 5's layout tools, then put everything together using real design examples.

Module 1

How elements take up space

Before diving into layout controls, we'll look at the box model, normal document flow, sizing, positioning, and stacking order. You'll also get a quick CSS introduction so the terminology used with Flexbox and Grid feels familiar rather than intimidating.

Module 2

Flexbox: layouts in one direction

Learn how Flexbox distributes space and aligns content, first as a CSS concept and then with Divi 5's Flex settings. We'll work with direction, gaps, sizing, and alignment, including challenges like vertically centering content and keeping buttons aligned at the bottom of cards, and finish with everyday Flexbox recipes.

Module 3

Grid: layouts in two directions

Explore two-dimensional layouts: lines, tracks, gaps, and fr units. Then work with Divi 5's native Grid settings and Visual Grid Editor to place and span items, and use auto-fit and minmax to build grids that can adapt without extra breakpoints.

Module 4

Flex and Grid together

Compare Flexbox and Grid to choose the right approach for each layout. You'll learn how to adapt your layouts for tablet and phone, fix the most common layout problems, and get a cheat sheet to keep next to the Builder.

Module 5

Layout library

Time to try something less ordinary. We'll work through six examples: overlapping elements, a bento grid, an asymmetrical grid, staggered cards, a sticky column beside scrolling content, and a masonry-style layout.

​

Downloadable resources

Layouts to explore and adapt

Get the six example layouts and a Flexbox & Grid cheat sheet so you can inspect how they're built, experiment with the structure, and bring the techniques into your own projects.

​

Bonus live session replay

Tags & Labels: Styling and Alignment

Watch a previous live demonstration focused on styling and aligning labels and tags. It's another practical look at spacing and alignment in a real design.

Is this course for you?
An honest answer before you buy.

It's for you if…

  • ​
    You already work with Divi and want to understand its layout tools instead of nudging everything into position.
  • ​
    You want to use Divi 5's Flexbox, Grid, and Visual Grid Editor to build more interesting, responsive designs.
  • ​
    You struggle with alignment, uneven content, or layouts that behave differently across screen sizes.

    It's probably not for you if…

    • ​
      You're looking for ready-made page designs to import and use, without learning how the layouts are put together.
    • ​
      You're already confident building complex, responsive layouts with Flexbox and Grid and don't need a guided refresher.
    • ​
      You're new to Divi 5 and still learning the basics of the Builder. Divi 5 Essentials would be a better starting point.

    Who's teaching this course?
    Hi, I'm Ania!

    I teach what I use every day.

    I've spent over 10 years building Divi themes, plugins, and teaching web designers. I've been working with Divi 5 since its earliest alpha versions, testing new features and finding better ways to build websites.

    ania romanska

    My approach is simple: I show you how things work and explain why, so you can confidently apply what you've learned to your own projects.

    I'm also proud to have been featured in Elegant Themes' Divi Creator Showcase.

    years of
    building with Divi

    students
    in my courses

    One course, or the whole library?

    Flexbox & Grid in Divi 5

    • Self-paced video lessons
    • Native Divi 5 Flexbox and CSS Grid techniques
    • Practical layout examples you can study and adapt
    • 12 months of access to all lessons and updates, with optional renewal for €59/year
    Was €199
    Now €149

    excl. VAT

    Black Friday pre-sale price until November 30.
    The course opens on January 11, 2027.

    Self‑Study Library

    All 8 courses + bonuses

    Exclusive to the Library:

    • Access three step-by-step Divi 5 website creation walkthroughs, from planning to finished websites
    • Get 40% off all upcoming live workshops, bootcamps and the student community

    €1,492

    €690

    excl. VAT

    Black Friday pre-sale price until November 30.
    Courses open weekly from January 4. All 8 are available by January 25, 2027.

    See what's included

    Best value

    Where to go deeper
    How the courses connect

    Great layouts are even more useful when they're part of a consistent design system. Or, if you're just getting started, build a stronger foundation first.

    Flexbox & Grid helps you structure content and control spacing. Design System shows you how to make consistent decisions about typography, color, and sizing, then turn them into reusable Variables and Presets.

    Want to revisit the bigger picture of Divi 5? Essentials introduces the Builder, content structure, responsive workflow, and native tools that make advanced layout lessons easier to navigate.

    ​

    Divi Stylist Academy graduate?
    You'll receive lifetime access to the entire Self-Study Library, including all 8 courses and the Library extras, as the courses open, weekly from January 4, 2027.

    FAQs

    When can I start learning?

    The course opens on January 11, 2027. Pre-sale purchases receive access then; purchases made afterward can start immediately.

    Do I need to know CSS first?

    No. There's a short CSS introduction and we'll explain the concepts behind Flexbox and Grid as we use them. You don't need to write complex CSS from scratch to follow along in Divi 5.

    Is this about native Divi 5 tools or custom CSS?

    The focus is on Divi 5's native Flexbox and CSS Grid tools. You'll understand the CSS principles behind them, then apply those ideas in the Builder.

    Will I learn when to use Flexbox versus Grid?

    Yes. That's one of the main goals. We'll explore how each system works, what it's best suited for, and how to pick the simplest approach for a particular layout.

    Does the course include layouts I can reuse?

    Yes. The layout library includes six more advanced examples such as overlapping content, bento grids, staggered cards, a sticky column, and masonry. You can study how they're structured and adapt them to your projects.

    Are the lessons live or self-paced?

    They're pre-recorded, so you can watch and revisit them on your own schedule during your access period. There's also a bonus recording from a previous live session.

    How long do I have access, and can I renew?

    You'll have 12 months of access from your start date. After that, you can optionally renew for €59 for another year. There is no automatic renewal.

    What if I get stuck? Is Community included?

    Divi Lover support helps with account and download issues. For lesson and project questions, you can optionally join the student community on Circle. It's a separate paid membership with weekly live Q&A sessions; you'll receive an invitation once your course opens.

    Can I request a refund?

    Yes, within 14 days from the start of your course access. For pre-sale orders, the period starts when the course opens.

    Flexbox & Grid in Divi 5
    All lessons

    Module 1

    How elements take up space

    5 lessons

    CSS in 5 Minutes: Properties, Values and Where to Put Them

     

    CSS Box Model

     

    Flow Layout & Sizing

     

    Position Types

     

    Z-index and Stacking Order

     

    Module 2

    Flexbox: layouts in one direction

    7 lessons

    Flexbox Fundamentals

     

    Flex Settings in Divi 5

     

    Sizing Flex Items: Grow, Shrink and Column Widths

     

    Module Groups in Practice

     

    Aligning Items Horizontally with Flexbox

     

    Aligning Items Vertically with Flexbox

     

    Flexbox Recipes: Everyday Patterns

     

    Module 3

    Grid: layouts in two directions

    5 lessons

    CSS Grid Fundamentals: Lines, Tracks, Gaps and fr

     

    Grid Settings in Divi 5

     

    Placing and Spanning Grid Items in Divi 5

     

    Responsive Grids Without Breakpoints: auto-fit and minmax

     

    Visual Grid Editor

     

    Module 4

    Flex and Grid together

    4 lessons

    Flex or Grid: Which One to Pick

     

    Adapting Flex and Grid Layouts for Tablet and Phone

     

    Fixing Common Layout Problems

     

    Flexbox & Grid Cheat Sheet

     

    Module 5

    Layout library

    6 lessons

    Layout: Overlapping Elements

     

    Layout: Bento Grid

     

    Layout: Asymmetric Grid

     

    Layout: Staggered Cards

     

    Layout: Sticky Column

     

    Layout: Masonry

     

    Bonus

    Live session replays

    1 lesson

    Tags & Labels: Styling and Alignment

     

    • Short, focused video lessons recorded in Divi 5
    • Six layouts and a Flexbox & Grid cheat sheet to download
    • Captions on every video

    Psst!Black Friday is here.

    Black Friday
    40% off templates.
    Early-bird prices on Divi 5 courses.

    Your next Divi project just got a little cheaper.All templates and plugins are 40% off. Plus, grab my new Divi 5 Self-Study Courses at special early-bird prices before they open in January.

    No code needed

    Sale prices are already applied. Ends November 30.