Jump to content

Linking an SVG image in footer to home page

Go to solution Solved by creedon,

Recommended Posts

  • Solution

Wrap your SVG code in the following should do the trick.

<a href="/">

  <span style="display : block;">
  
    [insert svg code here]
    
    </span>
    
  </a>

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

I've updated my code. It is apparently more correct to do it this way. If you're interested you can read about block level elements inside inline-elements on the web.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 2 years later...
58 minutes ago, DENIALK said:

Hi,  this worked for me too! Thanks.

Is there any way to link to other pages not just HOME page. I created a separate page as a Menu and would like to link to that page

Thanks.

Yes. Just put here your page slug like <a href="/blog">

Screenshot_290.png

Screenshot_289.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.