Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
carolineschnapp / new_gist_file.liquid
Created July 29, 2014 21:14
Add this to a snippet and include that snippet before the </body> tag. Adds an edit link to edit content. Only shows up if you are logged-in your store's admin.
{{ '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' | stylesheet_tag }}
<style>
.edit-tool {
float: right;
position: fixed;
right: 0;
top: 70px;
background-color: white;
padding: 5px 10px;
-webkit-box-shadow: -1px 0px 3px 0px rgba(50, 50, 50, 0.6);