Jump to content

York - Redirecting Logo Link

Go to solution Solved by Web_Solutions,

Recommended Posts

  • Solution

Add these code on Code Injection panel in Website Utilities Website Tools > Code Injection.

<script src="https://code.jquery.com/jquery-3.6.3.min.js"></script>
<script>
  $(function(){
    $('.logo-image a').attr("href","/work");
  });
</script>

 

Screenshot_213.png

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
  • 1 month later...
On 11/28/2023 at 8:44 PM, ManoFiga said:

Hi again, any ideas why re-directing does not work on mobile? 

York Mobile uses a different class name, try this new code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
  $(function(){
    $('.logo-image a, .mobile-branding-wrapper a').attr("href","/work");
  });
</script>

If it doesn't work, you can share link to your York site, we can help easier

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.