All things Shopify and commerce
Hi , Im trying to make it where my Image Banner is clickable without a button being displayed.
Use this code:
<div class="image-banner">
<a href="{{ image_banner.url }}">
<img src="{{ image_banner.image_src }}" alt="{{ image_banner.alt_text }}">
</a>
<div class="image-banner-content">
<h2>{{ image_banner.title }}</h2>
<p>{{ image_banner.description }}</p>
<a href="{{ image_banner.button_url }}">{{ image_banner.button_text }}</a>
</div>
</div>
Where does the URL go that I want the image to link to?
I have put the above code in but can't work out the next step...
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