Structure of a theme

Although each theme is different, all themes share some common features. With all themes, you can use the same types of pages, and the pages all include some standard elements. The following page elements and page types make up a theme's structure.

Page elements

All pages of a theme include the following page elements:

Element Description
Body The area on every page of your online store between the header and the footer. Unlike the header and footer, which are fixed elements that remain the same on every page, the body of the page is dynamic, and contains content that changes depending on the page that you are on.
Footer The content container that appears at the bottom of every page of your store. The footer might include menus, social media icons, contact information, or a newsletter signup.
Header The content container that appears at the top of each page of your store. The header usually includes your store's name, your logo, main menu navigation, and cart icon.
Navigation A menu or a series of menus that provide a way for customers to explore or move around your online store. The main menu navigation is included in the header of a theme.

Page types

All themes include the following types of pages:

Page Description
Article The article page includes the content of a single blog article.
Blog The blog page includes the title and description of your blog, as well as excerpts and links to your blog articles.
Cart The cart page shows a summary of all of the products that a customer has added to the cart, a subtotal and a total price for the order, and a Checkout button that directs customers to Shopify's secure checkout pages. When no products have been added, the empty cart page shows a Continue shopping link that takes customers back to view your products.
Collection To keep your products organized and easy for customers to find, you can group them into categories, known as collections. The collection page showcases all of the products that are included in a given collection.
Collection list The collection list page shows all of the collections in your store. This page can be found at the URL `your-store.com/collections`.
Contact The contact page includes a built-in contact form that allows customers to get in touch with you.
Custom A custom page is any page that you create in the Pages section of the admin.
Customer Customer pages are only accessible if you have customer accounts enabled in the Settings > Checkout area of the admin. They include the customer registration page, the customer login page, and the customer account page. The customer account page includes the customer's shipping address and information about any existing orders.
Home The home page is the main page of your online store. This is the default page that opens when a customer visits your website.
Password The password page is a single page banner that you can use temporarily, such as before you open your store, or while you're on vacation. On the password page, you can include information about your store's expected launch date, the kinds of products that you will sell, recent media coverage, or details about an upcoming sale. There is an email field that customers can use if they would like to receive newsletters from your store in the future.
Product The product page showcases a product and its variants, and includes product images, pricing information, a product description, and an Add to cart button.
Search The search page includes a search bar and a list of search results.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free