Jump to content

Events - Is There a Way To Hide Access To Past Events

Recommended Posts

Site URL: https://www.coastalathletics.net/events/spring-break-camp-2022

Is there a way to hide the ability to see past events? Please see the screenshot attached to what I am looking to get removed. We still want the toggle feature available for when we have more than one event occurring, but we would like to have that ability to hide for events already that have occurred. It is confusing customers and there is no purpose. Thank you in advance for any assistance.  

Screen Shot 2022-03-24 at 12.41.30 AM.png

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 3/26/2022 at 12:07 AM, tuanphan said:

Edit above event > Add a Code Block > Paste this code

<style>
  .item-pagination-link--next {
    display: none;
}
</style>

 

 

 

Hey @tuanphan, this deleted the future event not the event that is from the past. Could you provide further clarification or let me know what I may have done wrong? Thanks!

Link to comment
  • 5 months later...
11 hours ago, SBasics said:

Hi! Where did you add the code for this to work? I have added it to the top of the page and also the bottom of the page and I still see the link to the past event. Thank you!

Settings > Advanced > Code Injection > Footer

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.