Using Shopify’s Refresh Theme, I’m looking to have different color buttons for my Image with Text sections.
Would that be possible by assigning a class to the button, and then referencing that in CSS?
Looking at the image-with-text.liquid file I am sure I have to add a class to the schema below, but do not know what it would be.
Any insight is appreciated!
{
"type": "button",
"name": "t:sections.image-with-text.blocks.button.name",
"limit": 1,
"settings": [
{
"type": "text",
"id": "button_label",
"default": "Button label",
"label": "t:sections.image-with-text.blocks.button.settings.button_label.label",
"info": "t:sections.image-with-text.blocks.button.settings.button_label.info"
},
{
"type": "url",
"id": "button_link",
"label": "t:sections.image-with-text.blocks.button.settings.button_link.label"
}