Jump to content

How to enable summary block items clickthrough

Recommended Posts

Paste this into advanced header code injection which requires a business plan, it has worked with 7.0 but does not work with lazy summaries:

$(".summary-item").click(function() {
  window.location = $(this).find("a").attr("href"); 
  return false;
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Edited by derricksrandomviews
Link to comment
12 minutes ago, derricksrandomviews said:

Paste this into advanced header code injection which requires a business plan, it has worked with 7.0 but does not work with lazy summaries:

$(".summary-item").click(function() {
  window.location = $(this).find("a").attr("href"); 
  return false;
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Thanks for the suggestion. I do have Lazy Summaries, though, so does not work for me unfortunately. 

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.