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
  • Replies 2
  • Views 937
  • Created
  • Last Reply
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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

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.