Skip to content

Instantly share code, notes, and snippets.

View fairy-code-mother's full-sized avatar

Alyssa Williams fairy-code-mother

View GitHub Profile

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@fairy-code-mother
fairy-code-mother / custom-collection-blocks.liquid
Created October 15, 2019 19:21
Fashionopolism Custom Collection Blocks
<div data-section-id="{{ section.id }}" class="collection-template" data-section-type="collection-page">
{% for block in section.blocks %}
<div class="collection-section">
{% case block.type %}
{% when 'collection_title' %}
<section id="collection-section-{{ block.id }}" class="col-section collection-title" style="text-align: {{ block.settings.pt_align }};" data-section-id="{{ block.id }}" {{ block.shopify_attributes }}>
<div class="row">
<h1>{{ collection.title }}</h1>
</div>
@fairy-code-mother
fairy-code-mother / custom-collection-one.liquid
Created October 15, 2019 19:19
Fashionopolism Custom Collection
{% include 'custom-collection-blocks' %}
{% schema %}
{
"name": "Custom Collection One",
"max_blocks": 12,
"settings": [
],
"blocks":[
{
"type": "collection_title",
your css selector here { font-family: "NAME OF FONT" !important; }
@font-face {
font-family: "NAME OF FONT";
src: url("NAME-OF-FONT-FILE.woff2") format("woff2"),
url("NAME-OF-FONT-FILE.woff") format("woff");
}
@fairy-code-mother
fairy-code-mother / page.subscribe.liquid
Created January 21, 2019 18:05
Subscribe Page Template
<div class="section-title desktop-12 mobile-3">
<h1>{{ page.title }}</h1>
</div>
<div class="desktop-8 desktop-push-2 rte">
{{ page.content }}
</div>
<div class="desktop-6 desktop-push-3 tablet-4 mobile-3">
<h3>{{ 'layout.homepage.mailing_list_join' | t }}</h3>
<p>{{ 'layout.homepage.mailing_list_text' | t }}</p>
<!-- BEGIN #subs-container -->
@fairy-code-mother
fairy-code-mother / mrp-rte-accordion.html
Created November 5, 2018 21:17
MR P RTE ACCORDION
<div class="rte-accordion row">
<div class="item">
<input class="trigger" id="item-one" type="checkbox" name="items" />
<label class="accordion-label" for="item-one"><span class="item-heading">Label One</span></label>
<div class="item-content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tenetur, architecto, explicabo perferendis nostrum, maxime impedit atque odit sunt pariatur illo obcaecati soluta molestias iure facere dolorum adipisci eum? Saepe, itaque.</p>
</div>
</div>
<div class="item">
<input class="trigger" id="item-two" type="checkbox" name="items" />
@fairy-code-mother
fairy-code-mother / product-shortcodes.html
Created November 1, 2018 20:08
Product Shortcodes for Mr Parker 6.5+
[#size]
INSERT A SIZE CHART IMAGE OR TABLE OR TEXT HERE
[/size]
[#video]
USE THE VIDEO INSERT BUTTON TO INSERT A PRODUCT VIDEO HERE
[/video]
[#other]
INSERT TEXT OR IMAGE HERE GREAT FOR MORE PRODUCT INFO OR DETAILS
@fairy-code-mother
fairy-code-mother / collection-banner.html
Created November 1, 2018 02:34
Mr Parker Banner w/Caption
[#banner_image]
INSERT IMAGE (ORIGINAL SIZE) HERE
[/banner_image]
[#banner_caption]
TYPE A HEADING 1 or HEADING 2
WITH PARAGRAPH TEXT FOR A CAPTION
@fairy-code-mother
fairy-code-mother / rte-masonry-gutters.html
Created August 6, 2018 18:19
RTE: Masonry Gallery with Gutters
<div class="rte-masonry gutter row">
<div class="item">
<img src="http://via.placeholder.com/400x600" alt="" />
</div>
<div class="item">
<img src="http://via.placeholder.com/400x400" alt="" />
</div>
<div class="item">
<img src="http://via.placeholder.com/400x500" alt="" />
</div>