mlucero1027 0 Share Posted April 26, 2020 Site URL: http://www.mercedeslucero.com I want to change the site title logo URL. I have scoured the forums but none of the suggested codes have worked for me. Site: www.mercedeslucero.com Home page: www.mercedeslucero.com/home pw: squarespace1 Link to post
1 tuanphan 8,965 Share Posted May 2, 2020 On 5/1/2020 at 8:03 AM, darleneboza said: I use personal account, can I still do this? You need Business Plan or higher. Add to Home > Settings > Advanced > Code Injection > Footer <script> document.querySelector('a#site-title').setAttribute('href', 'https://beaverhero.com'); </script> You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
1 tuanphan 8,965 Share Posted September 18, 2020 On 9/15/2020 at 5:05 PM, HWE said: Hi, thanks so much for the above... for some reason this doesn't work for the mobile version of the site, the logo is still linking to the landing page instead of the 'home.' Did I do something wrong? I put the script here, Home / settings / advanced / code injector / footer Thanks so much for your help! Try this new code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-title a').attr('href','https://beaverhero.com'); }); </script> bigpoppapaul 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
1 anycloud 2 Share Posted November 23, 2020 I solved it by using this code Home / Settings / Advanced / Code Injection / Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', '/PAGENAME'); </script> Where PAGENAME = the pagename (after the domain name) bigpoppapaul and tuanphan 1 1 Link to post
1 tuanphan 8,965 Share Posted November 23, 2020 On 11/22/2020 at 3:35 PM, jrf93 said: Hey Tuan, Site wide if possible so that if they're on the shop page and they click the logo it would take them back to /home-page-2 instead of the cover page which is set up to be like a landing page.. 🙂 Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-title-logo a').attr('href','https://beaverhero.com'); }); </script> Replace beaverhero with new url You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 tuanphan 8,965 Share Posted April 26, 2020 Hi. This needs some custom code. Which plan do you use? Personal, BUsiness...? You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 darleneboza 0 Share Posted May 1, 2020 On 4/26/2020 at 3:46 PM, tuanphan said: Hi. This needs some custom code. Which plan do you use? Personal, BUsiness...? I use personal account, can I still do this? Link to post
0 Matt-NBH 0 Share Posted May 20, 2020 On 5/2/2020 at 2:31 PM, tuanphan said: You need Business Plan or higher. Add to Home > Settings > Advanced > Code Injection > Footer <script> document.querySelector('a#site-title').setAttribute('href', 'https://beaverhero.com'); </script> Hey! Would you be able to help me link my site logo to my site /shop page? Been trying all day with a multitude of code but to no avail! I'm using the Brine theme in 7.1 commercial. www.neighbourhoodxdeli.comneighbourhoodxdeli.com Many thanks! Matt Link to post
0 tuanphan 8,965 Share Posted May 21, 2020 21 hours ago, Matt-NBH said: Hey! Would you be able to help me link my site logo to my site /shop page? Been trying all day with a multitude of code but to no avail! I'm using the Brine theme in 7.1 commercial. www.neighbourhoodxdeli.comneighbourhoodxdeli.com Many thanks! Matt Add to Home > Settings > Advanced > Code Injection > Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', 'https://beaverhero.com'); </script> replace beaverhero with your shop page url HelenCrozier and Matt-NBH 2 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 RyanDejaegher 130 Share Posted June 19, 2020 @ipratt, you'll need to share the site password to help troubleshoot Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan Link to post
0 HWE 0 Share Posted September 6, 2020 Hi, This worked well for me on the desktop website thanks so much! Is there a way to change the logo link on the mobile site as well? www.hotwireextensions.com Many thanks for your help! Link to post
0 tuanphan 8,965 Share Posted September 6, 2020 I don't see logo. Can you share link to exact page? 5 hours ago, HWE said: Hi, This worked well for me on the desktop website thanks so much! Is there a way to change the logo link on the mobile site as well? www.hotwireextensions.com Many thanks for your help! You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 HWE 0 Share Posted September 12, 2020 Hi, yes I had some issues with a disappearing logo, but its back again now... https://www.hotwireextensions.com/home I would really like the logo link for the mobile site to go back to the above page Thanks so much! Link to post
0 tuanphan 8,965 Share Posted September 13, 2020 15 hours ago, HWE said: Hi, yes I had some issues with a disappearing logo, but its back again now... https://www.hotwireextensions.com/home I would really like the logo link for the mobile site to go back to the above page Thanks so much! <script> document.querySelector('.header-title a').setAttribute('href', 'https://beaverhero.com'); </script> You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 HWE 0 Share Posted September 15, 2020 Hi, thanks so much for the above... for some reason this doesn't work for the mobile version of the site, the logo is still linking to the landing page instead of the 'home.' Did I do something wrong? I put the script here, Home / settings / advanced / code injector / footer Thanks so much for your help! Link to post
0 jrf93 0 Share Posted November 20, 2020 Hi thanks for sharing the above code. For some reason this doesnt work for me and when I enter the code all of my links show up with a black box when hovering. The link in my logo currently directs to playedoutevents.com.au (which is our "cover/home page") we would like it to link to playedoutevents.com.au/home-page-2 (which we'd like to have as our official home page) Would love any help you can provide 🙂 Link to post
0 tuanphan 8,965 Share Posted November 22, 2020 On 11/21/2020 at 5:49 AM, jrf93 said: Hi thanks for sharing the above code. For some reason this doesnt work for me and when I enter the code all of my links show up with a black box when hovering. The link in my logo currently directs to playedoutevents.com.au (which is our "cover/home page") we would like it to link to playedoutevents.com.au/home-page-2 (which we'd like to have as our official home page) Would love any help you can provide 🙂 Chage logo link site wide or cover page only? jrf93 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 jrf93 0 Share Posted November 22, 2020 4 hours ago, tuanphan said: Chage logo link site wide or cover page only? Hey Tuan, Site wide if possible so that if they're on the shop page and they click the logo it would take them back to /home-page-2 instead of the cover page which is set up to be like a landing page.. 🙂 Link to post
0 bigpoppapaul 2 Share Posted December 12, 2020 On 11/23/2020 at 4:50 AM, anycloud said: I solved it by using this code Home / Settings / Advanced / Code Injection / Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', '/PAGENAME'); </script> Where PAGENAME = the pagename (after the domain name) Thank you for this @anycloud, I was really struggling with this and this is the only solution that worked for me. Link to post
Question
mlucero1027 0
Site URL: http://www.mercedeslucero.com
I want to change the site title logo URL. I have scoured the forums but none of the suggested codes have worked for me.
Site: www.mercedeslucero.com
Home page: www.mercedeslucero.com/home
pw: squarespace1
Link to post
Top Posters For This Question
8
3
2
2
Popular Days
May 21
2
Apr 26
2
Sep 6
2
Nov 22
2
Top Posters For This Question
tuanphan 8 posts
HWE 3 posts
Matt-NBH 2 posts
jrf93 2 posts
Popular Days
May 21 2020
2 posts
Apr 26 2020
2 posts
Sep 6 2020
2 posts
Nov 22 2020
2 posts
Popular Posts
tuanphan
Add to Home > Settings > Advanced > Code Injection > Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', 'https://beaverhero.com'); </script&
anycloud
I solved it by using this code Home / Settings / Advanced / Code Injection / Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', '/PAGENAME'); </scr
tuanphan
Try this new code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-title a').attr('hr
19 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment