Fluorescent
Stiletto
Stiletto
  • Stiletto Help Center
    • Start using Stiletto
      • Theme licenses
      • Migrate your theme
    • FAQs
    • Video tutorials
    • Changelog
  • General
    • Editing themes
      • Adding sections
      • Using templates
      • Accessibility
      • Customizing your site
      • SEO for Shopify themes
      • H1 heading tags
      • Online store speed
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • Adapting theme content
      • Edit default theme content
      • Multiple languages
      • Dynamic content with metafields
      • Unique content for markets
    • Update your theme
  • Theme styles
    • Theme settings
    • Style presets
      • Demo layouts
    • Fonts
    • Colors
    • Animation
  • Pages
    • Templates
      • About page
      • Blog page
      • Blog posts
      • Collections list
      • Contact page
      • Customer accounts
      • FAQ page
      • Lookbook
      • Password page
      • Search page
      • Store locations
      • 404 page
      • Home page
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menus
      • Mobile menu
      • Quick search
      • Language and currency
      • Social media icons
      • Customer account icon
    • Footer
      • Links block
      • Newsletter block
      • Text and image block
      • Language and currency
      • Payment icons
      • Custom Liquid
  • Sections
    • Theme sections
      • Using sections
      • Content blocks
      • Blog posts
      • Collapsible row list
      • Collection list grid
      • Collection list slider
      • Complete the look
      • Contact form
      • Countdown banner
      • Countdown bar
      • Events
      • Featured collection grid
      • Featured collection slider
      • Featured product
      • Gallery carousel
      • Grid
      • Image compare
      • Image hero
      • Image hero split
      • Image with text
      • Image with text split
      • Multi column
      • Newsletter
      • Newsletter compact
      • Promotion banner
      • Promotion bar
      • Quotes
      • Recently viewed products
      • Rich text
      • Sales banner
      • Scrolling content
      • Shoppable image
      • Shoppable image editorial
      • Slideshow
      • Testimonials
      • Video
      • Video hero
      • Video with text
    • Popups
      • Sign up popup
      • Age verification
      • Countdown popup
      • Promotional popup
  • Products
    • Product listings
      • Product card style
    • Prices and discounts
    • Product badges
    • Quick shop
  • Product pages
    • Product template
      • Alternate templates
      • Pre-order template
      • Gift card
    • Layout and style
      • Product tabs
      • Media gallery
      • Sticky product details
      • Breadcrumbs
      • Navigation buttons
    • Overview blocks
      • Default blocks
        • Description
        • Product header
        • Variant selector
        • Quantity selector
        • Buy buttons
        • Local pickup banner
        • Share icons
        • Sticky add-to-cart bar
      • Collapsible rows block
      • Complementary products
      • Custom options
      • Image block
      • Information popup
      • Product labels
      • Secure payment
      • Stock level indicator
      • Text block
      • Text list with icons
      • App blocks
    • Variant options
      • Variant chips
      • Variant swatches
        • Enable swatches
        • Use default colors
        • Use custom colors
        • Use variant images
        • Use custom images
        • Change swatch styles
        • Show on product cards
        • Dynamic option availability
      • Media grouping
      • Sibling product swatches
    • Product page sections
      • Product reviews
      • Product recommendations
  • Collection pages
    • Collection template
      • Collection landing
      • Sale collection
      • Subcollections
      • Flash sale
    • Banner
    • Product grid
    • Filters and sorting
  • Cart
    • Cart page
    • Quick cart
      • Added to cart popup
      • Empty cart promotion
    • Free shipping bar
    • Low inventory warning
    • Cross sells
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • For developers
    • Custom CSS
    • Custom fonts
    • Custom Liquid
    • Custom JavaScript events
    • Edit Theme JavaScript
Powered by GitBook
On this page
  • Open templates
  • Preview changes
  • Assign templates to pages
  • Create and assign multiple templates
  • Assign templates from unpublished theme

Was this helpful?

  1. General
  2. Editing themes

Using templates

Last updated 4 months ago

Was this helpful?

Your online store consists of different types of pages, including: the home page, product pages, collection pages, blogs, and other pages.

Pages are designed using templates. In the theme editor, you change the look and layout of your pages by editing their assigned templates.

  • There are default templates for each type of page. Editing a default template will apply the same layout to all pages that use that template.

  • To use different layouts for specific pages, create new templates, then assign those templates to your pages in the Shopify admin.

Open templates


Use the Templates selector in the theme editor to find the templates available for each page type. By default, the theme editor opens the Home page template.

See the for a full overview of all available templates.

Preview changes


When you open a template, the theme editor selects a page (e.g. one product or collection) to preview the changes made to that template.

  • Click Change in the "PREVIEW" section to view a different page with that template.

  • To view a full preview of the live site, click more … > Preview. The preview will open in a new window, and you can click Share preview to copy the preview link to share with others.

Assign templates to pages


If a warning symbol (!) appears next to the page name, this means that the template you are editing is not applied to that page. Go to the page in the Shopify admin and use the Theme template menu to assign a template.

Create and assign multiple templates


At first, there is one Default template for every type of page. This means that changes made to a default template will apply to all pages that use that template.

To change the content or style of specific pages, you will need to create a new template and then assign that template to those pages in the Shopify Admin.

STEPS

In your theme editor (Customize):

  1. Use the Templates selector to open the Products, Collections, Pages, Blogs, or Blog posts templates.

  2. Click Create template.

  3. Enter a Name for your new template and click Create template.

    The new template will duplicate the settings of the original template.

  4. Under Preview, click Change to preview different pages with this template.

    If a warning icon (!) appears, you need to assign the template in your Shopify admin.

  5. To assign a template, go to the page in the Shopify admin and use the Theme template menu to select a specific template.

    Templates cannot be assigned on unpublished or trial themes. All changes to your templates will be saved but can only be assigned when purchased and published.

  6. Click Save.

Assign templates from unpublished theme


Shopify only allows you to assign templates from your published theme. Shopify will not show templates from unpublished themes, unless they have the same name as the published theme’s templates.

As a workaround, you can create a duplicate template in the published theme and give it the same name as the template from the unpublished theme.

This new template will show in the Shopify admin and assigning it will apply the template to both themes.

STEPS
  1. Open the theme editor for your published theme (Customize).

  2. Use the template selector to find your currently assigned template.

  3. Click (+) Create template.

  4. Enter the exact same Name as the template in your unpublished theme.

  5. Select the current template that the new template should be based on.

    This will duplicate everything in the current template and will ensure nothing changes in your current theme when you assign the new template.

  6. Click Create template.

In your Shopify admin:

  1. Go to the page you want to assign the template to.

  2. Click the template dropdown and select your template.

  3. Click Save


Related links

By default, templates from trial or unpublished themes will not show in the page's template menu. As a workaround, learn how to .

Alternatively, you can use to automatically display the correct content or settings for pages that use the same template.

For products and collections, you can to more than one at a time.

Theme templates guide
Metafields and dynamic sources
use the bulk editor to assign templates ↗
Theme templates
assign templates from an unpublished theme
Template selector in published theme
New template name that matches the unpublished theme
Template in the unpublished theme