ThisSarahPowell Posted October 1, 2020 Share Posted October 1, 2020 Site URL: http://www.sarahpowell.co.uk Hello! 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? I tend to put all the info there so there's no need to click through. Thank you so much in advance! Link to comment
paul2009 Posted October 1, 2020 Share Posted October 1, 2020 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 ↘️ lisanorwood and CatherineJoMorgan 2 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
ThisSarahPowell Posted October 1, 2020 Author Share Posted October 1, 2020 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment