```liquid {%- 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 -%}
{%- if section.settings.heading != blank -%}

{{ section.settings.heading | escape }}

{%- endif -%}
{% schema %} { "name": "Quick Access Tiles", "tag": "section", "class": "section", "settings": [ { "type": "text", "id": "heading", "default": "Find Your Perfect Window Solution", "label": "Heading" }, { "type": "header", "content": "Section padding" }, { "type": "range", "id": "padding_top", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "Padding top", "default": 36 }, { "type": "range", "id": "padding_bottom", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "Padding bottom", "default": 36 } ], "blocks": [ { "type": "tile", "name": "Tile", "settings": [ { "type": "image_picker", "id": "icon", "label": "Icon image" }, { "type": "text", "id": "title", "default": "Tile title", "label": "Title" }, { "type": "text", "id": "description", "default": "Tile description", "label": "Description" }, { "type": "url", "id": "link", "label": "Link" } ] } ], "presets": [ { "name": "Quick Access Tiles", "blocks": [ { "type": "tile", "settings": { "title": "Shop by Need", "description": "Find curtains based on your specific requirements", "link": "#" } }, { "type": "tile", "settings": { "title": "Curtain Rods", "description": "Complete your look with matching rods", "link": "#" } }, { "type": "tile", "settings": { "title": "Custom Solutions", "description": "Tailored window treatments for unique spaces", "link": "#" } }, { "type": "tile", "settings": { "title": "Size Guide", "description": "Step-by-step instructions for perfect fitting", "link": "#" } } ] } ] } {% endschema %} ```