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

Solved
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

0 Likes
PaulNewton
Shopify Partner
2849 163 528

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?

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
0 Likes
g33kgirl
Shopify Partner
321 95 110

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.

0 Likes