Shopify themes, liquid, logos, and UX
Hello,
The rich text block has the built in option to add links to the body text, however it does not have this option for the "heading". As the heading is much more noticeable and therefore easier for customers to see, I would like to use the heading as the main text and simply add a link to it - however this is not possible. Is there any way to write the code to allow for this?
The code for this page section looks like this:
"3506663d-7f8d-4886-a57d-9d1f6d129919": {
"type": "rich-text",
"blocks": {
"template--15123857047625__3506663d-7f8d-4886-a57d-9d1f6d129919-1675887578d1a62ed8-1": {
"type": "text",
"settings": {
"text": "<p><a href=\"\/pages\/twin-goddess-coffee-collection\" target=\"_blank\" title=\"Twin Goddess Coffee Collection\">Shop All<em><strong> <\/strong><\/em><\/a><em><strong>⠀⠀⠀⠀⠀<\/strong><\/em><a href=\"\/products\/coffee-tasting-artisan-workshop\" target=\"_blank\" title=\"Coffee Tasting & Artisan Workshop\">Book Now<\/a><\/p>"
}
},
"f8b93afd-d5c6-4c2e-81e8-53002a079147": {
"type": "heading",
"settings": {
"heading": "Shop All ⠀⠀⠀⠀⠀Book Now",
"heading_size": "h2"
}
}
},
"block_order": [
"template--15123857047625__3506663d-7f8d-4886-a57d-9d1f6d129919-1675887578d1a62ed8-1",
"f8b93afd-d5c6-4c2e-81e8-53002a079147"
],
"settings": {
"color_scheme": "accent-2",
"full_width": false,
"padding_top": 16,
"padding_bottom": 16
}
},
Hi, did you find a solution for this? Thanks.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025