Streamline + Flair theme guide for Shopify
By: Archetype Themes
This guide includes instructions for setting up Flair badges and Flair banners in the Streamline theme by Archetype Themes.
How to edit your theme
- Visit Shopify Admin > Themes and click ... > Edit code.
Install Flair product badges
On product pages
Edit snippets/product-template.liquid:
{%- if isModal -%}
<p class="h1 product-single__title">
{{ product.title }}
</p>
{%- else -%}
<h1 class="h1 product-single__title">
{{ product.title }}
</h1>
{%- endif -%}
<div data-flair-product-badge data-product-id={{ product.id }}></div>
And add line 10.
On collection pages
Edit snippets/product-grid-item.liquid:
<div class="grid-product__price">
...
</div>
<div data-flair-product-badge data-product-id={{ product.id }}></div>
And add line 4.
Flair banners
-
Open layout/theme.liquid.
-
Find the line containing:
<body>
And add this after it:
Flair Gen 3<flair-banners></flair-banners>
Flair Gen 2<div data-flair-banner></div>
-
Click Save.
Additional Resources
- Flair badge layout guide - additional badge options including: multi-promotions, multiple badges, spacing and alignment, variant badges, and more
- Flair banner layout guide - additional banner options including: multi-promotions, spacing, and more