What's your biggest current challenge? Have your say in Community Polls along the right column.

Can only one of two image banners on a homepage be made clickable?

Can only one of two image banners on a homepage be made clickable?

AR18
Visitor
2 0 0

I have 2 image banner sections on my homepage.  I only want the first one to be clickable (without a button).  I've tried some of the previous solutions that were posted but when I try them, both of my image banner sections change.  Is what I'm asking even possible?

Replies 2 (2)

YOD_Solutions
Shopify Partner
259 28 37

It depends on what you want to happen after clicking the image. If you want to redirect to a new page, you can enclose your image tag inside "a" tag (<a href="url to the page you want to redirect"><img src="image url"></a>)  or for other actions you can define an event handler using JavaScript.

Founder @ JsRates: Custom Shipping Rates
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more about JsRates visit the JsRates home page or JsRates documentation
- Find JsRates on Shopify app store
AR18
Visitor
2 0 0

I would like to redirect to a product page.  Can you please let me know the steps I need to make to perform this?  Thank you!