> For the complete documentation index, see [llms.txt](https://mpithemes.gitbook.io/shella-shopify-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mpithemes.gitbook.io/shella-shopify-theme/get-started/how-to-create-a-new-template.md).

# How to create a new Template

&#x20;Shopify software allows creating templates for:

* product pages;
* collection pages;
* blogs pages;
* article pages;
* webpages.

&#x20;To create a custom template, you can follow the listed steps:

#### Step 1:

&#x20;Start by creating a template in the theme editor. Press the top drop-down menu and choose a page for which a new template will be created, e.g. Collections:

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

#### Step 2:

&#x20;Then, press the button **“Create template”** and edit the fields in the popup:

* write the unique name for the template in the **“Name”** ;
* the new template will be based on the one you choose from the **“Based on”** drop-down;
* hit the button **“Create template”**:

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

#### Step 3:

&#x20;Now, we need to go to Shopify Admin and assign a template to a page.

&#x20;Depending on the page for which you created the template, choose a template in the **“Theme template”** drop-down:

* **Products** - *Shopify Admin -> Products*, choose a product:

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

* **Collections** - *Shopify Admin -> Products -> Collections*, choose a collection:

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

* **Blog posts** - *Shopify Admin -> Online Store -> Blog posts*, choose a blog:

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

* **Blogs** - *Shopify Admin -> Online Store -> Blog posts*, choose a blog, and in the **“Comments”** block, press on the blog:

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

Then, choose a template on the opened page:

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

* **Pages** - *Shopify Admin -> Online Store -> Pages*, choose a page:

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

#### Step 4:

Finally, you can go back to the theme editor, select a template and add specific content to the given template:

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

Press the **“Add section”** button to add any section from the **Theme sections** list. Read details on how to set up each section [<mark style="color:blue;">**here**</mark>](https://mpithemes.gitbook.io/shella-shopify-theme/home-page-sections).
