Use custom templates
Last updated
Was this helpful?
Last updated
Was this helpful?
Custom templates can be created to include drag-and-drop sections on almost any page. These templates can be used for content pages, collection pages, product pages, blog pages, and article pages.
Visit the Shopify help center to .
We'll create a custom page template, customize it, and assign it to a page. This same process can be used for other templates, such as products or collections.
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 template that you want to base your new template on.
Click Create 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.
From your Shopify admin, go to Products > Collections.
Click a collection that you want to apply a template to.
In the Theme template section, click the drop-down menu and then select the template that you want to apply to your collection.
Click Save.
From your Shopify admin, go to Products.
Click a product 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.
From your Shopify admin, go to Online Store > Blog posts.
Click Manage blogs.
Click a blog that you want to apply a template to.
In the Online store section, click the Theme template drop-down menu, and then select the template that you want to apply to your blog.
Click Save.
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 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.