Drupal Canvas Grid Layout
Grid layout
Arrange content in responsive rows and columns with flexible grids
The Grid layout is a structured component in Webhaven used to display content in a responsive, multi-column format.
This page shows available options, usage examples, and configuration details. Full property definitions are listed in the specifications table below.
Grid layout (50-50)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (50)
Item B (50)
Grid layout (60-40)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (60)
Item B (40)
Grid layout (40-60)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (40)
Item B (60)
Grid layout (33-33-33)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (33)
Item B (33)
Item C (33)
Grid layout (25-25-25-25)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (25)
Item B (25)
Item C (25)
Item C (25)
Grid layout (100)
This is a title
This is a subtitle
This is some text that you can easily edit.
Item A (100)
Grid specifications
An overview of the available properties on every grid layout:
| Property | Description |
|---|---|
| Layout | List (100, 50-50, 60-40, 40-60, 33-33-33, 25-25-25-25) |
| Width | List (small, normal, big, full width) to control the width of the grid. |
| Spacing | List (none, tight, compact, normal, spacious) to control the spacing on the grid. |
| Title | Text |
| Subtitle | Text |
| Text | Text with WYSIWYG editor |
| Classes | List of additional CSS classes to add to the grid component. |
An overview of the available slots on every grid layout:
| Slot | Description |
|---|---|
| Grid | Contains all the components shown in the grid. |