Section

Specs with images

3 个模板实例,4 个 section 配置,1 类 block。

真实模板变体

Schema

{
  "name": "Specs with images",
  "class": "specs-with-images",
  "settings": [
    {
      "type": "select",
      "id": "section_width",
      "options": [
        {
          "value": "grid",
          "label": "Grid"
        },
        {
          "value": "full-width-row",
          "label": "Full width"
        },
        {
          "value": "full-width-row-full",
          "label": "Full width, no spacing"
        }
      ],
      "default": "grid",
      "label": "Section width"
    },
    {
      "type": "text",
      "id": "heading",
      "label": "Heading",
      "default": "Eco-friendly packaging"
    },
    {
      "type": "image_picker",
      "id": "image",
      "label": "Image"
    },
    {
      "type": "text",
      "id": "subheading",
      "label": "Sub Heading",
      "default": "Eco-friendly packaging"
    }
  ],
  "blocks": [
    {
      "type": "block",
      "name": "Block",
      "settings": [
        {
          "type": "richtext",
          "id": "content",
          "label": "Content",
          "default": "<p>To reduce carbon emissions, we have rejected the all-too-common plastic sleeve and instead package every product using </p>"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Specs with images"
    }
  ]
}