> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/marketing-hub/email-template/settings/blocks-and-settings/group.md).

# Group

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FkGjTXmGvy10D4mnGMRay%2Fimage.png?alt=media&amp;token=2331356d-24d6-4111-af7c-44287b3ed753" alt=""><figcaption></figcaption></figure>

## Overview

Use Group block to group other blocks in the Email template.

Group block allows aligning other blocks horizontally/ vertically.

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2F4XrdFW4SDMaQaFR1mbtq%2Fimage.png?alt=media&amp;token=c7e8e1ec-4ef9-4561-ba10-8413b660c196" alt=""><figcaption></figcaption></figure>

## Group Styling

Group styling sets the alignment of blocks in a Group

* Layout: align by vertical or horizontal&#x20;
* Align: arrange by top, middle, bottom
* Justify: align by left, center, right

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FrYkQaL6br7xcbZfE9gvR%2Fimage.png?alt=media&amp;token=eb5d6e36-a4be-4ee4-8a91-0485c72dcabd" alt=""><figcaption></figcaption></figure>

***Settings of*** [***Container Styling***](/cdp-365-user-guide-en/marketing-hub/media-template/settings/blocks-and-settings/group.md#container-styling) ***and*** [***Display Condition***](/cdp-365-user-guide-en/marketing-hub/media-template/settings/blocks-and-settings/group.md#display-condition) ***are similar to the Group block in the Media Template.***&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.antsomi.com/cdp-365-user-guide-en/marketing-hub/email-template/settings/blocks-and-settings/group.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
