The theme I’m using does not have a button in the image to text section. Is there a way I can add a button to this section?
This is the section code:
{{ ‘product-image-with-text.css’ | asset_url | stylesheet_tag }}
{%- if section.settings.text != blank -%}
{%- if section.settings.name_author != blank or section.settings.position_author != blank -%}
{%- if section.settings.position_author != blank -%}
{{ section.settings.position_author | escape }}
{% endif %}
{% schema %}
{
“name”: “t:sections.product-image-with-text.name”,
“tag”: “section”,
“class”: “product-image-with-text-section spaced-section”,
“max_blocks”: 4,
“settings”: [
{
“type”: “text”,
“id”: “sub_title”,
“default”: “For instance collection name”,
“label”: “t:sections.product-image-with-text.settings.sub_title.label”
},
{
“type”: “textarea”,
“id”: “text”,
“default”: “Talk about your brand, collection or product”,
“label”: “t:sections.product-image-with-text.settings.text.label”
},
{
“type”: “header”,
“content”: “t:sections.product-image-with-text.settings.header.content”
},
{
“type”: “image_picker”,
“id”: “image_author”,
“label”: “t:sections.product-image-with-text.settings.image_author.label”
},
{
“type”: “text”,
“id”: “name_author”,
“default”: “For instance author name,”,
“label”: “t:sections.product-image-with-text.settings.name_author.label”
},
{
“type”: “text”,
“id”: “position_author”,
“default”: “For instance author position”,
“label”: “t:sections.product-image-with-text.settings.position_author.label”
}
],
“blocks”: [
{
“type”: “product_image_with_text”,
“name”: “t:sections.product-image-with-text.blocks.product_image_with_text.name”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “t:sections.product-image-with-text.blocks.product_image_with_text.settings.image.label”
},
{
“type”: “range”,
“id”: “image_width”,
“min”: 50,
“max”: 300,
“step”: 10,
“default”: 300,
“unit”: “t:sections.product-image-with-text.blocks.product_image_with_text.settings.image_width.unit”,
“label”: “t:sections.product-image-with-text.blocks.product_image_with_text.settings.image_width.label”
}
]
}
]
}
{% endschema %}