WordPress Gutenberg: How to Group Multiple Blocks
WordPress Gutenberg: How to Group Multiple Blocks
How to Group Multiple Blocks
Say you’re creating a Services section on a homepage, where you want to present each item with an image, a headline, and a description, all aligned neatly. Grouping blocks can be useful in this scenario as it lets you manage the entire section as one unit.
You can use the Group, Columns, Row, and Stack blocks to group multiple blocks. These options are available in the Design section of the block inserter.

Grouping multiple elements using these design blocks creates indented nested blocks. They refer to blocks placed inside a parent block, creating a structured layout.
For instance, a column block can be a parent containing other blocks like texts and images. These child blocks are indented under the parent block on the editor interface.
Let’s illustrate this process using the columns block as an example:
1. Introduction
2. Open Block Inserter Panel
3. Select Columns Block
4. Skip Initial Prompt
5. Add New Block
6. Open Block Options
7. Open Block Settings
8. Add Another Block
9. Access Text Block
10. Enter Text Content
11. Adjust the Layout of These Grouped blocks
The sidebar block settings include the Inner blocks use content width option, which allows the nested inner blocks to conform to the parent block’s content width.
12. Select Text Block
13. Confirm Text Block Selection
14. Enable Content Width Setting
15. Activate Content Width
16. Open Content Width Settings
17. Set Content Width Value