Considerations for creating a new template
Before you create a new template, review the following considerations:
- You can have multiple templates for your products, collections, pages, blogs, and blog posts, but you can have only 1,000 templates in total.
- You can create a new template only with an Online Store 2.0 theme.
- All themes have a default template for collections, products, blogs, blog posts, and pages. These default templates are what your store's resources and content are displayed with, unless you create alternative templates.
- Any changes you make to a template impact all the pages that use that template. If you want to display some pages of a particular type differently, then you can create a new template based on one that already exists in your theme.
- When you create a new template from an existing template, your new template automatically populates with the same sections as your existing template. You can then remove, add, or hide sections, and edit their content as needed, without impacting the display of pages that use the existing template.
Create a new blog post template
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to edit, and then click Customize.
- Click the Home page drop-down menu, select a template type, and then click Create template.
- In the Create a template dialog, do the following:
- In the Name field, enter a unique name for your new template.
- In the Based on drop-down menu, select the existing product template that you want to base your new template on.
- Click Create template.
Preview an blog post template
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to preview a template with, and then click Customize.
- Click the Home page drop-down menu, and then select the template that you want to use.
- In the Preview section in the theme editor sidebar, click Change.
- Click the resource that you want to preview with the selected template.
Apply a new template to a blog post
- From your Shopify admin, go to Online Store > Blog posts.
- Click a blog post that you want to apply a new template to.
- In the Theme template section, click the drop-down menu and then select the template that you want to apply to your product.
- Click Save.