Hi. Im having an issue. I would like to add a centered text block to add some descriptions for the services im providing below that title BATH & HAIRCUT PACKAGE. I would like to have this descriptive text block where I drawed the red square.
but when I click on add column it only lets me add text column with images
I tried to do it withing the code with no luck. Maybe im doing it wrong. Here is the code:
{% if section.settings.divider %}{% endif %}
{% if section.settings.title != blank %}
## {{ section.settings.title }}
{% endif %}
{%- assign grid_item_width = 'medium-up--one-third' -%}
{% case section.blocks.size %}
{% when 1 %}
{%- assign grid_item_width = 'medium-up--one-half' -%}
{% when 2 %}
{%- assign grid_item_width = 'medium-up--one-half' -%}
{% when 4 %}
{%- assign grid_item_width = 'medium-up--one-half' -%}
{% endcase %}
{% for block in section.blocks %}
{% if section.blocks.size == 5 and forloop.index < 3 %}
{%- assign column_width = 'medium-up--one-half' -%}
{% else %}
{%- assign column_width = grid_item_width -%}
{% endif %}
{% if block.settings.enable_image %}
{% if block.settings.button_link != blank %}
{% endif %}
{% if block.settings.image != blank %}
{%- assign img_url = block.settings.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
{% else %}
{{ 'image' | placeholder_svg_tag: 'placeholder-svg' }}
{% endif %}
{% if block.settings.button_link != blank %}
{% endif %}
{% endif %}
{% if block.settings.title != blank %}
### {{ block.settings.title }}
{% endif %}
{% if block.settings.text != blank %}
{{ block.settings.text }}
{% endif %}
{% if block.settings.button_label != blank %}
{{ block.settings.button_label }}
{% endif %}
{% endfor %}
{% if section.settings.divider %}
{% endif %}
{% schema %}
{
"name": "Text columns with images",
"class": "index-section",
"settings": [
{
"type": "text",
"id": "title",
"label": "Heading"
},
{
"type": "select",
"id": "align_text",
"label": "Alignment",
"default": "left",
"options": [
{
"value": "left",
"label": "Left"
},
{
"value": "center",
"label": "Centered"
}
]
},
{
"type": "checkbox",
"id": "divider",
"label": "Show section divider",
"default": false
}
],
"blocks": [
{
"type": "text_block",
"name": "Column",
"settings": [
{
"type": "checkbox",
"id": "enable_image",
"label": "Show image",
"default": true
},
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "range",
"id": "image_width",
"label": "Image width",
"default": 650,
"min": 60,
"max": 650,
"step": 10,
"unit": "px"
},
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Example title"
},
{
"type": "richtext",
"id": "text",
"label": "Text",
"default": "
Use this section to explain a set of product features, to link to a series of pages, or to answer common questions about your products. Add images for emphasis.
"
},
{
"type": "text",
"id": "button_label",
"label": "Button label",
"default": "Optional button"
},
{
"type": "url",
"id": "button_link",
"label": "Link"
}
]
}
],
"presets": [
{
"name": "Text columns with images",
"category": "Text",
"blocks": [
{
"type": "text_block"
},
{
"type": "text_block"
},
{
"type": "text_block"
}
]
}
]
}
{% endschema %}
{% if block.settings.title != blank %}
{{ block.settings.title | escape }}
{% endif %}
{% if block.settings.text != blank %}
{% if block.settings.enlarge_text %}
{% endif %}
{{ block.settings.text }}
{% if block.settings.enlarge_text %}
{% endif %}
{% endif %}
I request some help and assistance with this. Thank you so much for your time!

