Slideshow without Button - Minimal Theme

Slideshow without Button - Minimal Theme

Matt__Neal
Visitor
2 0 0

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.

 

Replies 2 (2)

Small_Task_Help
Shopify Partner
771 25 68

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 %}
To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad
Matt__Neal
Visitor
2 0 0

Hi, 

 

Thank you for this.

 

Where abouts in the code would I copy this into?

 

Thank you.