LogoLogo
GB Hacks HomeDLX Plugins
GB Extras
GB Extras
  • GB Extras
  • Getting Started
    • Installing the Plugin
    • Finding the Plugin's Settings
  • Features
    • Pattern Importer
    • Set the Headline Block as the Default Block
    • Add Adobe Fonts to Typography Options
    • Add Styles to Post Types
    • Wrap Multiple Blocks in a Container
    • Transform Group Blocks to Containers
    • Block Editor Commands
    • Generate New Unique IDs for a Block
  • Quick Links
    • DLX Plugins Home
    • GB Extras Home
    • Support
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Features

Wrap Multiple Blocks in a Container

Select a group of blocks and wrap a container around them.

PreviousAdd Styles to Post TypesNextTransform Group Blocks to Containers

Last updated 1 year ago

Was this helpful?

GenerateBlocks can already convert a select group of blocks to a , but only if they are all core GenerateBlocks blocks.

With GB Hacks, you can select any group of blocks and conveniently wrap a container around those items.

You'll need to select two or more blocks in order for this option to appear. To wrap in a Container, click on the vertical ellipses symbol and find the option to "Wrap in Container."

Once done, the blocks you've selected should now be in a Container block.

Container block
Wrap in Container Option in Block Settings
Blocks Wrapped in a Container