Hi!
I use the prestige theme and I’m trying to change the testimonials section in a certain way, I’ve made a new subheading but I’d like to connect the subheading with a link in the webeditor but can’t figure it out.. need help
U can see my code here, I have written where I’d like to be able to connect the header to a link
{%- capture flickity_options -%}
{
"prevNextButtons": false,
"wrapAround": true,
"dragThreshold": 16,
"pageDots": {% if section.blocks.size > 1 %}true{% else %}false{% endif %},
"autoPlay": {% if section.settings.autoplay %}{{ section.settings.cycle_speed | times: 1000 }}{% else %}false{% endif %}
}
{%- endcapture -%}
{%- assign should_show_nav = false -%}
{%- for block in section.blocks -%}
{%- if block.settings.logo -%}
{%- assign should_show_nav = true -%}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{% schema %}
{
"name": "Testimonials",
"class": "shopify-section--bordered",
"max_blocks": 8,
"settings": [
{
"type": "text",
"id": "subheading",
"label": "Sub-heading",
"default": "Sub-heading"
},
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Title"
},
{
"type": "checkbox",
"id": "autoplay",
"label": "Auto rotate between testimonials",
"default": true
},
{
"type": "range",
"id": "cycle_speed",
"min": 3,
"max": 8,
"step": 1,
"unit": "sec",
"label": "Change testimonials every",
"default": 5
},
{
"type": "color",
"id": "background",
"label": "Background",
"default": "#eaeaea"
},
{
"type": "color",
"id": "text_color",
"label": "Text",
"default": "#1c1b1b"
}
],
"blocks": [
{
"type": "testimonial",
"name": "Testimonial",
"settings": [
{
"type": "image_picker",
"id": "logo",
"label": "Logo",
"info": "340 x 80px jpg recommended"
},
{
"type": "text",
"id": "subheading",
"label": "Sub-heading",
"default": "Sub-heading"
},
{
"type": "richtext",
"id": "quote",
"label": "Text",
"default": "
Share what your customers are saying about your products, your company...
",
"info": "For best results, keep the word count consistent in each quote."
},
{
"type": "text",
"id": "subheading2",
"label": "Sub-heading",
"default": "Sub-heading"
}
]
}
],
"presets": [
{
"category": "Text",
"name": "Testimonials edit",
"settings": {},
"blocks": [
{
"type": "testimonial",
"settings": {}
},
{
"type": "testimonial",
"settings": {}
},
{
"type": "testimonial",
"settings": {}
}
]
}
]
}
{% endschema %}