The overall layout of your online store is controlled by yourtheme. Your theme usestemplatesto specify how content appears in your store on specific pages or page types. A template is made up ofsections, which are composed ofblocks. Sections and blocks are modules that you can use to customize the layout of your online store.
Templates are customized by adding, removing, and rearranging sections and the blocks within. You can have up to 25 sections for each template, and each section can contain up to 50 blocks. Not all sections will have individual blocks to customize.
For example, if you make unique handcrafted items, then you might create anot-for-saleproduct template to apply to all products you've already sold. This template might have two sections:Product informationandRelated products. TheProduct informationsection might have only the Title and Description blocks, as you wouldn't want to display things like quantity selectors or buy buttons if a product isn't available to purchase.
Saved templates can be applied to new or existing pages and products using thetheme editoror yourShopify admin.
Sections can be customized and added to any page of your online store, with the exception of gift card and checkout pages.
In this section
Templates
Sections and blocks
Templates
Templates are a group ofsectionsthat are configured to give your online store a consistent design and feel. The sections that are available in your templates depends on yourtheme. In thetheme editor, you can find which templates are applied to which pages, and then edit the templates to customize the information that you display to your customers.
Your theme contains templates for different types of content. These templates types contain sections and blocks that pull content dynamically from the respective area of your Shopify admin. For example, your theme's product page template creates a page for each product published to your online store in theProductssection of your Shopify admin.
When you edit a template, your changes apply to every page that uses the template. For example, if you add a newsletter signup form to a collections template, then all your collection pages that use the default collections template display the newsletter signup form.
On this page
Default templates
Edit your templates
Considerations for creating a new template
Create a new template
Previewing templates
Apply a new template
Applying a new template to products or collections in bulk
Managing your templates
Default templates
Each default template has its own default sections and settings that you can edit and customize in thetheme editor. For example, product pages have aProduct informationsection and aRelated productssection by default. The specific customization settings for each theme depend on your theme's developer and theme version. Learn more about finding yourtheme version.
The templates are available in your theme by default.
Products
Your theme's product pages display information about theproductsthat you sell on your store, and where your customers can buy the products from.
By default, product pages have aProduct informationsection and aRelated productssection in the theme editor.
TheProduct informationsection displays the details of your products, such as the title, description, price, and images. You can manage your products from theProductpage of your Shopify admin.
Collections
Your theme's collection pages display thecollectionsthat you create in theProducts>Collectionpage of your Shopify admin. specific products together in categories. You can havesmart collectionsandmanual collections.
By default, collection pages have aCollection bannersection and aProduct gridsection in the theme editor.
Collections list
The collections list page displays all your collections that are available on the Online Store sales channel. For example, if you have a jewelry store, then you can add a link to your collections list page in your menu for customers to browse by the jewelry type, such as rings or necklaces. You'll need to create collections for each category.
Gift card
When you create agift card, or a customer orders a gift card product, the details of that gift card are included on the gift card page, such as the gift card value or balance and redemption code.
The gift card page is part of your theme. You cancustomize your themeto add or adjust the style and information that's included on the gift card page.
The value of the gift card and the gift card redemption code can't be customized.
Pages
You can make custompagesin your Shopify admin to create content for your customers, such as anAbout Us page, or for extra information about your products.
Cart page
The cart page on your online store is where your customers can review the items that they've added to their cart.
By default, the cart page has anItemssection and aSubtotalsection in the theme editor.
Blogs
Blog pages on your online store are the homepage for anyblogsthat you create in your Shopify admin and contain all of the published blog posts in that blog.
By default, blog pages contain aBlog postssection in the theme editor.
Blog posts
Blog post pages on your online store display the content ofblog poststhat you create in theContent>Blog postpage of your Shopify admin. By default, blog post pages contain aBlog postsection in the theme editor.
Search page
The search page is where customers can search for and find specific products, pages, or blog posts within your online store.
By default, the search page contains aSearch resultssection in the theme editor.
As well as theSearch resultssection settings, you can also view and customize some of theTheme Settingsfor search behavior, and you can add your ownsection-specificCustom CSS.
Password page
You can set your store to be password protected in theOnline Store>Preferencepage of your Shopify admin. If your store is password protected, then thepassword pagedisplays to visitors of your online store. The password page template has a unique header and footer. You can customize the password page template from the theme editor.
404 page
The 404 page displays when a customer tries to visit a link to your site that doesn't exist, such as a product page for a product that you deleted from your store.
This page has no customizable settings, but you can add your ownsection-specificCustom CSSto your 404 page in the theme editor.
Edit your templates
You can edit your templates to add sections to your online store. Some sections contain blocks that can be further customized, but not everysection or blockhas settings or content that can be edited. When you edit your templates, your changes display in real time in the theme editor preview.