Solved

Adding a link to header logo, which was uploaded into code from an .SVG file to HTML.

learner8
Tourist
9 0 2

Hi,

I am trying to add a link to my logo in header, i have recently coded in the logo via HTML code as it was better quality from an .SVG file. But i wanted to be able to add a link back to the home page over the image but it isn't working. Can anyone help? 

I have tried adding this code:

Screenshot 2021-07-29 at 22.13.19.png

Accepted Solution (1)

g33kgirl
Shopify Partner
390 109 142

This is an accepted solution.

Your anchor tag is incorrect. You're missing the a from anchor tag. The code should be:

 

<p>
   <a href="https://www.southspot.co.uk">
      <img src=""  alt="" />
   </a>
</p>

 

 

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl
If you're not comfortable with code, please modify code files at your own risk.

View solution in original post

Replies 3 (3)

PaulNewton
Shopify Partner
6274 572 1315

typing out text from an image is kinda of annoying please provide actual code so you can help others help you.

Does that url work?

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


g33kgirl
Shopify Partner
390 109 142

This is an accepted solution.

Your anchor tag is incorrect. You're missing the a from anchor tag. The code should be:

 

<p>
   <a href="https://www.southspot.co.uk">
      <img src=""  alt="" />
   </a>
</p>

 

 

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl
If you're not comfortable with code, please modify code files at your own risk.
learner8
Tourist
9 0 2

Worked like a charm. Thank you.