Templates
A template sets which sections a type of page shows. Fernhollow has a default template for each page type and 8 alternate templates. You can edit all of them in the theme editor and create your own.
To edit a template, open the theme editor and choose the template from the drop-down menu at the top of the editor.
Default templates
Link to this section: Default templates| Template | Used for | Sections in the preset |
|---|---|---|
| Home page | Your home page | Slideshow, Statement, Image banner, Featured collection, Blog posts, Image banner |
| Products: Default product | Every product | Product information, Related products |
| Collections: Default collection | Every collection | Page banner, Collection |
| Collections list | The page that lists all collections | Collections list page |
| Search | Search results | Search results |
| Cart | The cart page | Cart |
| Blogs: Default blog | Every blog | Page banner, Blog (Mosaic layout) |
| Blog posts: Default blog post | Every blog post | Blog post (Letter layout), Sign-off, Contact form |
| Pages: Default page | Every page | Page (the page title and content) |
| 404 page | Broken links | Page not found |
| Password | The page shown while your store is password protected | Password page |
Other templates:
- Gift card: The page customers see when they open a gift card. It shows your logo, the gift card value and code, and a QR code. It has no settings in the theme editor. It uses your Logo and Logo width from Theme settings.
- Customer account pages: Log in, Create account, Account, Addresses, Order, Activate account and Reset password. These are used with legacy customer accounts. See Customer account sections.
Alternate templates
Link to this section: Alternate templatesAlternate templates give some pages a different layout. Each one starts with the sections listed below, and you can change them like any other template.
| Template name | Page type | Sections in the preset |
|---|---|---|
| room | Product | Page banner, Back button, Text with side label, Product information, Image gallery, Image banner |
| stay | Collection | Page banner, Collection |
| letters | Blog | Page banner, Blog (Letters layout), Contact form |
| story | Blog post | Back button, Page banner, Text with side label, Image gallery |
| press | Page | Page banner, Press list, Rich text, Image banner |
| studio | Page | Page banner, Image with text, Rich text, Image with text overlay, Image with text, Statement |
| contact | Page | Page banner, Text with side label, Contact form |
| privacy | Page | Page banner, Text with side label |
room (product)
Link to this section: room (product)A product page laid out as a story. It works well for products that customers read about before they buy, such as rooms, stays, services or one-off pieces.
- Page banner shows the product image full width and the product title as moving script text. Its Label starts empty.
- Back button returns to the collection the product was opened from.
- Text with side label shows the product description. Its Heading, Subheading and Closing note start empty.
- Product information has its media hidden. It shows a short label, the price, the variant picker, the quantity selector and the buy buttons.
- Image gallery shows the product's images in rows and skips the first image, which is already in the banner.
- Image banner links to the next product in the collection.
In the demo store, these settings are connected to product metafields, so each product shows its own text:
| Metafield | Shown in | Setting |
|---|---|---|
| custom.place | Page banner | Label |
| custom.headline | Text with side label | Heading |
| custom.subhead | Text with side label | Subheading |
| custom.credit | Text with side label | Closing note |
To do the same, create these definitions with the type Single line text and fill them in on each product. Then select the setting and connect the metafield with the connect dynamic source button. You can also type the same text for every product.
The Image banner section uses the stay collection from the demo store in its Collection for the next product setting. Choose one of your own collections there.
stay (collection)
Link to this section: stay (collection)A collection page with a full-width banner (the collection title, and the collection image when no banner image is selected), the collection description, and product cards with the image, title and price. To hide prices, for rooms or services sold on request, set Card style to Image, title and caption. Caption under the title starts at None. The demo store shows the product metafield custom.place as the caption: set Caption under the title to Product metafield and enter custom.place, or a key of your own, in Caption metafield. Filters are turned off. The preset includes quote and link cards placed between the products.
letters (blog)
Link to this section: letters (blog)A blog page with the Letters layout: the newest post large, then square images with the text below. A contact form with two panels follows the posts. Posts load with a Load more button.
story (blog post)
Link to this section: story (blog post)A blog post laid out as a photo story. The Page banner uses the Story layout and the full screen height, shows the publish date and uses the blog post image. Text with side label shows the post content. Image gallery shows six image blocks. Replace these images with your own for each post that uses this template.
press (page)
Link to this section: press (page)A press page with a Press list of 10 items, a Rich text section with side images, and an Image banner. The page content you write in the admin is not shown on this template. Edit the text in the sections instead.
studio (page)
Link to this section: studio (page)An about page with two Image with text sections in the side by side layout, a Rich text section, an Image with text overlay section and a closing Statement. The page content you write in the admin is not shown on this template.
contact (page)
Link to this section: contact (page)A contact page with a Page banner, a Text with side label section and a Contact form in the two panels layout, with a sign-off below. The banner shows the page title and the text section shows the page content you write in the admin. Messages are sent to your store's sender email address. Edit the form heading and text in the Contact form section.
privacy (page)
Link to this section: privacy (page)A page for policies and other long text. The Page banner shows the page title as moving script text. Text with side label shows the page content you write in the admin, with a dated side label. Change the side label when you update the page.
Metafields used by Fernhollow
Link to this section: Metafields used by FernhollowFernhollow reads one metafield on its own: custom.issue on blog posts. The other metafields below are used by the demo store and are optional. In a new install, the settings that show them start empty or set to None.
Create the definitions in your Shopify admin under Settings > Metafields and metaobjects, or from the Metafields section of a product or blog post.
| Metafield | Owner | Type | Where the demo store uses it |
|---|---|---|---|
| custom.place | Product | Single line text | room template banner label, card captions in the stay template and in the home page Featured collection |
| custom.headline | Product | Single line text | room template heading |
| custom.subhead | Product | Single line text | room template subheading |
| custom.credit | Product | Single line text | room template closing note |
| custom.subtitle | Product | Single line text | Default collection template card captions |
| custom.issue | Blog post | Single line text | Issue numbers in Blog, Blog posts and Blog post |
You can use other metafields. In the Collection and Featured collection sections, enter any namespace and key in Caption metafield. In other settings, use the connect dynamic source button next to the setting.
When a blog post has no custom.issue value, Fernhollow uses a running number instead.
Assign a template
Link to this section: Assign a templateOnly templates from your published theme appear in the Shopify admin. Publish Fernhollow before you assign its alternate templates.
- In your Shopify admin, go to Products and click the product.
- In the Theme template section, choose the template.
- Click Save.
Collection
Link to this section: Collection- Go to Products > Collections and click the collection.
- In the Theme template section, choose the template.
- Click Save.
- Go to Online Store > Pages and click the page.
- In the Online store section, choose the template from the Theme template drop-down menu.
- Click Save.
- Go to Content > Blog posts and click Manage blogs.
- Click the blog.
- In the Online store section, choose the template from the Theme template drop-down menu.
- Click Save.
Blog post
Link to this section: Blog post- Go to Content > Blog posts and click the post.
- In the Online store section, choose the template from the Theme template drop-down menu.
- Click Save.
To change the template of many products or collections at once, use the bulk editor: select the items, click Bulk edit, add the Template column and choose the template.
Create your own template
Link to this section: Create your own template- Open the theme editor.
- Open the drop-down menu at the top, choose a page type and click Create template.
- Enter a name.
- In Based on, choose the template to copy.
- Click Create template.
The new template appears in the Theme template menu in your admin once the theme is published.
For example, create a product template for products that need a size chart. See Size charts.