Last active
May 8, 2017 15:06
-
-
Save liamgriffin/58534e540e2ed7e05c35a75acce8794f to your computer and use it in GitHub Desktop.
section for text box
This file contains hidden or 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 id="textsection"> | |
<div class="simpletext"> | |
<h1> {{ section.settings.text-box }} </h1> | |
<h3> {{ section.settings.text }} </h3> | |
</div> | |
</div> | |
{% schema %} | |
{ | |
"name": "Text Box", | |
"settings": [ | |
{ | |
"id": "text-box", | |
"type": "text", | |
"label": "Heading", | |
"default": "Title" | |
}, | |
{ | |
"id": "text", | |
"type": "richtext", | |
"label": "Add custom text below", | |
"default": "<p>Add your text here</p>" | |
} | |
] | |
} | |
{% endschema %} | |
{% stylesheet %} | |
{% endstylesheet %} | |
{% javascript %} | |
{% endjavascript %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment