Jump to content

Changing Portfolio Nav Link and Logo Link on one page only

Recommended Posts

Hi everyone,

Im hoping there is a solution out there and that someone knows how to do it and can help and teach me! I want to know if it is possible to change the portfolio nav link to go to another portfolio and also if i can have it where if someone clicks my logo it goes to another specific page. 

Screenshot 2020-09-18 152603.jpg

Link to comment
  • Replies 9
  • Views 456
  • Created
  • Last Reply

To change logo link on onepage, add this 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() {
	$('.header-title-logo a').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new url

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
On 9/23/2020 at 12:22 PM, Rogueace said:

Sorry reply is above

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.