thirdeyegyps Posted April 14, 2021 Share Posted April 14, 2021 Site URL: https://alexandrahall.squarespace.com Hey everyone, trying to link the SVG image in my footer to the home page of the website. I don't have a "home button" so the icon "Casco Botanicals" in the footer will be the only icon to get viewers back to the home page. I'm having a ton of trouble doing this. Any help? Password: brineintopedro Link to comment
Solution creedon Posted April 14, 2021 Solution Share Posted April 14, 2021 (edited) 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 April 14, 2021 by creedon thirdeyegyps, Sarg and tuanphan 2 1 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
thirdeyegyps Posted April 14, 2021 Author Share Posted April 14, 2021 1 hour ago, creedon said: Wrapping your SVG code in an anchor tag should do the trick. <a href="/"> [insert svg code here] </a> Let us know how it goes. THANK YOU SO MUCH! Totally worked. creedon 1 Link to comment
creedon Posted April 14, 2021 Share Posted April 14, 2021 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. thirdeyegyps 1 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
thirdeyegyps Posted April 14, 2021 Author Share Posted April 14, 2021 1 hour ago, creedon said: 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. Will do! Thanks again! Link to comment
DENIALK Posted October 22, 2023 Share Posted October 22, 2023 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. Link to comment
Web_Solutions Posted October 22, 2023 Share Posted October 22, 2023 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"> DENIALK 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment