Hi!
I have the following testimonials section in the home page of my theme, as shown below (authors are edited out of pic) and I wish to change the color of the author’s name, which is currently shown in the same color of the testimonial itself.
The code for the section is as follows:
{{ section.settings.title | escape }}
{%- endif -%}{%- if section.blocks.size > 0 -%}
{%- if block.settings.testimonial != blank -%}{{ block.settings.testimonial }}{%- endif -%} {%- if block.settings.image != blank -%}{%- assign img_url = block.settings.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}{%- endif -%} {%- if block.settings.author != blank -%} {{ block.settings.author | escape }} {%- endif -%}![]()
{% schema %}
{
“name”: “t:sections.testimonials.name”,
“max_blocks”: 10,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “t:sections.testimonials.settings.title.label”,
“default”: “Testimonials”
},
{
“type”: “select”,
“id”: “align_text”,
“label”: “t:sections.testimonials.settings.align_text.label”,
“default”: “center”,
“options”: [
{
“value”: “left”,
“label”: “t:sections.testimonials.settings.align_text.options.left.label”
},
{
“value”: “center”,
“label”: “t:sections.testimonials.settings.align_text.options.center.label”
}
]
},
{
“type”: “checkbox”,
“id”: “round_images”,
“label”: “t:sections.testimonials.settings.round_images.label”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “alt”,
“label”: “t:sections.testimonials.settings.alt.label”
}
],
“blocks”: [
{
“type”: “testimonial”,
“name”: “t:sections.testimonials.blocks.testimonial.name”,
“settings”: [
{
“type”: “richtext”,
“id”: “testimonial”,
“label”: “t:sections.testimonials.blocks.testimonial.settings.testimonial.label”,
“default”: “
Add customer reviews and testimonials to showcase your store’s happy customers.
”},
{
“type”: “image_picker”,
“id”: “image”,
“label”: “t:sections.testimonials.blocks.testimonial.settings.image.label”
},
{
“type”: “text”,
“id”: “author”,
“label”: “t:sections.testimonials.blocks.testimonial.settings.author.label”,
“default”: “Author’s name”
}
]
}
],
“presets”: [
{
“name”: “t:sections.testimonials.presets.testimonials.name”,
“blocks”: [
{
“type”: “testimonial”
},
{
“type”: “testimonial”
}
]
}
]
}
{% endschema %}
Thanks in advance.
