# Layout

### Sizing and spacing

#### Base font size

The base font size is the foundational font size used throughout the theme. All other font sizes are calculated relative to this value. Adjusting this setting will affect the overall typography across your store.

#### Base spacing size

The base spacing size defines the default spacing value used for elements like padding and margin. Similar to the font size, all other spacing values are calculated relative to this base value. Adjusting it will affect the layout of your content.

#### Base border weight

The base border weight defines the thickness of borders used throughout the theme. All other border weights are based on this value. Adjust it to make borders thinner or thicker across your store.

#### Grid spacing

The spacing between grid items. If set to `None`, borders will not be rounded.

#### Show floating conversion docks

Shows a floating conversion dock when a user scrolls beyond the static conversion button on product and cart pages only.

#### Sale badge style

Determines the logic used for sale badges. Set to `Percentage` by default.

#### Use right-to-left direction

Activates right-to-left (RTL) text direction, typically used for languages such as Arabic, Hebrew, or Persian. This adjusts the layout to better accommodate languages that are read from right to left.


---

# 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://gatame.gitbook.io/highstreet/theme-settings/layout.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.
