{% include 'lm_section_headings' %} {% if section.blocks != empty %}
{% for block in section.blocks %}
{{ block.settings.block_title }}
{{ block.settings.block_body }}
{% endfor %}
{% endif %}
{% style %} .list-icons { border-bottom: 1px solid $lm-grey4; border-top: 1px solid $lm-grey4; padding: 100px 0 50px; position: relative; @include lm-screen-md-max { padding: 50px 0; } .inner__container { margin: 0 auto; max-width: 1166px; position: relative; @include lm-screen-md-max { padding: 0 20px; } } .section__headings { margin-bottom: 80px; text-align: center; .lm-section__heading { color: #232328; font-size: 38px; line-height: 1; margin-bottom: 25px; } .section__subheading { color: #414146; font-size: 22px; line-height: 1; margin-bottom: 0; } @include lm-screen-md-max { margin-bottom: 40px; .lm-section__heading { font-size: 30px; line-height: 32px; margin-bottom: 24px; padding: 0 20px; } .section__subheading { font-size: 17.6px; line-height: 24px; } } } .list-wrapper { column-gap: 20px; display: flex; .list-wrapper__item { color: #414146; display: flex; flex: 1; .list-wrapper__item-copy { margin: 20px 0 0 20px; .list-wrapper__item-title { color: #232326; font-size: 14px; font-weight: 600; letter-spacing: .1em; line-height: 18px; margin-bottom: 12px; text-transform: uppercase; } .list-wrapper__item-body { font-size: 18px; line-height: 1; } } } @include lm-screen-md-max { display: grid; grid-template-columns: 1fr 1fr; row-gap: 24px; .list-wrapper__item { align-items: flex-start; img { height: auto; width: 40px; } .list-wrapper__item-copy { margin: 3px 0 0 12px; .list-wrapper__item-title { font-size: 11.2px; letter-spacing: .08em; line-height: 11.2px; margin-bottom: 9px; } .list-wrapper__item-body { font-size: 14px; } } } } } } {% endstyle %} {% schema %} { "label":"List with icons Section", "settings":[ { "label":"Text", "settings":[ { "type":"text", "id":"heading", "label":"Heading", "default":"Heading" }, { "type":"text", "id":"subheading", "label":"Subheading", "default":"Subheading" } ] } ], "blocks":{ "label":"Add block", "limit":4, "types":[ { "type":"block", "label":"Block", "settings":[ { "type":"image", "id":"block_image", "label":"Image" }, { "type":"text", "id":"block_title", "label":"Title" }, { "type":"text", "id":"block_body", "label":"Description" } ] } ] } } {% endschema %}