All things Shopify and commerce
The button position of the banner image is not aesthetic.
Is it possible to make the banner image a clickable, leading to a product page?
Thanks
Solved! Go to the solution
This is an accepted solution.
Hi @Ancientrome, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find image-banner.liquid file
Step 3: Paste this code before {% schema %} tag:
<script>
document.addEventListener("DOMContentLoaded", () => {
const bannerEl = document.querySelector(".banner");
bannerEl?.addEventListener("click", () => {
window.location.href = "/" // Replace url if you need
})
})
</script>
If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @Ancientrome, can you share us your store url?
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Sorry but I don't want to make it public. I don't have any custom coding done on the site. The theme is Dawn 15.2.0
This is an accepted solution.
Hi @Ancientrome, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find image-banner.liquid file
Step 3: Paste this code before {% schema %} tag:
<script>
document.addEventListener("DOMContentLoaded", () => {
const bannerEl = document.querySelector(".banner");
bannerEl?.addEventListener("click", () => {
window.location.href = "/" // Replace url if you need
})
})
</script>
If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Wow it worked!!! Thank you
Hi @Ancientrome
You can follow the instructions in this article to do that
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This didn't work for me unfortunately.
You still need to dad label and link to the button then my code will hide it and URL to your image
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025