Re: How to make images clickable on collection page

Solved

How to make images clickable on collection page

ascended
Excursionist
19 0 2

 Hello, I am trying to make the images on my shop all page clickable rather than just the link. I also want to remove the underline on the title of the item when hovering over it. I have already tried wrapping various codes with "<a href="{{ product.url }}">{{ product.title }}</a>" but it seems to not do anything. (I'm probably doing it wrong?) How do I go about this? Thanks in advance

image.png

store: link 

store password: first

page: shop all

Accepted Solution (1)

Asad-Mahmood
Trailblazer
156 33 38

This is an accepted solution.

This can be done by modifying your theme code.
You can do this by warping the image inside <a> tag and in href attribute use this value {{ product.url }}

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





View solution in original post

Replies 2 (2)

Asad-Mahmood
Trailblazer
156 33 38

This is an accepted solution.

This can be done by modifying your theme code.
You can do this by warping the image inside <a> tag and in href attribute use this value {{ product.url }}

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





ascended
Excursionist
19 0 2

This did don't work for me, is there something else I can try?