Guest Posted December 18, 2016 Share Posted December 18, 2016 What about for the logo in the shopping cart during checkout?? I don't want it to go to my homepage. I've tried targeting, but unable to make it work yet. Link to comment
Guest Posted February 15, 2017 Share Posted February 15, 2017 Hi, I'm trying this on https://about.curiosity.com but this isn't working. Trying to make the logo go to https://curiosity.com. Any advice? Link to comment
Guest Posted February 15, 2017 Share Posted February 15, 2017 hi i'm using Rally template on about.curiosity.com and looking for what to update. any help? Link to comment
Stephaniespecht Posted August 21, 2017 Share Posted August 21, 2017 I am using the Kent template and would like my logo to clickthrough to another page (within my site) instead of the cover page. How do I do this? Graphic Designer from Antwerp, Belgium Link to comment
Stephaniespecht Posted August 21, 2017 Share Posted August 21, 2017 I am using the Kent template and would like my logo to clickthrough to another page (within my site) instead of the cover page. How do I do this? Graphic Designer from Antwerp, Belgium Link to comment
tiagorhenriques Posted August 27, 2017 Share Posted August 27, 2017 My solution to discover what I should add instead of '.logo a' could work for other templates as well. It was this: open Website right click, 'view page source' (or press 'Ctrl+U') Press 'Ctrl + F' (shortcut to 'find in text') Write 'logo' In my source code there were 9 words 'logo'. In one of them (listed as 'logo-image'), there was a link with the image I added to squarespace as logo. So that was the equivalent for '.logo a' in the York template. I don't know how to code, but it worked. So I assume it should work for you as well. Link to comment
tiagorhenriques Posted August 27, 2017 Share Posted August 27, 2017 York template, the solution (remember to substitute www.google.com for the URL you want the logo to redirect you to): <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo-image [href]").attr("href", "http://www.google.com"); }); </script> Link to comment
A_Helping_Hand Posted October 18, 2017 Share Posted October 18, 2017 You can use this version for the Pacific template: <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $("#logoImage.tmpl-loading.logo-image a[href]").attr("href", "http://www.google.com/"); }); </script> The original version didn't work Link to comment
sboke Posted December 6, 2017 Share Posted December 6, 2017 I am having the same problem, within the Mentor template. I tried Benjamin's code but it didn't work. My page is: billbartolotta.com THANKS in advance for any help! Seth Link to comment
sboke Posted December 6, 2017 Share Posted December 6, 2017 I am having the same problem, within the Mentor template. I tried Benjamin's code but it didn't work. My page is: billbartolotta.com THANKS in advance for any help! Seth Link to comment
Jdewey Posted February 5, 2018 Share Posted February 5, 2018 Does anyone have a version that will work for the Moksha template? Link to comment
kheshig Posted February 15, 2018 Share Posted February 15, 2018 Need the same for the Brine template. I inspected the Site ID element and every class and ID I tried to paste over the respective part of the JS didn't work for me :( Link to comment
onewheels Posted December 3, 2018 Share Posted December 3, 2018 For the Burke template (and maybe the whole Brine family) this code works: Link to comment
Tommarshall89 Posted February 6, 2019 Share Posted February 6, 2019 Hi @onewheels - there's no code in your answer. I'm struggling to get this to work for Moksha (Brine family) too. Any help is appreciated! Link to comment
onewheels Posted February 6, 2019 Share Posted February 6, 2019 Strange, the code was there. The answer accepted does not work for Brine family template. Goto Home-->Settings-->Advanced-->Code Injection and add this to the bottom of the header section; modify the 'mysite' links to yours of course: <!-- point logo back to mysite.org --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script> <!-- change the link on desktop --> $(document).ready(function () {document.getElementsByClassName('Header-branding')[0].href="https://www.mysite.org/Home/";}); <!-- change the link on mobile devices --> $(document).ready(function () {document.getElementsByClassName('Mobile-bar-branding')[0].href="https://www.mysite.org/Home/";}); </script> Good Luck! Link to comment
Tommarshall89 Posted February 6, 2019 Share Posted February 6, 2019 Legend - works a treat! Thank you! Link to comment
onewheels Posted February 8, 2019 Share Posted February 8, 2019 I like the simple clean code; but in my case I need the logo to link to an outside URL. Thanks for providing another nice option wiriamu! Link to comment
Varzel Posted September 17, 2019 Share Posted September 17, 2019 Thank you Much, this works PERFECT!!!!!!!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.