I am excited to announce the new CSS Grid Editor for Divi 5!
Divi 5 embraces CSS Grid. It comes with tons of flexible grid templates and all the options you could ever need to build every grid layout imaginable.
Today, we are taking things a step further by introducing an interface for visualizing, editing, and building advanced CSS grid layouts. Itโs awesome!
Whether youโre new to CSS Grid or an experienced developer, you can use the new interface to build stunning layouts without getting lost in a maze of settings.
Furthermore, thanks to Divi 5โs unique grid offset editor, layouts built with the grid editor are housed entirely within the container, which means you donโt have to worry about editing child elements, and every CSS Grid layout built with Divi 5 works with loops.
Thereโs much to explore, so let me jump into the builder and give you the full tour. ๐
The New Grid Editor
When adding a container, youโll notice a new โBuild Custom Gridโ option along with Diviโs premade structure templates. Additionally, whenever you set an elementโs layout style to grid, you find a new โOpen Grid Editorโ button in the settings panel. These buttons launch the new grid editor, which lets you build new layouts and edit existing ones.
The grid editor is super informative, distilling the containerโs modified grid settings and offset rules into a visual interface you can easily understand and work with.
Building Custom Grid Layouts
In the grid editor, you can configure the base grid template and then resize and reposition items on the grid.
- Drag To Resize Items โ Each item has draggable anchors on its four corners, which you can use to resize an item to span additional rows and columns.
- Drop & Drop To Reposition Items โ You can drag and drop items from one cell to another to reposition them on the grid.
- Drag To Adjust Gaps โ Horizontal and vertical gaps are easily adjustable. Type in a specific value, or drag to adjust the gaps visually.
- Drag To Adjust Column And Row Widths โ You can build your own grid templates by dragging to adjust the width and height of each row and column.
- Add Grid Items For Better Visualization โ You can add as many grid items as you want, letting you visualize long, complex designs in the editor, even if the container has no child items.
- Visualize and Edit Grid Offset Rules โ The grid editor highlights each offset rule, and you can see which items the offset rule affects.
Editing Existing Layouts & Visualizing Advanced Offset Rules
The grid editor is a great way to visualize an existing layout instead of trying to make sense of modified grid settings in the settings panel. Itโs also a great way to edit any of Diviโs premade structure templates. Pick a premade template, and then open the grid editor to customize it. Easy!
The Beauty Of Loops And Container-Based Grids
Divi 5โs grid editor is unique because it stores the layout within the container and targets items within the grid using pseudoclasses. That means when you resize and reposition items in the grid, the child items themselves are not affected; Diviโs grids are child element agnostic!
Once you build a grid at the container level, you can add, delete, duplicate, and loop child items, and everything falls into place.
Try Divi 5 Today
Complete site editing is now available for Divi 5. Give it a try and let us know your thoughts.
We rebuilt Divi from the ground up and packed it full of dozens of your most requested features. Forget everything you thought you knew about Divi, because Divi 5 is an entirely different beast.
Have You Tried Divi 5โs New Variable Fonts?
We just recently released variable fonts for Divi 5.
Divi 5 now supports the latest Google Fonts collection, including variable fonts and the dozens of new controls they provide. If you arenโt familiar with variable fonts, keep reading because they are amazing.
We also added many new text styling options that allow you to create magazine-style text layouts, style dropcaps, and give you more control over text stroke, spacing, and more. When it comes to typography, Divi 5 now has it all.
Watch this video for all the details. ๐
More Divi 5 Updates Are On The Way
The features keep coming, and we arenโt slowing down anytime soon!
If you are enjoying these updates, do us a huge favor and let us know by liking this video and leaving a comment. It means a lot to us to see you cheering Divi on, and itโs essential to feed the algorithm and spread the word.
Donโt forget to follow us on YouTube and subscribe to the Divi newsletter so you never miss an update. Iโll see you soon for another Divi 5 feature announcement, which I promise will be right around the corner. ๐

Thank you for this great update. But I can’t believe this has happened again. Guys, why does every update bring back a bug that was already fixed, or introduce a completely new one? It’s becoming really frustrating.
Weโre sorry to hear about the issues youโre experiencing.
Glad to hear you’re excited about the Grid Editor, as are we. ๐
Please reach out to our support team with the details of the issue you’ve encountered via web chat. We’d love to take a closer look. Our team will do our best to help identify the cause and provide a solution or workaround as quickly as possible. Thanks! ๐
Amazing. I enjoyed the grid offset rules but was always struggling to keep track of what did what. Now problem has been solved.