{% schema %} { "name": "Simple Banners", "class": "index-section", "settings": [ { "type": "select", "id": "top_offset", "label": "Top Offset", "default": "normal", "options": [ { "value": "none", "label": "None" }, { "value": "small", "label": "Small" }, { "value": "normal", "label": "Normal" } ] }, { "type": "checkbox", "id": "fullwidth", "label": "Fullwidth size", "default": true }, { "type": "select", "id": "items", "label": "Items In Line", "default": "4", "options": [ { "value": "6", "label": "2" }, { "value": "4", "label": "3" }, { "value": "3", "label": "4" } ] }, { "type": "header", "content": "Title" }, { "type": "checkbox", "id": "show_title", "label": "Show title", "default": false }, { "type": "textarea", "id": "text1", "label": "Title", "default": "POPULAR" }, { "type": "textarea", "id": "text2", "label": "Description", "default": "CLOTHING BRANDS" }, { "type": "header", "content": "Main settings" }, { "type": "select", "id": "description_size", "label": "Description size", "default": "big", "options": [ { "value": "small", "label": "Small" }, { "value": "big", "label": "Big" } ] }, { "type": "select", "id": "animation", "label": "Animation", "default": "scale", "options": [ { "value": "scale", "label": "Scale" }, { "value": "simple", "label": "No scale" } ] }, { "type": "select", "id": "position", "label": "Main text information position", "info": "Main settings for all items", "default": "normal", "options": [ { "value": "tt-point-v-t tt-point-h-l", "label": "Top Left" }, { "value": "tt-point-v-t", "label": "Top Center" }, { "value": "tt-point-v-t tt-point-h-r", "label": "Top Right" }, { "value": "tt-point-h-l", "label": "Left" }, { "value": "normal", "label": "Center" }, { "value": "tt-point-h-r", "label": "Right" }, { "value": "tt-point-v-b tt-point-h-l", "label": "Bottom Left" }, { "value": "tt-point-v-b", "label": "Bottom Center" }, { "value": "tt-point-v-b tt-point-h-r", "label": "Bottom Right" } ] }, { "type": "header", "content": "Use same description width" }, { "type": "checkbox", "id": "use_same_desc_width", "label": "Use same description width", "default": false }, { "type": "text", "id": "same_width", "label": "Width", "default": "330", "info": "Integer in px" }, { "type": "header", "content": "Border" }, { "type": "checkbox", "id": "show_border", "label": "Show border", "default": false }, { "type": "color", "id": "border_color", "label": "Border color", "default": "#e9e7e7" } ], "blocks": [ { "type": "item", "name": "Banner", "settings": [ { "type": "image_picker", "id": "image", "label": "Image" }, { "type": "url", "id": "link", "label": "Link", "info": "Optional" }, { "type": "header", "content": "Unique settings" }, { "type": "select", "id": "description_size", "label": "Description size", "info": "Set unique size for this item", "default": "use_main_size", "options": [ { "value": "use_main_size", "label": "Use main size" }, { "value": "hide", "label": "Hide" }, { "value": "small", "label": "Small" }, { "value": "big", "label": "Big" } ] }, { "type": "select", "id": "animation", "label": "Animation", "info": "Set unique animation for this item", "default": "use_main_animation", "options": [ { "value": "use_main_animation", "label": "Use main animation" }, { "value": "scale", "label": "Scale" }, { "value": "simple", "label": "No scale" } ] }, { "type": "select", "id": "position", "label": "Text information position", "info": "Set unique position for this item", "default": "use_main_position", "options": [ { "value": "use_main_position", "label": "Use main position" }, { "value": "tt-point-v-t tt-point-h-l", "label": "Top Left" }, { "value": "tt-point-v-t", "label": "Top Center" }, { "value": "tt-point-v-t tt-point-h-r", "label": "Top Right" }, { "value": "tt-point-h-l", "label": "Left" }, { "value": "normal", "label": "Center" }, { "value": "tt-point-h-r", "label": "Right" }, { "value": "tt-point-v-b tt-point-h-l", "label": "Bottom Left" }, { "value": "tt-point-v-b", "label": "Bottom Center" }, { "value": "tt-point-v-b tt-point-h-r", "label": "Bottom Right" } ] }, { "type": "header", "content": "Texts" }, { "type": "textarea", "id": "text1", "label": "Small Text", "default": "FALL-WINTER CLEARANCE SALES", "info": "New line =
" }, { "type": "textarea", "id": "text2", "label": "Big Text", "default": "GET UP TO 50% OFF<\/span>", "info": "New line =
" }, { "type": "header", "content": "Image icon" }, { "type": "checkbox", "id": "show_icon", "label": "Show image icon", "default": false }, { "type": "image_picker", "id": "icon_image", "label": "Icon image", "info": "Use PNG image. Recommended size 124x38px" }, { "type": "text", "id": "width", "label": "Icon width. In pixel", "default": "128", "info": "Integer" }, { "type": "header", "content": "Colors" }, { "type": "color", "id": "cbtntext", "label": "Base text color", "default": "#191919" }, { "type": "color", "id": "acbtntext", "label": "Active text color", "default": "#191919" }, { "type": "text", "id": "cbtnbg", "label": "Base background color", "default": "255, 255, 255, 0.9", "info": "rgba" }, { "type": "text", "id": "acbtnbg", "label": "Active background color", "default": "255, 255, 255, 0.9", "info": "rgba" }, { "type": "text", "id": "cbtnbor", "label": "Base border color", "default": "0, 0, 0, 0", "info": "rgba" }, { "type": "text", "id": "acbtnbor", "label": "Active border color", "default": "0, 0, 0, 0", "info": "rgba" } ] } ], "presets": [ { "name": "Simple Banners", "category": "Banner", "blocks": [ ] } ] } {% endschema %}
BACK TO TOP