The Whale Creative

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.

TemplateUsed forSections in the preset
Home pageYour home pageSlideshow, Statement, Image banner, Featured collection, Blog posts, Image banner
Products: Default productEvery productProduct information, Related products
Collections: Default collectionEvery collectionPage banner, Collection
Collections listThe page that lists all collectionsCollections list page
SearchSearch resultsSearch results
CartThe cart pageCart
Blogs: Default blogEvery blogPage banner, Blog (Mosaic layout)
Blog posts: Default blog postEvery blog postBlog post (Letter layout), Sign-off, Contact form
Pages: Default pageEvery pagePage (the page title and content)
404 pageBroken linksPage not found
PasswordThe page shown while your store is password protectedPassword 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 give some pages a different layout. Each one starts with the sections listed below, and you can change them like any other template.

Template namePage typeSections in the preset
roomProductPage banner, Back button, Text with side label, Product information, Image gallery, Image banner
stayCollectionPage banner, Collection
lettersBlogPage banner, Blog (Letters layout), Contact form
storyBlog postBack button, Page banner, Text with side label, Image gallery
pressPagePage banner, Press list, Rich text, Image banner
studioPagePage banner, Image with text, Rich text, Image with text overlay, Image with text, Statement
contactPagePage banner, Text with side label, Contact form
privacyPagePage banner, Text with side label

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:

MetafieldShown inSetting
custom.placePage bannerLabel
custom.headlineText with side labelHeading
custom.subheadText with side labelSubheading
custom.creditText with side labelClosing 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.

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.

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.

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.

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.

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.

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.

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.

Fernhollow 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.

MetafieldOwnerTypeWhere the demo store uses it
custom.placeProductSingle line textroom template banner label, card captions in the stay template and in the home page Featured collection
custom.headlineProductSingle line textroom template heading
custom.subheadProductSingle line textroom template subheading
custom.creditProductSingle line textroom template closing note
custom.subtitleProductSingle line textDefault collection template card captions
custom.issueBlog postSingle line textIssue 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.

Only templates from your published theme appear in the Shopify admin. Publish Fernhollow before you assign its alternate templates.

  1. In your Shopify admin, go to Products and click the product.
  2. In the Theme template section, choose the template.
  3. Click Save.
  1. Go to Products > Collections and click the collection.
  2. In the Theme template section, choose the template.
  3. Click Save.
  1. Go to Online Store > Pages and click the page.
  2. In the Online store section, choose the template from the Theme template drop-down menu.
  3. Click Save.
  1. Go to Content > Blog posts and click Manage blogs.
  2. Click the blog.
  3. In the Online store section, choose the template from the Theme template drop-down menu.
  4. Click Save.
  1. Go to Content > Blog posts and click the post.
  2. In the Online store section, choose the template from the Theme template drop-down menu.
  3. 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.

  1. Open the theme editor.
  2. Open the drop-down menu at the top, choose a page type and click Create template.
  3. Enter a name.
  4. In Based on, choose the template to copy.
  5. 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.

·

Contact Fernhollow support