Goal: Make the homepage hero/image blocks clickable in Shopify (mainly Debut), linking to a collection or URL.
Working approach (Debut):
Add a URL setting to the section schema (JSON) after the existing “button_label” entry: {“type”:“url”,“id”:“image_link”,“label”:“Image link”}.
Wrap the hero content (or the image) with … in hero.liquid. For Image with Text (feature-row.liquid), use section.settings.image_link; for Text columns with images (feature-columns.liquid), use block.settings.image_link.
Common issues and fixes:
Invalid JSON: place the new field inside the {% schema %} … {% endschema %} block, with correct commas and quotes, typically right after “button_label”.
Link saved but not working or redirects to homepage: use the correct scope (section vs block) matching the file/section.
Image becomes oversized/zoomed after wrapping: wrap the parent wrapper/div (above the ) instead of the itself to preserve sizing.
Theme notes:
Debut: multiple confirmations and file-specific examples (hero.liquid, feature-row.liquid, feature-columns.liquid). A slideshow tutorial was referenced.
Minimal/Boundless/Supply: users asked; no confirmed final fix reported.
Status: Partially resolved for Debut with code examples; outstanding issues remain for other themes and some layouts. Screenshots were used to illustrate code placement.
I’m looking to make the main image on my homepage (image with text overlay) clickable so that I can attach a link to it and it will take customers to a collection page from the homepage.
Where should I enter the schema you gave me? I believe I entered it in the wrong area because it’s displaying the code below the images and it isn’t giving me the option to add the link.
I am trying to do the same thing, add image link to “Image with Text” section in debut theme. I do not see the place to add the schema you gave. It is saying this,
Error: Invalid JSON in tag ‘schema’. Can you please help me?
I’ve successfully added to the schema and can now see the option to add an Image Link (woo!).
However, I select a collection for the link and save but no changes have taken place on the live site. The link is saved and showing but is not appearing as an option when I hover over the image.
Im experiencing the same issue. I followed the steps on replacing the code area but now my photo is way larger than it was before and I cant edit the size. Its very zoomed in. Any help on how to fix this??
We have successfully added the codes, however Link placeholder is not showing in the page section editor. Where can we place our url? We wanted to make images below clickable.
We have successfully added the codes in the feature-columns.liquid section, however it ruins the homepage layout and the url attached is not working instead we are redirected to homepage when clicked.
I managed to get an image link field with this code. Thought that was it but after entering URL the image is still not clickable. Any thoughts would be super helpful. Thanks