Jump to content

Linking site title to an OVERVIEW page instead of my HOMEPAGE

Recommended Posts

Posted

Site URL: http://pugmi.re

Hello,

My site navigation used to be simple.
Clicking on the SITE TITLE (top left) would take users back to the OVERVIEW (gallery) page.
I've recently added a COVER PAGE carousel to showcase some photos before entering the site.
What happens now is that clicking the SITE TITLE takes users out of the site and back to the COVER PAGE.
I'd like this to navigate to the OVERVIEW page instead, so that users stay within the site.
Could anyone suggest some CUSTOM CODE to achieve this? 

Many thanks!

Christopher Pugmire

Coverpage.jpg

Overview.jpg

Project.jpg

  • Replies 1
  • Views 702
  • Created
  • Last Reply
Posted

Add to Home > Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('#logo .logo.site-title a').attr('href','/overview');
});
</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!)

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.