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!!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024