Shopify themes, liquid, logos, and UX
Hello!
I'm looking for a solution to make my slideshow images clickable in the Dawn theme. By clicking on the image, you will be redirected to the assigned page. Can anyone help me?
I have followed all the tutorials included here, but it seems that version 15.1 is different because none of them work for me. Thank you.
Solved! Go to the solution
This is an accepted solution.
Check this one, it's one by one instruction.
https://community.shopify.com/c/shopify-design/slideshow-speed-in-the-dawn-theme/m-p/2746078#M719231
Or visit this post.
Let me know if you have difficulties I can guid you.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @Violetacostas
To make slideshow images clickable in the Dawn theme (version 15.1), you can customize the theme's code to wrap the images in a clickable link. Here’s how to do it:
Open the slideshow.liquid file.
Look for the section where the image is being rendered. It will likely look something like this:
To make the image clickable, wrap the <img> tag with an anchor (<a>) tag. Here’s how you can do it:
Replace {{ slide.link }} with the variable that holds the URL you want to link to. If you don't already have this variable, you might need to add a setting in the slideshow's JSON schema to allow for link inputs.
If your slideshow settings don't already include a link field, you'll need to add it:
In the same slideshow.liquid file, locate the JSON schema at the bottom of the file.
Add a setting for the link like this:
This will allow you to specify a link for each slide in the theme editor.
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hello, thank you for responding so quickly and in such detail.
But the code that I should search for that way does not appear, maybe I am looking in the wrong place?
This is an accepted solution.
Check this one, it's one by one instruction.
https://community.shopify.com/c/shopify-design/slideshow-speed-in-the-dawn-theme/m-p/2746078#M719231
Or visit this post.
Let me know if you have difficulties I can guid you.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
We 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, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024