Section
Image with text slideshow
0 个模板实例,15 个 section 配置,1 类 block。
真实模板变体
当前模板未直接使用该 section。
Schema
{
"name": "Image with text slideshow",
"class": "section-image-with-text-slideshow",
"settings": [
{
"type": "select",
"id": "mobile_height",
"label": "Mobile height",
"options": [
{
"value": "mobile-height-auto",
"label": "Adapt to image"
},
{
"value": "mobile-height-300",
"label": "300px"
},
{
"value": "mobile-height-350",
"label": "350px"
},
{
"value": "mobile-height-400",
"label": "400px"
},
{
"value": "mobile-height-450",
"label": "450px"
},
{
"value": "mobile-height-500",
"label": "500px"
},
{
"value": "mobile-height-full",
"label": "Full screen"
}
],
"default": "mobile-height-350"
},
{
"type": "select",
"id": "desktop_height",
"label": "Desktop height",
"options": [
{
"value": "desktop-height-auto",
"label": "Adapt to image"
},
{
"value": "desktop-height-450",
"label": "450px"
},
{
"value": "desktop-height-550",
"label": "550px"
},
{
"value": "desktop-height-650",
"label": "650px"
},
{
"value": "desktop-height-750",
"label": "750px"
},
{
"value": "desktop-height-full",
"label": "Full screen"
}
],
"default": "desktop-height-650"
},
{
"type": "select",
"id": "desktop_image_width",
"options": [
{
"value": "small",
"label": "Small"
},
{
"value": "medium",
"label": "Medium"
},
{
"value": "large",
"label": "Large"
}
],
"default": "medium",
"label": "Desktop image width",
"info": "Image is automatically optimized for mobile."
},
{
"type": "select",
"id": "layout",
"options": [
{
"value": "image_first",
"label": "Image first"
},
{
"value": "text_first",
"label": "Image second"
}
],
"default": "image_first",
"label": "Desktop image placement",
"info": "Image first is the default mobile layout."
},
{
"type": "select",
"id": "content_position",
"label": "Content alignment",
"options": [
{
"value": "text-center",
"label": "Center"
},
{
"value": "text-left",
"label": "Left"
},
{
"value": "text-right",
"label": "Right"
}
],
"default": "text-left"
},
{
"type": "checkbox",
"id": "full_width",
"label": "Make section full width",
"default": false
},
{
"type": "checkbox",
"id": "autoplay",
"label": "Auto-rotate slides",
"default": true
},
{
"type": "range",
"id": "autoplay_length",
"min": 3,
"max": 10,
"step": 1,
"unit": "s",
"label": "Change slides every",
"default": 5
},
{
"type": "header",
"content": "Colors"
},
{
"type": "color",
"id": "color_bg",
"label": "Background",
"default": "#ffffff"
},
{
"type": "color",
"id": "color_text",
"label": "Text",
"default": "#151515"
},
{
"type": "color",
"id": "color_links",
"label": "Links",
"default": "#151515"
},
{
"type": "header",
"content": "Spacing"
},
{
"type": "checkbox",
"id": "disable_top_spacing",
"default": false,
"label": "Remove top spacing"
},
{
"type": "checkbox",
"id": "disable_bottom_spacing",
"default": false,
"label": "Remove bottom spacing"
}
],
"blocks": [
{
"type": "slide",
"name": "Slide",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image",
"info": "1250 x 550 .jpg recommended."
},
{
"type": "textarea",
"id": "heading",
"label": "Heading",
"default": "Slide Heading"
},
{
"type": "textarea",
"id": "content",
"label": "Description",
"default": "Add a descriptive text here for your slide."
},
{
"id": "button_text",
"type": "text",
"label": "Button label",
"default": "Shop Now",
"info": "Leave the label blank to hide the button."
},
{
"id": "button_link",
"type": "url",
"label": "Button link"
}
]
}
],
"presets": [
{
"name": "Image with text slideshow",
"blocks": [
{
"type": "slide"
},
{
"type": "slide"
},
{
"type": "slide"
}
]
}
]
}