{{ 'component-image-with-text.css' | asset_url | stylesheet_tag }} {%- style -%} .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; } @media screen and (min-width: 750px) { .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top }}px; padding-bottom: {{ section.settings.padding_bottom }}px; } } {%- endstyle -%} {%- liquid assign fetch_priority = 'auto' if section.index == 1 assign fetch_priority = 'high' endif if section.settings.color_scheme == section.settings.section_color_scheme and section.settings.content_layout == 'no-overlap' assign remove_color_classes = true endif -%} {% liquid assign button_link = "" for block in section.blocks case block.type when 'button' assign button_link = block.settings.button_link endcase endfor %}
Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.
", "label": "t:sections.image-with-text.blocks.text.settings.text.label" }, { "type": "select", "id": "text_style", "options": [ { "value": "body", "label": "t:sections.image-with-text.blocks.text.settings.text_style.options__1.label" }, { "value": "subtitle", "label": "t:sections.image-with-text.blocks.text.settings.text_style.options__2.label" } ], "default": "body", "label": "t:sections.image-with-text.blocks.text.settings.text_style.label" } ] }, { "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" }, { "type": "checkbox", "id": "button_style_secondary", "default": false, "label": "t:sections.image-with-text.blocks.button.settings.outline_button.label" } ] } ], "presets": [ { "name": "t:sections.image-with-text.presets.name", "blocks": [ { "type": "heading" }, { "type": "text" }, { "type": "button" } ] } ] } {% endschema %}