{% render 'section-header' %}
{% for block in section.blocks %}
{% unless block.settings.title == blank %}

{{ block.settings.title }}

{% endunless %} {% if section.settings.card_show_stars %} {% endif %} {% unless block.settings.description == blank %}
{{ block.settings.description }}
{% endunless %}
{% if block.settings.img != blank or block.settings.author != blank %}
{% unless block.settings.img == blank %}
{% render 'image-url', img: block.settings.img, size: 40, scale: true, orientation: 'ratio-1x1', class: 'rounded-circle' %}
{% endunless %} {% unless block.settings.author == blank %}

{{ block.settings.author }} {% unless block.settings.author_subtitle == blank %} {{ block.settings.author_subtitle }} {% endunless %}

{% endunless %}
{% endif %}
{% endfor %}
{% render 'svg-icons', icon: 'chevron-left', size: 24 %}
{% render 'svg-icons', icon: 'chevron-right', size: 24 %}
{% schema %} { "name": "Testimonials", "tag": "section", "settings": [ { "type": "header", "content": "Styling" }, { "type": "select", "id": "bg_color", "label": "Background color", "default": "bg-body", "options": [ { "value": "bg-primary", "label": "Primary" }, { "value": "bg-secondary", "label": "Secondary" }, { "value": "bg-body", "label": "Body" }, { "value": "bg-white", "label": "White" } ] }, { "type": "range", "id": "bg_opacity", "label": "Background opacity", "min": 0, "max": 100, "step": 1, "default": 100, "unit": "%" }, { "type": "select", "id": "bg_gradient", "label": "Background gradient", "options": [ { "value": "bg-gradient", "label": "Yes" }, { "value": "", "label": "No" } ], "default": "" }, { "type": "select", "id": "text_color", "label": "Text color", "default": "text-body", "options": [ { "value": "text-primary", "label": "Primary" }, { "value": "text-secondary", "label": "Secondary" }, { "value": "text-body", "label": "Body" }, { "value": "text-white", "label": "White" } ] }, { "type": "range", "id": "border_top_width", "label": "Border top width", "default": 0, "min": 0, "max": 16, "step": 1, "unit": "px" }, { "type": "range", "id": "border_bottom_width", "label": "Border bottom width", "default": 0, "min": 0, "max": 16, "step": 1, "unit": "px" }, { "type": "select", "id": "border_color", "label": "Border color", "default": "border-body", "options": [ { "value": "border-primary", "label": "Primary" }, { "value": "border-secondary", "label": "Secondary" }, { "value": "border-body", "label": "Body" }, { "value": "border-white", "label": "White" } ] }, { "type": "range", "id": "border_opacity", "label": "Border opacity", "min": 0, "max": 100, "step": 1, "default": 100, "unit": "%" }, { "type": "text", "id": "container_max_width", "label": "Container max-width (px)", "info": "Leave empty to use the global container width" }, { "type": "header", "content": "Header" }, { "type": "text", "id": "header_title", "label": "Title", "default": "Testimonials" }, { "type": "select", "id": "header_title_font_size", "label": "Title font-size", "default": "h2", "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" } ] }, { "type": "richtext", "id": "header_description", "label": "Description (optional)", "default": "

Add on optional description for this section

" }, { "type": "select", "id": "header_description_font_size", "label": "Description font-size", "default": "fs-md", "options": [ { "value": "fs-sm", "label": "sm" }, { "value": "fs-md", "label": "md" }, { "value": "fs-lg", "label": "lg" }, { "value": "fs-xl", "label": "xl" }, { "value": "fs-xxl", "label": "xxl" } ] }, { "type": "header", "content": "Slider" }, { "type": "range", "id": "slider_speed", "label": "Speed", "default": 300, "min": 0, "max": 2000, "step": 100, "unit": "ms" }, { "type": "checkbox", "id": "slider_navigation", "label": "Show navigation (arrows)", "default": true }, { "type": "checkbox", "id": "slider_pagination", "label": "Show pagination", "default": true }, { "type": "select", "id": "slider_pagination_type", "label": "Pagination type", "default": "bullets", "options": [ { "value": "bullets", "label": "Bullets" }, { "value": "fraction", "label": "Fraction" } ] }, { "type": "checkbox", "id": "slider_scrollbar", "label": "Show scrollbar", "default": true }, { "type": "checkbox", "id": "slider_partial_slides_mobile", "label": "Partial slides on mobile", "default": true }, { "type": "range", "id": "slider_autoplay", "label": "Autoplay", "min": 0, "max": 10, "default": 0, "unit": "sec", "info": "Selecing \"0\" will disable autoplay." }, { "type": "header", "content": "Card" }, { "type": "select", "id": "card_bg_color", "label": "Background color", "default": "bg-body", "options": [ { "value": "bg-primary", "label": "Primary" }, { "value": "bg-secondary", "label": "Secondary" }, { "value": "bg-body", "label": "Body" }, { "value": "bg-white", "label": "White" } ] }, { "type": "range", "id": "card_bg_opacity", "label": "Background opacity", "min": 0, "max": 100, "step": 1, "default": 100, "unit": "%" }, { "type": "select", "id": "card_text_color", "label": "Text color", "default": "text-body", "options": [ { "value": "text-primary", "label": "Primary" }, { "value": "text-secondary", "label": "Secondary" }, { "value": "text-body", "label": "Body" }, { "value": "text-white", "label": "White" } ] }, { "type": "range", "id": "card_border_width", "label": "Border width", "min": 0, "max": 16, "step": 1, "default": 1 }, { "type": "select", "id": "card_border_color", "label": "Border Color", "options": [ { "value": "border-primary", "label": "Primary" }, { "value": "border-secondary", "label": "Secondary" }, { "value": "border-body", "label": "Body" }, { "value": "border-white", "label": "White" } ], "default": "border-body" }, { "type": "range", "id": "card_border_opacity", "label": "Border opacity", "min": 0, "max": 100, "step": 1, "default": 100, "unit": "%" }, { "type": "select", "id": "card_shadow", "label": "Shadow", "options": [ { "value": "shadow-none", "label": "None" }, { "value": "shadow-sm", "label": "sm" }, { "value": "shadow-md", "label": "md" }, { "value": "shadow-lg", "label": "lg" } ], "default": "shadow-sm" }, { "type": "select", "id": "card_text_align", "label": "Text align", "default": "text-start", "options": [ { "value": "text-start", "label": "Left" }, { "value": "text-center", "label": "Center" }, { "value": "text-end", "label": "Right" } ] }, { "type": "checkbox", "id": "card_show_stars", "label": "Show stars", "default": true }, { "type": "select", "id": "card_title_font_size", "label": "Title font-size", "default": "h5", "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" } ] }, { "type": "select", "id": "card_description_font_size", "label": "Description font-size", "default": "fs-sm", "options": [ { "value": "fs-sm", "label": "sm" }, { "value": "fs-md", "label": "md" }, { "value": "fs-lg", "label": "lg" }, { "value": "fs-xl", "label": "xl" }, { "value": "fs-xxl", "label": "xxl" } ] }, { "type": "header", "content": "Breakpoints", "info": "Adjust items per slide based on the screen resolution" }, { "type": "range", "id": "breakpoint_mobile", "label": "Mobile (<600px)", "min": 1, "max": 3, "step": 1, "default": 1 }, { "type": "range", "id": "breakpoint_tablet", "label": "Tablet (≥600px)", "min": 1, "max": 4, "step": 1, "default": 2 }, { "type": "range", "id": "breakpoint_desktop", "label": "Desktop (≥1200px)", "min": 1, "max": 6, "step": 1, "default": 4 }, { "type": "header", "content": "Spacing" }, { "type": "range", "id": "pt", "label": "Top", "min": 0, "max": 20, "step": 1, "default": 10 }, { "type": "range", "id": "pb", "label": "Bottom", "min": 0, "max": 20, "step": 1, "default": 10 } ], "blocks": [ { "type": "item", "name": "Item", "settings": [ { "type": "text", "id": "title", "label": "Title" }, { "type": "richtext", "id": "description", "label": "Description" }, { "type": "image_picker", "id": "img", "label": "Image" }, { "type": "text", "id": "author", "label": "Author", "default": "Author's Name", "info": "Leave empty to disable" }, { "type": "text", "id": "author_subtitle", "label": "Author's subtitle", "default": "Verified Customer", "info": "Leave empty to disable" } ] } ], "presets": [ { "name": "Testimonials", "blocks": [ { "type": "item", "settings": { "title": "First Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } }, { "type": "item", "settings": { "title": "Second Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } }, { "type": "item", "settings": { "title": "Third Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } }, { "type": "item", "settings": { "title": "Fourth Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } }, { "type": "item", "settings": { "title": "Fifth Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } }, { "type": "item", "settings": { "title": "Sixth Testimonial", "description": "

\"Shopping at [Store Name] has been an absolute delight! The carefully curated selection of products is a testament to the store's commitment to quality. From trendy fashion pieces to unique home decor items, every product exudes style and craftsmanship.\"

" } } ] } ] } {% endschema %}