How To Use Empty Grid Cells To Create More Interesting Compositions In Divi 5
Most grid layouts fill every available cell. Leaving some cells empty can create a more interesting composition, with space that guides the eye through the content. With CSS Grid in Divi 5 , Grid Offset Rules let you position items precisely and leave selected cells unoccupied. In this tutorial, we’ll build four cards on an eight-column grid. Each card starts farther to the right and spans fewer columns, creating a stepped area of empty space along the left. Why Use Offset Rules Instead Of Spacers? Spacers, margins, and column spans can all create empty space, but they give you different types of control. An empty Group Module can act as a spacer. However, if you add it as a direct child of the grid container, it also counts as a grid item. Inserting it before a card changes that card’s position in the sequence, which can affect rules targeting items by index. A left margin adds space beside an item, but a fixed value such as 240px does not stay aligned with grid tracks as the...