k8pq Posted December 7, 2023 Share Posted December 7, 2023 https://www.kinsmenjournal.com/ I currently have a landing page set-up for the url of my website that required the user to "click to enter". Once you're into the website's "home page" (www.kinsmenjournal.com/home) I'm wanting to set the logo in the navigation to take you back to the www.kinsmenjournal.com/home url upon clicking and not the landing page (kinsmenjournal.com). Is this possible? Link to comment
Ziggy Posted December 8, 2023 Share Posted December 8, 2023 Try adding this to the Footer Code Injection: <!-- Redirect Site Title Logo --> <script> document.querySelector('a#site-title').setAttribute('href', '/home'); </script> Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
k8pq Posted December 8, 2023 Author Share Posted December 8, 2023 @Ziggy Thanks for the reply. Unfortunately that did not work for me. Ziggy 1 Link to comment
Ziggy Posted December 8, 2023 Share Posted December 8, 2023 Sorry that didn't work for you, it worked perfectly in my testing. Can you confirm where you placed the code on your website? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
k8pq Posted December 8, 2023 Author Share Posted December 8, 2023 @Ziggy For sure. I placed it in the site wide footer code injection. Is anything about the code changing for my specific site? Link to comment
tuanphan Posted December 9, 2023 Share Posted December 9, 2023 Currently the site use Logo Image, not Text, so I guess you @Ziggy need to change a#site-title to .header-title-logo a, .header-mobile-logo a Ziggy 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
k8pq Posted December 11, 2023 Author Share Posted December 11, 2023 Yes, @tuanphan that worked. Thanks to you both! This is what I ultimately used and it worked: <!-- Redirect Site Title Logo --> <script> document.querySelector('.header-title-logo a, .header-mobile-logo a').setAttribute('href', '/home'); </script> tuanphan 1 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