Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). Comments Order 4.0.0 Major update available for module comments_order (4.0.0). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). Project Browser API Browser Module api_browser now has official Drupal security advisory coverage.

This module allows editors to create multi-column and multi-row CSS grids within individual Layout Builder regions. It provides a point-and-click interface to arrange blocks within a region, offering fine-grained control without creating nested layouts or modifying theme code. The module automatically generates responsive CSS for a clean and flexible layout experience.

CSS Grid for Layout Builder brings multi-column grid control to individual Layout Builder regions — without nested layouts. If you have a section with columns, this module lets editors define a CSS Grid inside each region: one row of 3 cards, a second row split in half, a full-width banner below — all without touching theme code or creating nested layout sections. It works entirely through a point-and-click modal in the Layout Builder UI and generates clean, responsive CSS automatically.

Features

  • Fake nested layouts with CSS Grid — Layout Builder sections have regions (columns), but nesting layouts inside regions is complex. This module solves that by letting you define a multi-row CSS Grid within each region, giving editors fine-grained control over how blocks are arranged inside a column without adding another layout layer.
  • Row-based grid editor — define up to 6 rows per region, each with 1–6 equal columns. Example: a full-width hero block, then a row of 3 cards, then 2 side-by-side blocks — all inside a single region.
  • Live preview — the modal shows exactly how blocks will be arranged before you apply.
  • WYSIWYG in edit mode — the grid is applied immediately inside the Layout Builder editor, so what you see in edit mode matches the frontend.
  • Responsive by default — the grid activates at 1024px and wider; on smaller screens blocks stack vertically automatically.
  • No configuration needed — install and the "Define grid" button appears on every Layout Builder region instantly.
  • Bootstrap Layout Builder compatible — works alongside BLB without conflict.
  • CSRF-protected AJAX save — grid settings are saved without a page reload.

Supporting this Module

This module is maintained voluntarily. If it saves you time, you can support development by:

  1. Reporting bugs and suggesting improvements in the issue queue
  2. Sponsoring the maintainer on drupal.org/u/arialblack

Community Documentation

Activity

Total releases
1
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 19, 2026