Skip to content

Instantly share code, notes, and snippets.

@majedur-rahaman
majedur-rahaman / gist:7332b289b727ce967479b4601dee7be5
Created November 14, 2020 17:58 — forked from carolineschnapp/gist:9122054
Order form to use in a page or collection template.
{% comment %}
Source: https://gist.github.com/carolineschnapp/9122054
If you are not on a collection page, do define which collection to use in the order form.
Use the following assign statement, replace 'your-collection-handle-here' with your collection handle.
{% assign collection = collections.your-collection-handle-here %}
Use the assign statement outside of this comment block at the top of your template.
{% endcomment %}
{% paginate collection.products by 100 %}
@majedur-rahaman
majedur-rahaman / instafeed-3.6.4.css
Created May 16, 2020 09:50
instafeed-3.6.4 css file
#insta-feed a,.instafeed-shopify a{border:none!important;position:static;display:inline;padding:0;z-index:999999}#insta-feed,.instafeed-shopify{text-align:center;clear:both}#insta-feed a:focus,#insta-feed a:hover,.instafeed-shopify a:focus,.instafeed-shopify a:hover{opacity:1!important}#insta-feed a:after,.instafeed-shopify a:after{border:none}#insta-feed .instafeed-container:hover .instafeed-overlay,.instafeed-shopify .instafeed-container:hover .instafeed-overlay{opacity:1}#insta-feed img,.instafeed-shopify img{max-width:none;object-fit:cover;position:absolute;top:0;left:0;bottom:0;right:0;margin:0 auto;width:100%;height:100%;border-radius:0;transform:initial}#insta-feed .instafeed-container,.instafeed-shopify .instafeed-container{display:inline-block;position:relative;vertical-align:top;padding:0;color:#fff}#insta-feed .instafeed-overlay,.instafeed-shopify .instafeed-overlay{opacity:0;position:absolute;background-color:transparent;top:0;left:0;bottom:0;right:0;width:100%;height:100%;margin:0 auto;transition
@majedur-rahaman
majedur-rahaman / vendor.js
Created May 16, 2020 09:47
Custom vendor js for bigcartel store
/*!
* enquire.min.js
*/
/*!
* enquire.js v2.1.2 - Awesome Media Queries in JavaScript
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/enquire.js
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
!function(e,t,n){var i=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=n(i):"function"==typeof define&&define.amd?define(function(){return t[e]=n(i)}):t[e]=n(i)}("enquire",this,function(e){"use strict";function t(e,t){var n,i=0,o=e.length;for(i;o>i&&(n=t(e[i],i),n!==!1);i++);}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)}function i(e){return"function"==typeof e}function o(e){this.options=e,!e.deferSetup&&this.setup()}function r(t,n){this.query=t,this.isUnconditional=n,this.handlers=[],this.mql=e(t);var i=this;this.listener=function(e){i.mql=e,i.assess()},this.mql.addListener(this.listener)}function s(){if(!e)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=
@majedur-rahaman
majedur-rahaman / theme.js
Created May 16, 2020 09:45
Custom js for bigcartel store
window.theme = window.theme || {};
/* ================ SLATE ================ */
window.theme = window.theme || {};
theme.Sections = function Sections() {
this.constructors = {};
this.instances = [];
$(document)
@majedur-rahaman
majedur-rahaman / theme.css
Last active May 16, 2020 09:46
custom theme css for bigcartel store
@font-face{font-family:Helvetica;font-weight:300;font-style:normal;src:url("https://fonts.shopifycdn.com/helvetica/helvetica_n3.e01288c0d2e8e4f4101819b750499a38c41ed953.woff2?h1=bGFzaGRyZWFtcy5jb20&h2=c2hvcGxhc2hkcmVhbXMuY29t&hmac=2a3d06d0c3f2ca820d4816999f59f753d8b0065bed5213d5cc2f4ff670512a2c") format("woff2"),url("https://fonts.shopifycdn.com/helvetica/helvetica_n3.689236138e1e3e1b03386488943f79b29e240af5.woff?h1=bGFzaGRyZWFtcy5jb20&h2=c2hvcGxhc2hkcmVhbXMuY29t&hmac=2fe003dca53e443802d5f8d4d7fb419f96ba118d6653f6ba60b3427f9219879d") format("woff")}@font-face{font-family:Helvetica;font-weight:400;font-style:normal;src:url("https://fonts.shopifycdn.com/helvetica/helvetica_n4.fe093fe9ca22a15354813c912484945a36b79146.woff2?h1=bGFzaGRyZWFtcy5jb20&h2=c2hvcGxhc2hkcmVhbXMuY29t&hmac=286e6a0973b79f6056c748e335a20e487618b1272ca56c8e29bd44c01874ac33") format("woff2"),url("https://fonts.shopifycdn.com/helvetica/helvetica_n4.8bddb85c18a0094c427a9bf65dee963ad88de4e8.woff?h1=bGFzaGRyZWFtcy5jb20&h2=c2hvcGxhc2hkcmVhbXMuY29t&h