Liquid, JavaScript, themes, sales channels
So I use <a href="LINK"> to turn an image into a link, however when I do this, it also turns everything below it, into a link!
Is there some piece of code I should put after my image code to stop this from happening? Thanks!
Solved! Go to the solution
This is an accepted solution.
i think you forget to close the a tag
<a href="LINK.com">
<img src="{{ 'IMAGE.jpg' | asset_url }}" style="height: Ypx; width: Xpx" title="My image">
</a>
can you please show me the full code do you use ?
Sure, the code I use is:
<center>
<a href="LINK.com">
<img src="{{ 'IMAGE.jpg' | asset_url }}" style="height: Ypx; width: Xpx" title="My image" />
This is an accepted solution.
i think you forget to close the a tag
<a href="LINK.com">
<img src="{{ 'IMAGE.jpg' | asset_url }}" style="height: Ypx; width: Xpx" title="My image">
</a>
Thanks!!
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