AlfonsD Posted March 3, 2023 Share Posted March 3, 2023 I had been asked to edit the following Squarespace website:https://www.sachi-web.de/sachi-ne I have quite some experience with different CMS, but not yet with the Squarespace CMS. Question: How can I remove the red "View Event" button on the above web page for some of the events? Any suggestion would be welcome. Link to comment
Solution paul2009 Posted March 3, 2023 Solution Share Posted March 3, 2023 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 ⬇️ SM810, dgaebel and SandNotOil 1 2 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
AlfonsD Posted March 3, 2023 Author Share Posted March 3, 2023 I'll check it out tomorrow. Thank you for your fast response. Link to comment
oddness Posted August 18, 2023 Share Posted August 18, 2023 Hi, I tried following this solution but it doesn't seem to be working. Any ideas? https://oddness.studio/events Link to comment
oddness Posted August 18, 2023 Share Posted August 18, 2023 Never mind - I figured this out, my mistake. How do I buy you a coffee @AlfonsD?? Link to comment
tangoasg Posted January 29 Share Posted January 29 Hi Oddness, I tried dropping the code into Custom CSS, but the button is still there. What did you figure out to make it work? Link to comment
paul2009 Posted January 29 Share Posted January 29 4 minutes ago, tangoasg said: I tried dropping the code into Custom CSS, but the button is still there. Did you update the code to match your URL? If yes, please provide us with a link to the events so we can take a look. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
tomjrobb Posted February 6 Share Posted February 6 Hi friends... Would love to chime in here and get some help.... I'm having the same problem and it makes no sense. When I create a new event, it asks me to put the event description in and then on the "up coming events page" once complete it has the event description with the "View Event" button at the bottom which just takes you to the same page... I either need to delete that button for all events as it's a double up or figure out a way where the description on the events page is just a short teaser and the button takes you to the full description or ticket link... Any help would be much appreciated. Here's what it looks like https://www.lifeistheway.com.au/upcomingevents Link to comment
PNWEntrepeneur Posted February 23 Share Posted February 23 Hey @tomjrobb, I was having the same frustrating issue as well. I followed @paul2009 initial advice with dropping code into the Custom CSS, and it got rid of all the "View Event" buttons on my page. Here's the code, as mentioned in @paul2009's post that worked for me. Really frustrating though that SquareSpace doesn't have an easier way to just delete the button. /* Hide 'View Event' button */ a.eventlist-button.sqs-editable-button.sqs-button-element--primary { display: none; } Link to comment
sartist Posted June 7 Share Posted June 7 Hello @paul2009. I have the same questions as this past post and tried the solution but it did not work for me. Did I put the code in wrong? Could you please let me know? Here is the screenshot: Link to comment
paul2009 Posted June 7 Share Posted June 7 33 minutes ago, sartist said: the solution but it did not work for me. Did I put the code in wrong? Yes, but it's an easy mistake to make 🙂. The code is CSS and should be placed in the Custom CSS panel. (Where is the Custom CSS panel?) sartist 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
sartist Posted June 7 Share Posted June 7 Ok thank you! So is this a panel for the whole website or does each page have their own panel? Link to comment
sartist Posted June 9 Share Posted June 9 I thought this worked, but now I see the “Past events” again on the individual events! Link to comment
sartist Posted June 9 Share Posted June 9 OK, so I realized if someone clicks on an event, then they can still get to the individual event listing and see the past events that way. So I need a way to remove the previous event link at the bottom of each event listing. If anyone can let me know how to do this, that would be so awesome! Also, I have a question about how to input the code. I noticed when I do it, it doesn’t look like the example (see below). Do the colors have to be the same? Also, there is an error message at the bottom. Says “Syntax Error on line 1” Link to comment
paul2009 Posted June 9 Share Posted June 9 3 hours ago, sartist said: I realized if someone clicks on an event, then they can still get to the individual event listing and see the past events that way. So I need a way to remove the previous event link at the bottom of each event listing. These are the pagination prev/next links. You can hide them (site-wide) if you add this to Custom CSS: .collection-type-events-stacked #itemPagination { display: none; } 3 hours ago, sartist said: I have a question about how to input the code. I noticed when I do it, it doesn’t look like the example (see below). Do the colors have to be the same? The colours won't appear in the Custom CSS panel. This is normal. 3 hours ago, sartist said: Also, there is an error message at the bottom. Says “Syntax Error on line 1” This isn't normal. I recommend you remove all the code and then add it again carefully in case an unreadable character has been included by accident. Did this help? Please give feedback by clicking an icon below ⬇️ sartist 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
sartist Posted June 17 Share Posted June 17 On 6/9/2024 at 1:58 PM, paul2009 said: These are the pagination prev/next links. You can hide them (site-wide) if you add this to Custom CSS: .collection-type-events-stacked #itemPagination { display: none; } The colours won't appear in the Custom CSS panel. This is normal. This isn't normal. I recommend you remove all the code and then add it again carefully in case an unreadable character has been included by accident. Did this help? Please give feedback by clicking an icon below ⬇️ Thank you! Just seeing this. Appreciated your help! 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