Jump to content

Making Project Page Image a Click Through Link

Recommended Posts

Site URL: https://www.convergefirm.com/service-offerings

Hi,

 

I looked on these forums but couldn't see an answer to this.

 

On this page of the site im working on https://www.convergefirm.com/service-offerings I want the right image called 'Converge Academy' to be a click through link to another site but squarespace say this isn't a feature on Project Pages (which seems pretty ridiculous)

 

Anyone have any idea for the custom code that would be needed to make it happen? In my mind it shouldn't be that complicated, should it?

Link to comment
  • Replies 3
  • Views 403
  • Created
  • Last Reply

Hi. I guess you can add 3 Image Blocks >> then add links? 

No need to use Portfolio Page.

If you still want to use Portfolio page, add this code to Settings > Advanced > Code Injection to change Converge Academy url.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('a.grid-item[href*="academy"]').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new external site url

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
50 minutes ago, tuanphan said:

Hi. I guess you can add 3 Image Blocks >> then add links? 

No need to use Portfolio Page.

If you still want to use Portfolio page, add this code to Settings > Advanced > Code Injection to change Converge Academy url.


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('a.grid-item[href*="academy"]').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new external site url

You are a lifesafer!

Thank you so much!

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.