Section
Dental hygiene
2 个模板实例,9 个 section 配置,1 类 block。
真实模板变体
Schema
{
"name": "Dental hygiene",
"class": "dental-hygiene-section",
"settings": [
{
"type": "color",
"id": "text_color",
"label": "Text color",
"default": "#000000"
},
{
"type": "checkbox",
"id": "show_top_border",
"label": "Show top border",
"default": false
},
{
"type": "text",
"id": "subheading",
"label": "Sub Heading (desktop)",
"default": "Bundle & Save 20%"
},
{
"type": "text",
"id": "subheading_m",
"label": "Sub Heading (mobile)",
"default": "Vibration & Oscillation"
},
{
"type": "select",
"id": "subheading_tag",
"label": "Sub heading tag",
"options": [
{
"value": "h1",
"label": "H1"
},
{
"value": "h2",
"label": "H2"
},
{
"value": "h3",
"label": "H3"
},
{
"value": "h4",
"label": "H4"
},
{
"value": "h5",
"label": "H5"
},
{
"value": "h6",
"label": "H6"
},
{
"value": "p",
"label": "p"
}
],
"default": "h4"
},
{
"type": "textarea",
"id": "heading",
"label": "Heading",
"default": "Intuitively powerful"
},
{
"type": "select",
"id": "heading_tag",
"label": "Heading tag",
"options": [
{
"value": "h1",
"label": "H1"
},
{
"value": "h2",
"label": "H2"
},
{
"value": "h3",
"label": "H3"
},
{
"value": "h4",
"label": "H4"
},
{
"value": "h5",
"label": "H5"
},
{
"value": "h6",
"label": "H6"
},
{
"value": "p",
"label": "p"
}
],
"default": "h2"
},
{
"type": "image_picker",
"id": "image_d",
"label": "Desktop Image"
},
{
"type": "image_picker",
"id": "image_m",
"label": "Mobile Image"
}
],
"blocks": [
{
"type": "block",
"name": "Icon text",
"settings": [
{
"type": "richtext",
"id": "heading",
"label": "Heading",
"default": "<p>Dual-action for deeper cleaning<p>"
},
{
"type": "image_picker",
"id": "icon",
"label": "Icon"
}
]
}
],
"presets": [
{
"name": "Dental hygiene"
}
]
}