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
<!-- Ajax API --> | |
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | script_tag }} | |
{{ 'api.jquery.js' | shopify_asset_url | script_tag }} | |
<style type="text/css"> | |
#rv__recent_products.rv__grid{width: 100%; margin-top: 20px;} | |
.rv__grid .row{ display: block; clear: both;} | |
.rv__grid .rv__row .rv__column{ float: left; } | |
.rv__grid .rv__row .rv__column.rv__one{ width: 8.3%; } | |
.rv__grid .rv__row .rv__column.rv__two{ width: 16.66%; } |
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
<!-- add the vendor as product tag to product then use this code in collection.liquid --> | |
<!-- if we are on a collection page that is either custom or smart --> | |
{% if collection.url != blank %} | |
<h4>Shop by vendor:</h4> | |
<ul> | |
{% for product_vendor in collection.all_vendors %} | |
<li> | |
{% if current_tags contains product_vendor %} | |
<a class="active" href="{{ collection.url }}">{{ product_vendor }}</a> | |
{% else %} |
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
{ | |
"name": "Youtube", | |
"settings":[ | |
{ | |
"type": "header", | |
"content": "Youtube Section" | |
}, | |
{ | |
"type": "text", | |
"id": "youtube_video_link", |
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
@media (max-width: 768px) { | |
.btn-responsive { | |
padding:2px 4px; | |
font-size:80%; | |
line-height: 1; | |
border-radius:3px; | |
} | |
} | |
@media (min-width: 769px) and (max-width: 992px) { |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
span{ | |
display: inline-block; | |
width: 24px; | |
height: 20px; |
NewerOlder