Jump to content

Change Title URL to link to a different page on my website? (Custom CSS)

Recommended Posts

Add to Page Settings > Advanced > Header

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('body.site-title .logo a').attr('href','https://ryanmariehelfant.com/selected-films');
});
</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!)

Link to comment
  • 8 months later...
On 10/31/2020 at 12:47 AM, tuanphan said:

Add to Page Settings > Advanced > Header

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('body.site-title .logo a').attr('href','https://ryanmariehelfant.com/selected-films');
});
</script>

 

 

@tuanphan - Is there a way to do this w/ the cart logo? 

URL: https://little-skillet-demo.squarespace.com/
Password: friedchicken#1

I want to replace the cart link with "/schedule". 

Link to comment
8 hours ago, sheenvs said:

 

@tuanphan - Is there a way to do this w/ the cart logo? 

URL: https://little-skillet-demo.squarespace.com/
Password: friedchicken#1

I want to replace the cart link with "/schedule". 

Use this code

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('header#header [href="/cart"]').attr('href','/schedule');
});
</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!)

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.