- Add properties for gift cards under product.liquid. Must be within the tags.
- Retrieve the properties in gift_cart.liquid
- Celebrate
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.contact * {display: inline-block;} | |
@media screen and ($bp-min: $bp-med) { | |
//ul.navprimary__horizontal li:not(.contact){margin-top:21px;} | |
//ul.navprimary__horizontal li{height: 32px;} | |
//ul.navprimary__horizontal li.contact input{border-radius: 2px;} | |
} | |
@media only screen and (max-width: 1326px) { | |
.contact{ display:none; } |
- Replace the site-nav.liquid snippet with the one below.
- Add the css below to the bottom of styles.scss.liquid
- If you haven't already, create your sub linklists by folowing the same procedure as mentioned in this doc
- Result:
This one is farily straight forward
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js' | script_tag }}
<script type="text/javascript">
(function(window, undefined) {
var $;
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
{% if customer and customer.addresses[0].country %} | |
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js' | script_tag }} | |
<style> | |
.js .field--same-billing-address { | |
display: none !important; | |
} | |
#checkout_billing_address_country, #checkout_billing_address_province { |
Brooklyn doesn't have a search box by default and adding one to the header somewhat disrupts the aesthetic of the theme. Instead of adding just an icon linking to the search page, why not adding a modal using the already built in popup plugin?
Did you see that fade in?! It's actually very smooth IRL.
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
{% comment %} | |
Start of Cash on Delivery pincode checker snippet | |
Instructions: | |
1. Copy and paste this snippet into the liquid template where you'd like it to be displayed. | |
i.e. product.liquid, cart.liquid etc... | |
2. Set title and messages below (optional). | |
3. Customize success and failure colors (optional). | |
4. Adjust the pixel spacing on line 19 to best match the surroundings of the snippet. | |
This will adjust spacing below the title and input field. |