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 912
  • 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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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.