# Capsule header dimensions

Headers are used in Capsules to indicate which collection the Capsule belongs to. When you create a new collection, you must upload the header and select the capsule color.

Capsules have a hexagonal format and the header is located in the upper part of this hexagon. Therefore, the image size of the header must be larger to fill the hexagonal format, but the logo must be smaller to be fully displayed, as shown in the following figure:

<figure><img src="/files/ghS8du2ODPM25cPDrqRs" alt="Representation of a Capsule symbol to illustrate the position of the header in the hexagon." width="312"><figcaption></figcaption></figure>

## Header dimensions

The header file must be in `.jpg` or `.png` format and have the following dimensions:

* **Header width:** 180px
* **Header height:** 40px
* **Logo width:** 90px
* **Logo height:** 24px

The logo must be placed centrally in the image. This way you get a padding of 8px on top and bottom and a padding of 45px on both sides.<br>

<figure><img src="/files/KtMTgi2bXZYXzHBlSjF8" alt="Header dimensions, including width, height, and paddings." width="293"><figcaption></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.digibee.com/documentation/developer-guide/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-create-a-capsule-collection/capsule-header-dimensions.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.
