Hey guys, how can I add a link to an image in the “Image with Text” section?
Specifically to this image:
I want it so that when I click on the image, it takes me to this page: https://1049xn-ya.myshopify.com/products/editing-masterclass
Here’s the link to my store and to the section: https://1049xn-ya.myshopify.com/
Thanks a lot!
Tim
1 Like
image-with-text__media image-with-text__media–adapt global-media-settings background-transparent media search about the dev with that class and wrap it with tag and put the link that you want
Hi @CreatorTim
Open your image-with-text.liquid file, find those line of code
{{
section.settings.image
| image_url: width: 1500
| image_tag: sizes: sizes, widths: widths, fetchpriority: fetch_priority
}}
Add this code above it
{%- for block in section.blocks -%}
{% if block.settings.button_link != blank %}
product link
{% endif %}
{%- endfor -%}
1 Like