Shopify themes, liquid, logos, and UX
Hey!
Loving the new theme Colorblock.
But I want to make the images clickable on the front page.
All of the images in the dif. blocks in the themes should, IMO be clickable.
Is there a way to do that ?
hi @jenny123456778 ,
if you want the images clickable, you should be add the link for each them i mean here is tag <a>, so the link can adding from in customize blocks or you need do it in the code.
Hope can helpful to you!
Where exactly do you add that?
Do you want add the link at here, right?
=> If do that, you can going to customize settings theme, maybe the theme support for add the url for each settings of images.
If not you go to the file .liquid and add the link follow this way:
<div class="collage-card color-accent-2">
<div class="media media--transparent ratio" style="--ratio-percent: 153.6111111111111%">
<a href="#link_here">
<img .....>
</a>
</div>
</div>
- In the case you don't want use the hard code, so you make a option url settings for set link for image in schema of section
{
"type": "url",
"id": "button_link",
"label": "Button link"
}
Would also love to know how to do this. Did you manage to find a solution?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024