# Block outer spacings

In the shopping experiences *Block settings > Layout* the spacings of a block can be set at the `top`, `bottom`, `left` and `right`.

{% hint style="info" %}
How to configure spacings between columns and blocks you can find more information in  the [Block spacings](/en/content/shopping-experiences/block-inner-spacings.md) article.
{% endhint %}

## Use global theme spacing

The basic horizontal spacing can be configured via the theme styling configuration so that the spacing matches that of the header and footer. This is useful for very specific layout constellations, e.g. boxed layout.

The advantage of these [global container spacings](https://themedocs-sw6.zenit.design/styling/grundeinstellungen#container-abstaende) is that they are reduced on mobile devices. The values entered in the shopping experience layout, on the other hand, are identical for all viewports, which is not always optimal on small devices.

To use the global container spacing of the theme, simply enter `auto` for **Left margin** and **Right margin** or empty the field.

![](/files/hthYyHFJQau8HnjXmqkU)

Example:

![](/files/-MHLESZXb6vEuwWHotKs)


---

# 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://themedocs.zenit.design/en/content/shopping-experiences/block-outer-spacings.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.
