Jump to content

how to change the link of where my site title takes a user

Recommended Posts

Posted

Site URL: https://www.ryanlusteg.com/

I have a cover page set as my homepage at www.ryanlusteg.com and once a user follows that into my site, if they were to click on my name which displays my portfolio that is hidden from navigation, it re-routes the user back to my cover page. Is there a way to prevent this so my name just links the user back to my portfolio? Many thanks in advance!

  • Replies 2
  • Views 292
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Add this code into Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.site-title .logo a').attr('href','/portfolio');
});
</script>

 

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!)

Posted
7 hours ago, tuanphan said:

Add this code into Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.site-title .logo a').attr('href','/portfolio');
});
</script>

 

It looks like I'm gonna need the upgraded version of Squarespace to do this. I'll keep you updated and THANK YOU 🙂 

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.