All things Shopify and commerce
Hello,
I am after some help regarding the Minimal Theme and adding a link to a slideshow without the use of a button.
I am trying to use a slideshow on the homepage of my website using the Minimal Theme.
However it will not allow me to add a link to another page or collection with adding a button.
Is there a way I can add a link to a collection without the use of a button so that I can use my own image?
Thank you.
Hi,
Find the Slideshow Code and modify it
Code example
{% for slide in section.settings.slides %}
<img src="{{ slide.image | img_url: 'master' }}" alt="{{ slide.image.alt }}">
{% endfor %}
Use anchor for make it clickable
Code example
{% for slide in section.settings.slides %}
<a href="{{ slide.link }}">
<img src="{{ slide.image | img_url: 'master' }}" alt="{{ slide.image.alt }}">
</a>
{% endfor %}
Hi,
Thank you for this.
Where abouts in the code would I copy this into?
Thank you.
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024