Atlantic + Flair theme guide for Shopify
By: Pixel Union
This guide includes instructions for setting up Flair badges and Flair banners in the Atlantic theme by Pixel Union.
How to edit your theme
- Visit Shopify Admin > Themes and click ... > Edit code.
Install Flair product badges
On product pages
Edit snippets/product.liquid:
<h1 class="product__title {{ block_classes }}" {{ block.shopify_attributes }}>
{% if onboarding %}
{{ 'onboarding.product_name' | t }}
{% else %}
{{ product.title }}
{% endif %}
</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>
And add line 8.
On collection pages
Edit snippets/product-item.liquid:
<h2 class="title">
{% if onboarding %}
{{ 'onboarding.product_name' | t }}
{% else %}
{{ product.title }}
{% endif %}
</h2>
<div data-flair-product-badge data-product-id={{ product.id }}></div>
And add line 8.
Install Flair banners
Edit sections/static-header.liquid:
<div data-flair-banner></div>
<section class="main-header">
And add line 1.
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