New Shopify Certification now available: Liquid Storefronts for Theme Developers

Dawn Theme: Make the collection card or image clickable, not just the button

Shopify Partner
1 0 0


I customised the button and it goes above the image, but it isn't clickable and it makes it tricky on mobile and even some desktop, as if you don't click exactly on the button it doesn't work. How to make the whole collection card (images + button) clickable? 



Screenshot 2023-09-29 at 15.00.47.jpg

Reply 1 (1)
Shopify Partner
94 6 13

You need to warp your card element using a tag like this
<a href="https://your.url">

 <card el>

Jak | Top Rated Shopify Dev @ Upwork
- Shopify Blog
- Check my youtube: Hey Jak
Was your question answered? Mark it as an Accepted Solution.