All things Shopify and commerce
I'd like to add a link to the entire Image Banner so when customers click anywhere on the home page banner they're brought to a different page. I prefer a clickable banner over the built-in option of using a button.
My Site: thedallasfamily.com
Thanks in advance!
Thank you for reaching out to the Shopify community.
To make the whole image banner a link to another page, you have to add the code of the banner inside the anchor tag (<a>).
Go, to your theme editor and search for a file named image-banner.liquid in the Sections folder.
There before the div with banner id you have to insert an <a> tag linking to another page.
Screen shot for reference:-
And don't forget to close the <a> tag.
Now if i click on my image banner it will take me to the collections page.
Please give it a try and let me know if this was helpful.
Thanks
Hi Harsita,
Thank you for this information. I used it and it works really well. However I want to redirect it to a url, not to a collections page. I want to redirect my image banner to my instagram page. how do I do this please?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024