Liquid, JavaScript, themes, sales channels
hello all,
on my home page i have a bunch of images i want to make clickable to go off to other parts of the site, this is the website - https://whitedragonteas.co.uk/ as you will see under the heading "the finest tea's and teaware" there is 6 pictures, these are the images i want to make clickable. I haver followed the guides on this forum on adding custom code to allow to do this and it seemed to work as i got the option to image link as you can see -
so I thought brillant!! its worked and we about adding the links to the pictures.. But the images are not clickable and i am really not sure why?? all peoples guides I can find on here indicates I have done the right thing so i am assuming I am being stupid and missed something, can anyone help or suggest why these images are not clickable?
Solved! Go to the solution
This is an accepted solution.
You're welcome @mattdragontea
If you mark this post as the solution, I'd be grateful.
If you need anything else, just let me know.
not to sound like a dummy but can you expand on that a little with an example?
Of course.
On the image you posted, look at the bottom field.
Did you enter a link address which the user gets sent to upon clicking?
hmm i am just wondering if theres something missing code wise? like i need to add something else somewhere else, shopify sure dont make this easy.... but i am a student of programming only been at it for 6 months and still learning.
yep done and added, should be able to access.
Hello @mattdragontea
I added an option for you in which if you add a url, clicking on the image takes you to that url. I left it open so you just have to type out the url .
It works on all sections like it. However, if you don't type anything on that block, clicking on the image will do nothing (as it does now).
https://ri8itlp4scwtuyiu-51243253912.shopifypreview.com
This is on the duplicate theme. Go edit that theme to try it out. If you are happy with it, let me know.
click on the first image. It goes to google for example.
thats perfect, thank you... easy to replicate i hope.. thank you this is exactly what was needed.
This is an accepted solution.
You're welcome @mattdragontea
If you mark this post as the solution, I'd be grateful.
If you need anything else, just let me know.
What is the solution? I'm not able to see any code or the suggestions. Please advise.
i get what you mean and yes i have done that, but dont want a button, want the image to be clickable, so added the url in button link and saved..... made no diffrence -
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024