Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

change link url on the calendar thumbnail on events page squarespace


Question

Site URL: https://runatitshouting.co.uk/courses

where the calendar thumbnail is to the top left on each event. this is clickable and takes you to another purchase page. can i possible change this so when you click on the calendar thumbnail i can take them to a customised url. i want to take the user to a page with a calendar on if possible .  All i need to know if how i change the url for the thumbnail 

 

thank you in advance x

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

add this to Home > Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
  // check by tuan
    // for event 1
	$("article.eventlist-event:nth-child(1) .eventlist-column-thumbnail").attr('href','https://beaverhero.com');
      // for event 2
	$("article.eventlist-event:nth-child(2) .eventlist-column-thumbnail").attr('href','https://google.com');
});
</script>

 

Edited by tuanphan

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...