Jump to content

7.1 Squarespace - editing "Back to All Events" link

Go to solution Solved by tuanphan,

Recommended Posts

Hi. I'm looking to edit the "Back to All Events" link that displays at the top left when viewing an individual event on an Events Page. I've found a CSS version for the earlier versions of squarespace but they don't work for the v7.1.

Edited by iara07
Link to comment
  • 2 weeks later...

Hi! I actually managed to do it with your reply to another similar question so thank you!!

Do you know if it would be possible to change the "Back to All Events" link to a different link based on the category of each event? (if that makes sense?)

Link to comment
On 2/6/2021 at 1:39 AM, juramove said:

Hi – I ve the same problem. 
The "Back to all events / Zurück zu allen Events" link should link to the "eventpage" but should be written as "Back to all Dates / Drück zu allen Terminen".
Has anybody a solution or a way to go?

thanks

If you share link to events, we can helpeasier

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

For example, this is the link to All Events (1) on my site:

https://archity.squarespace.com/all-events

but I have also made a highlighted page (2) using the categorisation system:

https://archity.squarespace.com/highlights

My issue is when people click on an event on the Highlighted page and the "Back to All Events" link shows up, it takes them to page (1) instead of (2) like I want it.

Is there a way of changing this?

Link to comment
  • Solution
20 hours ago, iara07 said:

For example, this is the link to All Events (1) on my site:

https://archity.squarespace.com/all-events

but I have also made a highlighted page (2) using the categorisation system:

https://archity.squarespace.com/highlights

My issue is when people click on an event on the Highlighted page and the "Back to All Events" link shows up, it takes them to page (1) instead of (2) like I want it.

Is there a way of changing this?

Add to Settings > Advanced > code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.eventitem-backlink').attr('href','/highlights');
});
</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
  • 1 month later...

Actually, I'm back ahah

The link works but I realised that the "Back to All events" link on the events that aren't tagged as 'Highlights' are now being redirected to the highlights page 😔

anyway of fixing this?

I want the "Back to All Events" link to direct users to link X, and the "back to all events" link on event that have the 'highlights' tag to be directed to link Y - is that possible?

Thank you in advance!

Link to comment
On 3/17/2021 at 5:12 PM, iara07 said:

Actually, I'm back ahah

The link works but I realised that the "Back to All events" link on the events that aren't tagged as 'Highlights' are now being redirected to the highlights page 😔

anyway of fixing this?

I want the "Back to All Events" link to direct users to link X, and the "back to all events" link on event that have the 'highlights' tag to be directed to link Y - is that possible?

Thank you in advance!

Hi. Do you still need help?

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
On 3/27/2021 at 2:21 AM, iara07 said:

Hello, yes please!

it's the same website: archity.squarespace.com

Hi...I think this is not possible.

Another solution is to insert the "Back to Events" link into the Event Description for each event. I will then use the code to move it to the default back to event.
It is also quite manually

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
  • 4 weeks later...

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.