Jump to content

Hide the View Event button on upcoming events

Recommended Posts

29 minutes ago, AlfonsD said:

How can I remove the red "View Event" button on the above web page for some of the events?

You can hide it for all events by adding this to Design > Custom CSS:

/* Hide 'View Event' button */
a.eventlist-button.sqs-editable-button.sqs-button-element--primary {
  display: none;
}

If you only want to hide the button for some of the events, you'll need to specify the URL of each event. For example, to hide the button for the first event on the list, you could use:

/* Hide button on 27 January 2023 event */
a[href="/sachi-ne/sd4acce77nqtbn7fd6fplambiot1kp"].eventlist-button.sqs-editable-button.sqs-button-element--primary {
    display: none;
}

 

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 5 months 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.