Pacific by Pixel Union

Here are the instructions to install Flair on the Pacific theme made by Pixel Union.

How to edit your theme

  • Visit Shopify Admin > Themes and click Actions > Edit code.

Install Flair product badges

On product pages

Edit snippets/product-blocks.liquid:

{% else %}
{{ product.title }}
{% endif %}
</{{ heading_element }}>
<div data-flair-product-badge data-product-id={{ }}></div>

And add line 5.

On collection pages

Edit snippets/product-list-item.liquid:

<{{ elementType }} class="product-list-item">
<div data-flair-product-badge data-product-id={{ }}></div>

And add line 2.

For best results, you will need to use a badge layout that is absolutely positioned.

Install Flair banners

Edit layout/theme.liquid:

<div data-flair-banner></div>
{{ content_for_layout }}

And add line 1.

For best results for Flair banners, we recommend disabling "Sticky Header". Navigate to: Customizer > Header > Enable sticky header

Additional Resources