Jump to content

Squarespace Events & Calendar View

Recommended Posts

Site URL: https://oasisforlife.org/calendar

When you click on an event at the website calendar it takes you to the that event's details. There's a option on the left side to go "<--- Back to All Events". That takes you to the listing of all events (https://www.oasisforlife.org/oasis-events). How can that be changed to take you back to the calendar view (https://oasisforlife.org/calendar)? The calendar view is much nicer for browsing through events.

I didn't design the site and am not sure where to edit that particular item.

Thank you for your help!

OASISCalendar.jpg

Link to comment
  • Replies 1
  • Views 363
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi,

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.eventitem-backlink').attr('href','/calendar');
});
</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

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.