# Wrap Multiple Blocks in a Container

GenerateBlocks can already convert a select group of blocks to a [Container block](https://docs.generateblocks.com/article/container-overview/), 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.

<figure><img src="https://664464343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtmNb8RTbrDLZUVTlqDNW%2Fuploads%2F7v66LN5EuATcSyhJrqeS%2Fdlxplugins-1701596588649-1x.webp?alt=media&#x26;token=768d12ff-0987-4716-9e5a-3b39f73614ac" alt=""><figcaption><p>Wrap in Container Option in Block Settings</p></figcaption></figure>

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.

<figure><img src="https://664464343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtmNb8RTbrDLZUVTlqDNW%2Fuploads%2FhE8EdVwMtzypRz7XIChf%2Fdlxplugins-1701596753158-1x.webp?alt=media&#x26;token=1d77ed56-9f3e-4a64-92fa-89536589dacd" alt=""><figcaption><p>Blocks Wrapped in a Container</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dlxplugins.com/gb-extras/features/wrap-multiple-blocks-in-a-container.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
