> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/volume-themes/theme-settings/layout.md).

# Layout

Basic layout settings such as **Left and right margins** and **Spacing between sections** are complemented by fine-tuned control over three grid variations.

<figure><img src="/files/VVHhZGHDYshHJbCZGlZo" alt=""><figcaption></figcaption></figure>

{% hint style="success" icon="lightbulb" %}
Each grid can be applied to any section under **Section layout** subtitle.
{% endhint %}

***

### Grid Settings

Each grid configuration includes:

* **Full-width** — Expands the content to the full width of the browser window.
* **Max width** — If Full-width is disabled, you can set a maximum width for the section.
* **Column and row gap** — Adjusts the spacing between elements.

#### Page Grid

The primary grid used for most sections with standard width and gaps.

#### Secondary Grid

An additional grid that allows for variations in width and spacing.

#### Alternative Grid

Designed for specific sections, such as navigation.

***

### Applying Grids

Each of the three grids can be applied to any section.

Additionally, within a section, you can individually configure specific grid parameters. These section-level settings override the selected grid settings:

* **Make full-width**

<figure><img src="/files/M4xmkK5RYnILfAeLQd0F" alt=""><figcaption></figcaption></figure>

* **Disable grid max-width**

<figure><img src="/files/xnJNxIaKjZqtUquyH4sG" alt=""><figcaption></figcaption></figure>

* **Disable grid gaps**

<figure><img src="/files/mHAkY1355Dr9z39E5edZ" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://staylime.com/docs/volume-themes/theme-settings/layout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
