i have a custom code for testimonial slider section in shopify but it doesn’t seem to work properly,
Here’s the code:
{{ ‘swiper-bundle.min.css’ | asset_url | stylesheet_tag }}
{{ ‘swiper-bundle.min.js’ | asset_url | script_tag }}
{{ section.settings.heading }}
{{ block.settings['slide-text'] }}
{{ block.settings.desc }}
{% schema %}
{
“name”: “Testimonial Slider”,
“settings”: [
{
“type”: “text”,
“id”: “heading”,
“label”: “Enter slider heading here”
},
{
“type”: “color”,
“id”: “heading-font-color”,
“label”: “Heading Font Color”
},
{
“type”: “color”,
“id”: “main-bg-color”,
“label”: “Background Color”
},
{
“type”: “range”,
“id”: “heading-font-size”,
“label”: “Heading font size”,
“max”: 50,
“min”: 10,
“default”: 20
},
{
“type”: “select”,
“id”: “weight”,
“label”: “Font Weight”,
“options”: [
{
“value”: “normal”,
“label”: “Normal”
},
{
“value”: “bold”,
“label”: “Bold”
},
{
“value”: “bolder”,
“label”: “Bolder”
}
],
“default”: “normal”
}
],
“blocks”: [
{
“name”: “Slide”,
“type”: “slide”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Testimonial image”
},
{
“type”: “color”,
“id”: “rahulcolor”,
“label”: “Heading Font Color”
},
{
“type”: “color”,
“id”: “desc-color”,
“label”: “Description Color”
},
{
“type”: “color”,
“id”: “box-bg-color”,
“label”: “Slide bg color”
},
{
“type”: “text”,
“id”: “slide-text”,
“label”: “Enter Heading”,
“default”: “Your heading”
},
{
“type”: “textarea”,
“id”: “desc”,
“label”: “Enter your description here”
},
{
“type”: “range”,
“id”: “slide-heading-font-size”,
“label”: “Slide Heading font size”,
“max”: 50,
“min”: 10,
“default”: 20
},
{
“type”: “select”,
“id”: “slide-font-weight”,
“label”: “Font Weight”,
“options”: [
{
“value”: “normal”,
“label”: “Normal”
},
{
“value”: “bold”,
“label”: “Bold”
},
{
“value”: “bolder”,
“label”: “Bolder”
}
],
“default”: “normal”
},
{
“type”: “range”,
“id”: “desc-size”,
“label”: “Description size”,
“max”: 50,
“min”: 10,
“default”: 15
}
]
}
],
“presets”: [
{
“name”: “testimonial slider”,
“category”: “custom”
}
]
}
{% endschema %}
if anyone’s could resolve it for me would be really appreciated and the testimonial slider would be really useful for me and for the shopify community also
Here’s how it showing in Shopify: