Lucidmoon Posted January 5 Share Posted January 5 Hi there, I created a landing page for my site, but I want the site title in the header to link back to the homepage not the landing page. Can anyone help with Custom Code for this? Attached is the landing page, which the site title currently links back to. And the homepage, which is where I want the site title to link back to. Thanks so much for any help! Kate Link to comment
Web_Solutions Posted January 6 Share Posted January 6 9 hours ago, Lucidmoon said: Hi there, I created a landing page for my site, but I want the site title in the header to link back to the homepage not the landing page. Can anyone help with Custom Code for this? Attached is the landing page, which the site title currently links back to. And the homepage, which is where I want the site title to link back to. Thanks so much for any help! Kate Sure! Can you share the home page URL? 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
Lucidmoon Posted January 6 Author Share Posted January 6 Yes! Thank you 🙂 It's http://lucidhealingmoon.com/home Link to comment
Solution Web_Solutions Posted January 7 Solution Share Posted January 7 15 hours ago, Lucidmoon said: Yes! Thank you 🙂 It's http://lucidhealingmoon.com/home Here is the code. Add these code on Code Injection panel in Website > Utilities > Website Tools > Code Injection. Please add the code on Header section <script src="https://code.jquery.com/jquery-3.6.3.min.js"></script> <script> $(function(){ $('#site-title').attr("href","/home"); }); </script> 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
Lucidmoon Posted January 8 Author Share Posted January 8 Wahoo! It worked, thank you so much! Link to comment
Web_Solutions Posted January 8 Share Posted January 8 4 hours ago, Lucidmoon said: Wahoo! It worked, thank you so much! Welcome! tuanphan 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
misterbb Posted February 26 Share Posted February 26 On 1/8/2024 at 4:27 AM, Web_Solutions said: Welcome! Hi, this code works for desktop only. Do you know how to make it work on mobile as well? Thanks! Link to comment
tuanphan Posted February 29 Share Posted February 29 On 2/26/2024 at 11:59 PM, misterbb said: Hi, this code works for desktop only. Do you know how to make it work on mobile as well? Thanks! I think that code should work on both desktop + mobile. If you still have problem, you can share link to your site, we can check easier Web_Solutions 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
isabellalove Posted June 28 Share Posted June 28 Can you show me how to do that for my website please? Link to comment
Web_Solutions Posted June 29 Share Posted June 29 On 6/28/2024 at 3:32 PM, isabellalove said: Can you show me how to do that for my website please? What is your website URL? 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