Jump to content

How do I make a simple cover page with an image click thru to the main site

Recommended Posts

Site URL: http://adamleak.com

Hello, I'd like a plain Cover page with a piece of my artwork in the middle of the page where the image can literally be clicked to lead the user through to the rest of the site. I don't want any text on the cover page, simply my image. I don't seem to be able to edit the design of the image as a cover page to include a URL and if I add an image block it seems to make the image HUGE and also ends up wanting me to make a title of it which appears with the rest of the options on the main site and I don't want that either... 

Wondering if anyone can help... I'm not very good at tech stuff so any help would be immensely appreciated... 

Also whilst that is being sorted is it possible to add All Works © under the image but at the bottom of the page ?

Kind regards, 

Adam.

Link to comment
  • Replies 4
  • Views 550
  • Created
  • Last Reply

To make image clickable, add this to Cover Page Header

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$(".sqs-slice").click(function() {
			var link = $(this).text(),
				href = "https://google.com";
			window.location.href=href;
		});
});
</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!)

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.