# Why are my pages so narrow?

In some cases, the **page.studio** template inherits your theme's code that wraps around the content of a page. This can make pages narrower than the rest of your site, causing issues with the way blocks display.

Follow the steps below if you'd like your page.studio template to stretch the full width of your theme.

1\. Starting from your Shopify dashboard, click on **Online Store**, then click on **Themes.**

2\. Find the theme you want to edit, click the **Actions** button, then click **Edit code.**

![](/files/LrRa7yxHpyDAhOb4vKU0)

3\. On the left side, under the **Templates** heading, locate the **page.studio.liquid** file.

![](/files/HAhyWIP4C9xrZbBes0Wb)

4\. Replace all the code within the **page.studio.liquid** file with the following snippet.

```html
<link href="//studios.cdn.theshoppad.net/pagestudio/blocks.css?v={{ page.metafields.global.version | default: 3 }}&shop={{ shop.permanent_domain }}" rel="stylesheet" type="text/css"/>
<script src="//studios.cdn.theshoppad.net/pagestudio/pagestudio.dist.js?v={{ page.metafields.global.version | default: 3 }}"></script>
<div class="studioengine">{{ page.content }}</div>
```

5\. Save your changes.


---

# 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://shoppad.gitbook.io/pagestudio/troubleshooting/why-are-my-pages-so-narrow.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.
