Unicorn Shopify Theme
  • Getting Started
  • Demo
  • Section Groups
    • Header
      • Menu icons
      • Badges
      • Popup menu
      • Image with button (Mobile)
      • Featured promotion (Mobile)
      • Contacts
    • Cart drawer
    • Search popup
    • Mega menu
      • Menu
      • Image with button
      • Featured promotion
      • Custom HTML
      • Empty column
      • Badges
    • Footer
      • Menu
      • Text
    • Popups
  • Dynamic Theme Sections
    • Before/after image
    • Blog posts
    • Brand list
    • Collage
      • Image
      • Collection products
      • Video
    • Collage of images
      • Image
      • List item
    • Collection list
    • Collection slider
    • Contact form
    • Countdown timer
    • Custom Liquid
    • Email signup
      • Heading
      • Subheading
      • Email form
    • FAQ
    • Featured collage
      • Product
      • Image
    • Featured collection
    • Featured collections
    • Featured product
    • Featured promotions
      • Content, Text on image
      • Content, Text below the image
      • Content, Button on image
    • Image with text overlay
      • Second image
      • Mobile settings
      • Heading
      • Text and Custom HTML
      • Buttons
    • Image gallery
    • Lookbook
    • Map
    • Media
    • Multicolumn
    • Page
    • Popup
      • Image
      • Text
      • Newsletter form
      • Buttons
      • Social media
      • Time countdown
      • Collection
      • Promotional code
    • Reels
    • Rich text
      • Heading
      • Text
      • Button
    • Slideshow
    • Tags
    • Testimonials
    • Ticker
  • Page Categories
    • Products
      • Product information
      • Product recommendations
    • Collections
      • Collection banner
      • Product grid
    • Collections list
    • Cart
    • Blogs
    • Blog posts
    • Search
    • Password
      • Email signup
    • 404 page
  • Theme Settings
    • Top bars
    • Header and Logo
    • Colors
    • Typography
    • Layout
    • Styles
    • Product
    • Variant picker
    • Social media
    • Search
    • Favicon
    • Currency format
    • Cart
    • Popups
    • Performance
    • Advanced settings
    • Custom CSS
    • Theme style
  • SVG Icons
  • FAQ
    • How to customize Metafields
    • How to group product images by variants?
    • How to create a template?
    • How to create webpages?
    • How to set up filters?
    • Understanding of metaobjects and their use in a store
Powered by GitBook
On this page
  1. FAQ

How to create a template?

Use the functionality of the templates to create unique content for each page.

PreviousHow to group product images by variants?NextHow to create webpages?

Last updated 1 month ago

Note! The template functionality works only in the published theme.

Templates can be used on several page types such as , , , , and . Find more details on the following functionality .

You can also follow the general steps to create a new template:

Step 1

Go to the Theme Editor and choose a page type in the top selector for which the template should be created:

Step 2

Then, press the button "Create template":

Step 3

In the popup, you can edit such fields:

  • Name - paste the non-repeated name for the template.

  • Based on - use any template on which a new one should be based. It can be the default template or a new template previously created in your store.

After editing the fields, press the "Create template" button.

Step 4

Go to Shopify admin to assign the template to the appropriate page.

  • To assign a template to a Product page, go to Shopify admin -> Products, and choose a product. Here you can set a template in the "Theme template" drop-down:

Save the changes.

  • If you need to use a template for a Collection page, go to Shopify admin -> Products -> Collections, and choose a collection. Here you can assign a template in the "Theme template" drop-down:

Save the changes.

  • In your Shopify admin -> Content -> Blog posts, choose the Blog post and press on it. Here you can apply a template by choosing the one in the "Theme template" drop-down:

Save the changes.

  • In the "Blog posts" section of your admin, you can also assign a template for a Blog. To set up a template, press the "Manage blogs" button at the top right and select a blog. Then, follow the same steps as before.

In the next step, you can use the "Theme template" drop-down to add a template:

Save the changes.

  • To assign a template to a Page, navigate to Shopify admin -> Online Store -> Pages, and choose a page. Then, select the created template in the "Theme template" drop-down:

Save the changes.

Step 5

Now you can go back to the Theme Editor and customize a template. With this functionality, you can customize each template by adding various sections and blocks independently. Use the Theme Sections to customize a template. Read more on how to add and edit each section, .

here
Products
Collections
Blogs
Blog posts
Pages
here