Block outer spacings
Use automatic spacings of the theme in your shopping experience pages.
Last updated
Use automatic spacings of the theme in your shopping experience pages.
Last updated
In the shopping experiences Block settings > Layout the spacings of a block can be set at the top
, bottom
, left
and right
.
How to configure spacings between columns and blocks you can find more information in the Block spacings article.
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 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.
Example: