Jump to content

Project page in Portfolio - how do i change link of header logo

Recommended Posts

Posted

Site URL: https://5trainingbiotechandpharma.co.uk

Hi

I've set up a portfolio page as the landing page. How do I link the header logo on each project page to a different page (I don't want it to link back to my portfolio/landing page)?

I have no background on CSS.  But after reading posts and forums, I sort of have an idea to do this in Design - Custom CSS, then insert page ID.  However, the codes I've seen are for ordinary pages and do not work for a project page. 

Many thanks for your help.

password: 5TMain

  • Replies 2
  • Views 682
  • Created
  • Last Reply
Posted

Edit each project page >>> Add a Code Block (under project page title) >> paste this code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/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!)

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.