> For the complete documentation index, see [llms.txt](https://flexi-library.gitbook.io/flexi-sections/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flexi-library.gitbook.io/flexi-sections/docs/page-width.md).

# Page Width

{% embed url="<https://www.youtube.com/watch?v=yUk6NBfy9rA>" %}

Flexi gives you multiple ways to control the width of each section, so it fits naturally within your theme.

{% stepper %}
{% step %}

#### Choose a Width Setting

In the section settings, you’ll find three options:

* Fixed Pixel Value → Set a specific width in pixels.
* Full Width → Stretch the section across the entire screen.
* Custom CSS Class → Use a class to match your theme’s existing width styles.
  {% endstep %}

{% step %}

#### Dawn / Horizon

* Dawn → Set the page width to custom, and use the custom CSS class "page-width".
* Horizon → Set the page width option to Full. Then toggle on developer mode and add the class "section" to adopt Horizon’s standard section width.
  {% endstep %}

{% step %}

#### Other Themes

For most themes, setting a pixel width is the simplest approach. If you’re comfortable with CSS, we recommend using the theme’s existing classes or creating your own custom class for maximum control.
{% endstep %}
{% endstepper %}

This flexibility ensures your sections look consistent, no matter which theme you’re building on.


---

# 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://flexi-library.gitbook.io/flexi-sections/docs/page-width.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.
