This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var links = document.links; | |
for (var i = 0, linksLength = links.length; i < linksLength; i++) { | |
if (links[i].hostname != window.location.hostname) { | |
links[i].target = '_blank'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid"> | |
<div class="grid__item one-half medium-down--one-whole"> | |
<p>One Half<br> | |
One Whole (medium down)</p> | |
</div> | |
<div class="grid__item one-half medium-down--one-whole"> | |
<p>One Half<br> | |
One Whole (medium down)</p> | |
</div> | |
<div class="grid__item one-quarter large--one-half medium-down--one-whole"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
window.addEventListener('DOMContentLoaded', function() { | |
(function ($) { | |
var $instagramSection = $('.instagram-collection'); | |
var loadImages = function($container, data, imageCount){ | |
for (var i = 0; i < imageCount; i++) { | |
var images = data.data[i].images, | |
// Thumbnail | |
thumbnail = images.thumbnail.url, | |
thumbnailWidth = images.thumbnail.width, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change to make in theme.liquid | |
It adds a canonical tag for tag-filtered pages, back to the base collection/blog page. | |
*** Find this is the standard canonical tag code: *** | |
<link rel="canonical" href="{{ canonical_url }}" /> | |
*** Completely replace it with this: *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.collection aside nav.tags ul { | |
max-height: 300px; | |
overflow: scroll; | |
} | |
.collection aside nav.tags li { | |
display: block; | |
} | |
.collection aside nav.tags li a { | |
background: transparent; | |
box-shadow: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- /templates/page.liquid --> | |
<section class="page page-top"> | |
<div class="wrapper"> | |
<header class="content-util"> | |
{% include 'breadcrumb' %} | |
{% include 'social-icons' %} | |
</header> | |
<header class="page-header"> | |
<h1>{{ page.title }}</h1> | |
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="cart-block__attributes flex items-center space-x-2 justify-center md:justify-end"> | |
<input form="cart" type="hidden" name="attributes[Gift]" value="No"> | |
<input id="Cart-Attribute-Gift" form="cart" type="checkbox" name="attributes[Gift]" value="Yes"{% if cart.attributes["Gift"] == "Yes" %} checked{% endif %}> | |
<label for="Cart-Attribute-Gift" class="text-primary-text p-0 text-sm font-body font-weight-body normal-case tracking-normal">Is this a gift?</label> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign current_variant = product.selected_or_first_available_variant %} | |
<span class="variant-sku">{{ current_variant.sku }}</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="cart-block__attributes flex items-center space-x-2 justify-center md:justify-end"> | |
<input id="Cart-Attribute-Birthday" form="cart" type="date" name="attributes[Birthday]" value=""> | |
<label for="Cart-Attribute-Birthday" class="text-primary-text p-0 text-sm font-body font-weight-body normal-case tracking-normal">Birthday</label> | |
</div> |