Jump to content

Clickable logo over video on coverpage??

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 2
  • Views 683
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Add this to Cover Page Header (DO NOT add to CSS box)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$('.sqs-slide-wrapper[data-slide-type="cover-page"] [data-compound-type="logo"][data-slice-type="image"]').click(function() {
			var link = $(this).text(),
				href = "/";
			window.location.href=href;
		});
});
</script>
<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] [data-compound-type="logo"][data-slice-type="image"] {
  	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

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.