Skip to content

Instantly share code, notes, and snippets.

View whistlerbrad's full-sized avatar

Brad whistlerbrad

View GitHub Profile
@whistlerbrad
whistlerbrad / settings_data.json
Created June 5, 2018 21:26
Pipeline 4.1 settings_data.json
{
"current": {
"color_account_bg": "#dddddd",
"color_account_text": "#656565",
"color_header_bg": "#ffffff",
"color_header_text": "#2e3438",
"color_body_bg": "#ffffff",
"color_body_text": "#656565",
"color_primary": "#359ac8",
"color_splash": "#f4a482",
@whistlerbrad
whistlerbrad / settings_data.json
Created August 10, 2018 00:05
Clean for Pipeline 4.2
{
"current": {
"color_account_bg": "#f3f3f3",
"color_account_text": "#656565",
"color_header_bg": "#ffffff",
"color_header_text": "#656565",
"color_body_bg": "#ffffff",
"color_body_text": "#656565",
"color_primary": "#585e71",
"color_splash": "#f4a482",
@odessy
odessy / header.liquid
Created November 26, 2018 21:04
add additional Announcement message
<div class="header__wrapper">
{% if section.settings.header_enable_account or section.settings.header_enable_search or section.settings.header_message != '' %}
<div class="info-bar showMobile">
<div class="wrapper text-center">
{% if shop.customer_accounts_enabled and section.settings.header_enable_account %}
<div class="header-account-link">
<a href="/account"><img src="{{ 'account.svg' | asset_url }}"></a>
</div>
@whistlerbrad
whistlerbrad / 1x1-lazy-load-image
Last active June 18, 2021 00:51
Story CSS overrides
/* -- Start Story override code removes background 1x1 image -- */
.template-product .lazy-image {background-image: none !important;}
/* - end - */
@odessy
odessy / section-custom-slideshow.liquid
Last active July 22, 2022 17:16
Custom slideshow section
{% liquid
assign blockList = ''
for block in section.blocks
assign blockList = blockList | append: block.type | append: ','
endfor
assign blockArray = blockList | split: ","
if section.settings.height == 'image-height'
assign padding_ratio = 1