Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

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

Gruezi
Shopify Partner
1 0 0

 

Hi, 
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? 


thanks 

 

Screenshot 2023-09-29 at 15.00.47.jpg

Reply 1 (1)

Hey_Jak
Shopify Partner
131 9 24

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

 <card el>
</a>

❤️ Buy me a coffee
- Check my youtube: Hey Jak
Was your question answered? Mark it as an Accepted Solution.