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...
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024