Jump to content

Logo link destination varying per page 7.1 custom css

Recommended Posts

Is there a way to link different URLs to the Logo on different pages? Like if one is on the portfolio page and they click on the logo it takes them to a different URL on a different website but when theyre on the homepage and they click on the logo it takes them to the homepage? Please help...

 

ps: cant link to website because registration will end soon.

Link to comment
35 minutes ago, HannahBon said:

Is there a way to link different URLs to the Logo on different pages? Like if one is on the portfolio page and they click on the logo it takes them to a different URL on a different website but when theyre on the homepage and they click on the logo it takes them to the homepage? Please help...

 

ps: cant link to website because registration will end soon.

it should be javascript and require business plan

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

You can add this code to Page Header (Hover page on Not Linked or Main Navigation > Click Gear Icon > Advanced > Header)

<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 with new url.

If it doesn't work, can you share link to your site? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.