shaundesigner Posted November 10, 2023 Posted November 10, 2023 Hi guys im trying to change the Header logo URL with the code below, but its not working. Can anyone help me please? very new to code. <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.learnonlinevideo.co.uk"); }); </script>
Ziggy Posted November 10, 2023 Posted November 10, 2023 Can you share your website URL? Where are you adding this code? 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
shaundesigner Posted November 10, 2023 Author Posted November 10, 2023 www.learnonlinevideo.shop im trying to use it on the header logo show in image
shaundesigner Posted November 10, 2023 Author Posted November 10, 2023 im adding the code here - website/website tools/code-injection
Solution Web_Solutions Posted November 10, 2023 Solution Posted November 10, 2023 37 minutes ago, shaundesigner said: im adding the code here - website/website tools/code-injection Here is the code. Add these code on Code Injection > Header Section. <script src="https://code.jquery.com/jquery-3.6.3.min.js"></script> <script> $(function(){ $('.header-title-logo a').attr("href", "http://www.learnonlinevideo.co.uk"); }); </script> Kobir and shaundesigner 1 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.
shaundesigner Posted November 10, 2023 Author Posted November 10, 2023 2 minutes ago, Web_Solutions said: Here is the code. Add these code on Code Injection > Header Section. <script src="https://code.jquery.com/jquery-3.6.3.min.js"></script> <script> $(function(){ $('.header-title-logo a').attr("href", "http://www.learnonlinevideo.co.uk"); }); </script> thank you for that, ive done that but its not directing to the new site??
Web_Solutions Posted November 10, 2023 Posted November 10, 2023 3 minutes ago, shaundesigner said: thank you for that, ive done that but its not directing to the new site?? It is working. You should put the URL here(See the image), there you want to redirect the logo Kobir 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.
shaundesigner Posted November 10, 2023 Author Posted November 10, 2023 Is it working your end? mine must be cacheing
Web_Solutions Posted November 10, 2023 Posted November 10, 2023 1 minute ago, shaundesigner said: Is it working your end? mine must be cacheing See the image. Kobir 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.
shaundesigner Posted November 10, 2023 Author Posted November 10, 2023 1 minute ago, Web_Solutions said: See the image. hey mate, just tested it in another browser and it working thank you soooo much!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment