Collection list image is not clickable after I made some changes

Solved

Collection list image is not clickable after I made some changes

AnSrSi
Excursionist
31 1 15

Hi there,

I made some changes to the collection list like placing the card content above the collection image, and added drop shadow to the card heading.

After I did that only the card heading is clickable now and the collection images can't be clicked. I need a solution for this.

 

store- valcoure.store

 

Thank You

Accepted Solution (1)

Moeed
Shopify Partner
7707 2070 2551

This is an accepted solution.

Hey @AnSrSi 

 

In your collection-card.liquid file, you just simply have to drag the anchor (a) tag right before the img tag so that it makes the entire image clickable. It will require code changes so it's recommended to hire a Shopify developer if you're not familiar with coding. Feel free to let me know if you want me to help with that and I would be more than happy to give a helping hand.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
7707 2070 2551

This is an accepted solution.

Hey @AnSrSi 

 

In your collection-card.liquid file, you just simply have to drag the anchor (a) tag right before the img tag so that it makes the entire image clickable. It will require code changes so it's recommended to hire a Shopify developer if you're not familiar with coding. Feel free to let me know if you want me to help with that and I would be more than happy to give a helping hand.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


AnSrSi
Excursionist
31 1 15

Thanku @Moeed 

for helping me understand the problem.

I put the img tag inside

<a href="{{ card_collection.url }}">

</a>

and it worked 

Thanku once again.

Moeed
Shopify Partner
7707 2070 2551

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications