/* Slideshow v2 b */
{% if section.blocks.size > 0 %} {% for block in section.blocks %} {% if block.type == "slideshow" %}
{% if block.settings.block_banerimage != blank %} {% else %} slideshow {% endif %}
{% if block.settings.block_subtitle != blank %}

{{block.settings.block_subtitle}}

{% endif %}
{% if block.settings.block_title_top != blank %}

{{ block.settings.block_title_top }}

{% endif %}
{% if block.settings.block_title_top2 != blank %}

{{ block.settings.block_title_top2 }}

{% endif %}
{% if block.settings.block_buton != blank %} {{ block.settings.block_buton }} {% endif %}
{% endif %} {% endfor %} {% endif %}
{% schema %} { "name": "Slideshow v2 b", "class": "index-section", "settings": [ { "type": "header", "content": "Section Space" }, { "type": "text", "id": "margin_top", "label": "Margin Top", "info": "Defined in pixels. Do not add the 'px' unit." }, { "type": "text", "id": "margin_bottom", "label": "Margin Bottom", "info": "Defined in pixels. Do not add the 'px' unit." } ], "blocks": [ { "type": "slideshow", "name": "slideshow", "settings": [ { "type": "image_picker", "id": "block_banerimage", "label": "Image slideshow", "info": "1920 x 980px recommended" }, { "type": "text", "id": "block_subtitle", "label": "Sub Title sideshow", "default": "20% DISCOUNT FOR ALL ITEMS" }, { "type": "color", "id": "color_subtitle", "label": "Color Sub Title sideshow", "default": "#878787" }, { "type": "text", "id": "block_title_top", "label": "Title sideshow top", "default": "COLLECTION SPORT" }, { "type": "color", "id": "color_block_title_top", "label": "Color Title sideshow top", "default": "#010101" }, { "type": "text", "id": "block_title_top2", "label": "Content", "default": "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable" }, { "type": "color", "id": "color_content", "label": "Color Content", "default": "#878787" }, { "type": "text", "id": "block_buton", "label": "Button slideshow", "default": "Shop now" }, { "type": "color", "id": "color_block_button", "label": "Color button", "default": "#fff" }, { "type": "color", "id": "color_bg_block_button", "label": "Color background button", "default": "#e5ae49" }, { "type": "url", "id": "block_url", "label": "URL button slideshow", "default": "/collections/all" } ] } ], "presets": [ { "name": "Slideshow v2 b", "category": "Slideshow", "blocks": [ { "type": "slideshow", "settings": { } } ] } ] } {% endschema %} {% stylesheet %} {% endstylesheet %} {% javascript %} {% endjavascript %}