{% if section.settings.show_banner_top %}
{% for block in section.blocks %} {% endfor %}
{% if section.settings.show_content_banner_top %} {% endif %}
{% endif %} {% if section.settings.show_weekly_special %}
{% if section.settings.weekly_special_title != blank %}

{% include 'multilang' with section.settings.weekly_special_title %}

{% if section.settings.weekly_special_desc != blank %}

{% include 'multilang' with section.settings.weekly_special_desc %}

{% endif %}
{% endif %}
{% for block in section.blocks %}
{% if block.settings.ws_content_heading != blank %}

{% include 'multilang' with block.settings.ws_content_heading %}

{% endif %}
{% if block.settings.ws_content_promotion_text != blank %} {% include 'multilang' with block.settings.ws_content_promotion_text %} {% endif %} {% if block.settings.ws_content_promotion_code != blank %} {% include 'multilang' with block.settings.ws_content_promotion_code %} {% endif %}
{% if block.settings.ws_content_desc != blank %}

{% include 'multilang' with block.settings.ws_content_desc %}

{% endif %} {% if block.settings.ws_content_btn_text != blank %} {% include 'multilang' with block.settings.ws_content_btn_text %} {% endif %}
{% endfor %}

{% endif %}

 

 

 

{% if section.settings.show_banner_top %}
{% for block in section.blocks %} {% endfor %}
{% if section.settings.show_content_banner_top %} {% endif %}
{% endif %} {% schema %} { "name": "Homepage Top Banner", "max_blocks": 3, "settings": [ { "type": "checkbox", "id": "show_banner_top", "label": "Display Banner Top?", "default": true }, { "type": "range", "id": "space_on", "label": "Space on", "min": 0, "max": 100, "step": 1, "default": 0 }, { "type": "range", "id": "space_below", "label": "Space below", "min": 0, "max": 100, "step": 1, "default": 25 }, { "type" : "text", "id" : "space_move_up", "label" : "Space move up", "default" : "-245", "info" : "Default -245" }, { "type": "header", "content": "Banner Content" }, { "type": "checkbox", "id": "show_content_banner_top", "label": "Display Banner Content?", "default": true }, { "type" : "textarea", "id" : "content_banner_top", "label" : "Banner Content", "default": "Cras nec congue elit duis tristique vel ante nec aliquam. Praesent urna tellus laoreet eu tellus ullamcorper, fermentum facilisis erat. Suspendisse tellus erat, saliquam vel loremous a posuere tincidunt melit. Aliquam eget lacus nec metus lobortis gravida sedos." } ], "blocks": [ { "type": "banner", "name": "Banner Top", "settings": [ { "type" : "image_picker", "id" : "ct_img", "label" : "Select image", "info" : "Recommended Image: Width x Height (370 x 435)PX" }, { "type": "url", "id" : "ct_link", "label" : "Image link" }, { "type": "checkbox", "id": "show_banner_image_content", "label": "Show Banner Image Content?", "default": true }, { "type": "select", "id": "banner_image_content_position", "label": "Banner Image Content position", "default": "bottom", "options": [ { "value": "top", "label": "Top" }, { "value": "middle", "label": "Middle" }, { "value": "bottom", "label": "Bottom" } ] }, { "type" : "text", "id" : "ct_sub_heading", "label" : "Sub Heading", "default" : "Accessories" }, { "type" : "text", "id": "font_size_sub_heading", "label" : "Font size sub heading", "default" : "12px" }, { "type" : "color", "id": "color_sub_heading", "label": "Sub Heading Color", "default" : "#fff" }, { "type" : "color", "id": "color_border_sub_heading", "label": "Sub Heading Border Bottom Color", "default" : "#fff" }, { "type" : "text", "id" : "ct_heading", "label" : "Heading", "default" : "Curabitur" }, { "type" : "text", "id": "font_size_heading", "label" : "Font size heading", "default" : "20px" }, { "type" : "color", "id": "color_heading", "label": "Heading color", "default" : "#fff" }, { "type" : "text", "id" : "ct_desc", "label" : "Description text", "default" : " Maecenas quam odio pellentesque eget laoreet sitae ornare et nedue class aptentos." }, { "type" : "text", "id": "font_size_desc", "label" : "Font size Description", "default" : "12px" }, { "type" : "color", "id": "color_desc", "label": "Description color", "default" : "#fff" } ] } ], "presets": [{ "name": "Homepage Top Banner", "category": "block images", "blocks": [ { "type": "banner" } ] }] } {% endschema %} {% if section.settings.show_banner_top %}
{% for block in section.blocks %} {% endfor %}
{% if section.settings.show_content_banner_top %} {% endif %}
{% endif %} {% schema %} { "name": "Homepage Top Banner", "max_blocks": 3, "settings": [ { "type": "checkbox", "id": "show_banner_top", "label": "Display Banner Top?", "default": true }, { "type": "range", "id": "space_on", "label": "Space on", "min": 0, "max": 100, "step": 1, "default": 0 }, { "type": "range", "id": "space_below", "label": "Space below", "min": 0, "max": 100, "step": 1, "default": 25 }, { "type" : "text", "id" : "space_move_up", "label" : "Space move up", "default" : "-245", "info" : "Default -245" }, { "type": "header", "content": "Banner Content" }, { "type": "checkbox", "id": "show_content_banner_top", "label": "Display Banner Content?", "default": true }, { "type" : "textarea", "id" : "content_banner_top", "label" : "Banner Content", "default": "Cras nec congue elit duis tristique vel ante nec aliquam. Praesent urna tellus laoreet eu tellus ullamcorper, fermentum facilisis erat. Suspendisse tellus erat, saliquam vel loremous a posuere tincidunt melit. Aliquam eget lacus nec metus lobortis gravida sedos." } ], "blocks": [ { "type": "banner", "name": "Banner Top", "settings": [ { "type" : "image_picker", "id" : "ct_img", "label" : "Select image", "info" : "Recommended Image: Width x Height (370 x 435)PX" }, { "type": "url", "id" : "ct_link", "label" : "Image link" }, { "type": "checkbox", "id": "show_banner_image_content", "label": "Show Banner Image Content?", "default": true }, { "type": "select", "id": "banner_image_content_position", "label": "Banner Image Content position", "default": "bottom", "options": [ { "value": "top", "label": "Top" }, { "value": "middle", "label": "Middle" }, { "value": "bottom", "label": "Bottom" } ] }, { "type" : "text", "id" : "ct_sub_heading", "label" : "Sub Heading", "default" : "Accessories" }, { "type" : "text", "id": "font_size_sub_heading", "label" : "Font size sub heading", "default" : "12px" }, { "type" : "color", "id": "color_sub_heading", "label": "Sub Heading Color", "default" : "#fff" }, { "type" : "color", "id": "color_border_sub_heading", "label": "Sub Heading Border Bottom Color", "default" : "#fff" }, { "type" : "text", "id" : "ct_heading", "label" : "Heading", "default" : "Curabitur" }, { "type" : "text", "id": "font_size_heading", "label" : "Font size heading", "default" : "20px" }, { "type" : "color", "id": "color_heading", "label": "Heading color", "default" : "#fff" }, { "type" : "text", "id" : "ct_desc", "label" : "Description text", "default" : " Maecenas quam odio pellentesque eget laoreet sitae ornare et nedue class aptentos." }, { "type" : "text", "id": "font_size_desc", "label" : "Font size Description", "default" : "12px" }, { "type" : "color", "id": "color_desc", "label": "Description color", "default" : "#fff" } ] } ], "presets": [{ "name": "Homepage Top Banner", "category": "block images", "blocks": [ { "type": "banner" } ] }] } {% endschema %} {% if section.settings.show_banner_bottom %}
{%- assign img_url = section.settings.banner_bottom_img | img_url: '1024x' -%} {% if section.settings.banner_bottom_img != blank %} {{ section.settings.banner_bottom_title | escape }} {% else %} 930 x 100px {% endif %}
{% endif %}
,