Adding link to a product page image

Highlighted
Tourist
7 0 1

I added an image at the bottom of my product description and I would like it to link back to the top of the product page.

 

I added this code in the product description html:

<a href="https://mrmopper.com/products/self-cleaning-mop" title="Mr.Mopper Product Page">
<img src="https://cdn.shopify.com/s/files/1/0309/3102/5979/files/1024x2048_fundal_site_blur_Sris_V2_2048x2048.jpg?v=1582652305" alt="[center]">
</a>

But the <a></a> tag doesn't show up on my site and clicking the image does nothing.

 

This is the html on my site after I added the <a> tag:

 

Annotation 2020-02-27 111448.png

 

0 Likes
Highlighted
Trailblazer
192 33 46

Hi,

I think it is because you are already at the page.

To scroll to the top you need some js.

0 Likes
Highlighted
Tourist
7 0 1

Hi, I tried changing the link to a different and to a different website but I still doesn't work.

0 Likes
Highlighted
Trailblazer
192 33 46

Capture.JPG

 

You must click the icon shown at the red arrow before you edit in html.

Tested and worked.

0 Likes
Trailblazer
192 33 46

Edit:

You will need js to scroll to top.Otherwise i think the page will just reload.

0 Likes
Highlighted
Tourist
7 0 1

Thank you for your response. I have edited the html code with the button you described, however, adding the <a></a> tag around the image did nothing. Could you show me what you added in the html to make it work?

0 Likes
Highlighted
Trailblazer
192 33 46

Hi,

 

In this case you may contact support fr shopify.It worked on my end.

0 Likes