Jump to content

Linking Cover Page Logo to Page on Site

Recommended Posts

Site URL: https://paigeowen.ca

I want to direct my cover page logo to another page on my website, instead of having to create a button or action. I've read a ton of forums and no custom code is working. I'm using the wells template. I want the cover page logo: https://www.paigeowen.ca/welcome to link to https://www.paigeowen.ca/home

Right now I don't have the cover page set to home because I can't get it to link so it's just a page.

bonus if I can get the website logo to link to home as well instead of the cover page.
Thanks!

Link to comment
  • Replies 2
  • Views 424
  • Created
  • Last Reply

Hi,

You mean the logo above social icons?

Add to Welcome Page Header

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$('img').click(function() {
			var link = $(this).text(),
				href = "/home";
			window.location.href=href;
		});
});
</script>
<style>
  img:hover {
  	cursor: pointer;
  }
</style>

 

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.