Jump to content

Create Static Events Page

Recommended Posts

  • Replies 2
  • Views 408
  • Created
  • Last Reply
5 minutes ago, ThisSarahPowell said:

Currently all the events on my events page are displayed in a list, which I like but there is the option to click on each event and be taken through to that events individual page, is there a way of stopping that happening?

Hi Sarah

You can do this by adding some CSS to Design > Custom CSS as follows:

.eventlist-column-thumbnail, .eventlist-datetag, .eventlist-title .eventlist-title-link {
  pointer-events: none;
}

Once saved, visitors should not be able to click into the events,  but they'll still be able to click links that you've added in the event description.

There are three areas where visitors can click events to see more details. These are the thumbnail image, the date tag (shown on the image) and the title of the event. The CSS above prevents anyone clicking or tapping on any of these elements.  

   If a post helps you, please click a "Like" option below  ↘️

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
3 minutes ago, paul2009 said:

Hi Sarah

You can do this by adding some CSS to Design > Custom CSS as follows:


.eventlist-column-thumbnail, .eventlist-datetag, .eventlist-title .eventlist-title-link {
  pointer-events: none;
}

Once saved, visitors should not be able to click into the events,  but they'll still be able to click links that you've added in the event description.

There are three areas where visitors can click events to see more details. These are the thumbnail image, the date tag (shown on the image) and the title of the event. The CSS above prevents anyone clicking or tapping on any of these elements.  

   If a post helps you, please click a "Like" option below  ↘️

Paul this is brilliant! Thank you so much!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.