> 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/avante-themes/faq/pages-and-templates/how-do-i-create-a-new-page-with-a-custom-template.md). Agents can also search and read this documentation through its [MCP server](https://staylime.com/docs/~gitbook/mcp).

# How do I create a new page with a custom template?

Build unique page layouts in the Avante Shopify theme: create a custom page template, assign it to any page, and add it to your navigation menu.

{% stepper %}
{% step %}

### Step 1: Create the template in your live theme

1. Go to **Shopify Admin → Online Store → Themes**
2. Click **Edit theme** on your **Live** theme
3. Open the top dropdown → go to **Pages** → click **Create template**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FHRTqg5mAt9wrLTy8Odvl%2FGroup%202%20(9).jpg?alt=media&amp;token=5ba31aa6-c59f-4b39-b119-fb0639111d38" alt=""><figcaption></figcaption></figure>

4. Name it and choose an existing template in the **Based on** dropdown
5. Click **Save**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2Fw8NrU8ZY1YHSoMrtH6ZX%2FGroup%202%20(11).jpg?alt=media&amp;token=558cdb38-9b50-48ee-8b2b-c41557743fb5" alt=""><figcaption></figcaption></figure>

{% hint style="warning" icon="lightbulb" %}
Always create the template in your **Live** theme — templates created in a \[DEV] copy don't appear in the Shopify Admin dropdown.

See: [A page template isn't showing →](https://claude.ai/docs/avante-themes/faq/pages-and-templates/a-page-template-isnt-showing-in-the-shopify-admin-dropdown)
{% endhint %}
{% endstep %}

{% step %}

### Step 2: Create the page and assign the template

1. Go to **Shopify Admin → Online Store → Pages**
2. Click **Add page** and give it a title

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FSZCqHovdIOLvtaa2GxKw%2FGroup%202%20(12).jpg?alt=media&amp;token=4c0e9548-4a56-4ee2-9aca-a957e0f1c2e5" alt=""><figcaption></figcaption></figure>

3. On the right side, select your new template in the **Template** dropdown
4. Click **Save**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FMIfSkR8tJWZVxTFj7VYL%2FGroup%202%20(13).jpg?alt=media&amp;token=6b65bfd7-240f-4c40-a353-4e5789035585" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step 3: Build the layout

1. Open **Theme Editor** → top dropdown → **Pages → \[your template]**
2. Click **Add section** and build the layout with any sections and blocks
3. Click **Save**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FTEOjgwPOx8S5DlKFD8N9%2FGroup%202%20(14).jpg?alt=media&amp;token=8702cf19-63ac-4ca5-b23f-7d29f0a4e0aa" alt=""><figcaption></figcaption></figure>

{% hint style="warning" icon="exclamation" %}
**Note:** The layout belongs to the template, not the page. Every page assigned to this template shares the same sections — only the page title and body content differ. Need a different layout? Create another template.
{% endhint %}

{% hint style="success" icon="lightbulb" %}
Working on a design in a \[DEV] copy? Create the same template there too — it will link to the page automatically when you publish.
{% endhint %}
{% endstep %}

{% step %}

### Step 4: Add the page to your menu

1. Go to **Shopify Admin → Online Store → Content → Menus**
2. Open the menu your header uses (usually **Main menu**)

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FZ6J7SmfiP3OA41yH5zm5%2FGroup%202%20(15).jpg?alt=media&amp;token=cda1f88b-621b-4e26-a9b3-d523beeda0a1" alt=""><figcaption></figcaption></figure>

3. Click **Add menu item**, name it, and select your page in the **Link** field
4. Click **Save menu**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FGb1amWNw3WfoJ3jQTV4R%2FGroup%202%20(16).jpg?alt=media&amp;token=c5a305bf-cbd2-4393-9c11-254e7203a34d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Result

Your new page is live with its own layout and appears in your store navigation.

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FVV6iprMotR3XuWcWrOdD%2FGroup%202%20(17).jpg?alt=media&amp;token=93479335-3769-4635-8e38-d320f686a8a9" alt=""><figcaption></figcaption></figure>

***

### Related

* [How do I create an About Us page and add it to my menu?](https://staylime.com/docs/avante-themes/faq/pages-and-templates/how-do-i-create-an-about-us-page-and-add-it-to-my-menu.md)
* [How do I create a FAQ page with expandable questions?](https://staylime.com/docs/avante-themes/faq/pages-and-templates/how-do-i-create-a-faq-page-with-expandable-questions.md)
* [A page template isn't showing in the Shopify Admin dropdown](https://staylime.com/docs/avante-themes/faq/pages-and-templates/a-page-template-isnt-showing-in-the-shopify-admin-dropdown.md)
* [Templates overview](https://staylime.com/docs/avante-themes/templates/overview.md)


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://staylime.com/docs/avante-themes/faq/pages-and-templates/how-do-i-create-a-new-page-with-a-custom-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
