Shopify themes, liquid, logos, and UX
Hi, I thought it would be quite simple to add some code functionality to make my slideshow images clickable (I'm using the studio theme) But all new code I've tried either doesn't work or causes issues (random text saying liquid error could not find asset snippets/iconcaret.liquid) amongst others on the image...
I'm surprised this is so tricky and isn't already built in. A clickable main image on a homepage is pretty important...
Has anybody else found a solution to this? I've tried every hack and code going on previous posts,
Thanks in advance!
Sam
Solved! Go to the solution
This is an accepted solution.
Hi @SamPaine22,
Open slideshow.liquid file and search for <div class="slideshow__text code and the following code above it:
<a href="{{ block.settings.image_link }}" style="display: block;position: absolute;width: 100%;height: 100%;left: 0;top: 0;z-index: 999;"></a>
Search for image_picker code in slideshow.liquid file and paste this piece of code just after it:
{
"type": "url",
"id": "image_link",
"label": "Image Link"
},
Hi @SamPaine22,
Thank you for reaching out to the Shopify community. I'd be glad to assist you. Could you kindly share your store URL and
password (if it’s password-protected) so I can review it and provide you with an update?
This is an accepted solution.
Hi @SamPaine22,
Open slideshow.liquid file and search for <div class="slideshow__text code and the following code above it:
<a href="{{ block.settings.image_link }}" style="display: block;position: absolute;width: 100%;height: 100%;left: 0;top: 0;z-index: 999;"></a>
Search for image_picker code in slideshow.liquid file and paste this piece of code just after it:
{
"type": "url",
"id": "image_link",
"label": "Image Link"
},
Thank you so much - that's worked for me!
Great 😊 @SamPaine22
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025