Jump to content

Remove time in events page

Go to solution Solved by tuanphan,

Recommended Posts

Hello, I'm trying to see if I can remove the start and end time for the events page. I don't have experience with coding - I tried to copy and paste what someone said in the forum from the past but it didn't seem to work. I'm working off of the Crosby template. This is my first time building a Squarespace page so any help is appreciated!

L.

 

Edited by lenlu
Link to comment
  • 7 months later...
21 hours ago, HollyJ said:

This code worked for me for multi-day events, but not for single day events. Any ideas? https://www.thebridge.me/events

Add to Design > Custom CSS

/* remove time */
time.event-date {
    display: none !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 months later...
On 7/4/2021 at 6:35 AM, Eugene_541 said:

Hello,

Trying to keep the the date and remove that time listing in 7.1...

/* remove time */
time.event-date {
    display: none !important;
}

^This snippet seems to be doing the opposite. Any help would be much appreciated

Can you share link to event page on your site? We can check it again easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 7/7/2021 at 1:00 PM, Eugene_541 said:

To remove time, use this code

/* remove event time */
li.eventlist-meta-item.eventlist-meta-time.event-meta-item {
    display: none;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...
On 8/8/2021 at 10:07 PM, HyperX said:

Hi Tuan, you have been so helpful to the community. I have a slight issue with my News pages because I used the events function provided by the Bryant template. Please are you able to advise on how I can remove "time" on each news page and change "Back to all events" to "Back to all news" instead? The website is:

https://rovr.systems/news/cabin-fever-solved

image.png.8c2652c06109b223b24eb280ec6efc4d.png

Hi. Use this CSS

/* remove am pm */
span.eventitem-meta-time {
    display: none !important;
}

With back to... Do you use Personal or Business Plan? each plan will have a different solution

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Hi Tuan,

 

I tried the CSS but it leaves a dash in place of time, please help:

https://rovr.systems/news/cabin-fever-solved

image.png.e4be4fe0c5b935f85c08f4b8dfddf46b.png

 

Also, time is still visible on some news pages e.g.

https://rovr.systems/news/2020/10/1/virtual-reality-allows-bankers-to-get-back-out-on-the-trade-floor

For the "Back to all news", I am still on the Professional Plan, this was the previous "business plan".

I look forward to your reply.

 

 

Link to comment
On 8/12/2021 at 7:58 PM, HyperX said:

Hi Tuan,

 

I tried the CSS but it leaves a dash in place of time, please help:

https://rovr.systems/news/cabin-fever-solved

image.png.e4be4fe0c5b935f85c08f4b8dfddf46b.png

 

Also, time is still visible on some news pages e.g.

https://rovr.systems/news/2020/10/1/virtual-reality-allows-bankers-to-get-back-out-on-the-trade-floor

For the "Back to all news", I am still on the Professional Plan, this was the previous "business plan".

I look forward to your reply.

 

 

Don't remove above code

Add this code

If it works, I will check Back to

span.event-datetime-divider {
    display: none;
}
span.event-time-12hr {
    display: none;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
10 hours ago, HyperX said:

Thanks Tuan, this works. How do we edit the "BACK TO ALL EVENTS" to "BACK TO ALL NEWS"

Please let me know. I appreciate your help...

Hi. Use this CSS

a.eventitem-backlink {
    visibility: hidden;
}
.eventitem-backlink:before {
    content: "\2190\0020 BACK TO ALL NEWS";
    visibility: visible;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 months later...

Hi @tuanphan

Firstly, pretty new to custom CSS, so have checking forums a lot lately, and I gotta say WOW. You are so kind and helpful for noobies like myself. Thank you. 

I have been trying to use these snippets myself. This is what I have tried so far: 

/* remove am pm */
span.eventitem-meta-time {
    display: none !important;
}

a.eventitem-backlink {
    visibility: hidden;
}
.eventitem-backlink:before {
    content: "\2190\0020 Back";
    visibility: visible;
}

Resulting in this: 

image.png.19bf75e77f199d746ddebe3961afb863.png

As you probalby can see, the change to the back buttun is not working very well. Tried changing it to before, but that moved both the arrow and text towards center. Looked like I had ddded a margin/padding, but the txt move behind the arrow as it should be. 

Link to comment
On 11/10/2021 at 7:38 PM, torbjorn said:

Hi @tuanphan

Firstly, pretty new to custom CSS, so have checking forums a lot lately, and I gotta say WOW. You are so kind and helpful for noobies like myself. Thank you. 

I have been trying to use these snippets myself. This is what I have tried so far: 

/* remove am pm */
span.eventitem-meta-time {
    display: none !important;
}

a.eventitem-backlink {
    visibility: hidden;
}
.eventitem-backlink:before {
    content: "\2190\0020 Back";
    visibility: visible;
}

Resulting in this: 

image.png.19bf75e77f199d746ddebe3961afb863.png

As you probalby can see, the change to the back buttun is not working very well. Tried changing it to before, but that moved both the arrow and text towards center. Looked like I had ddded a margin/padding, but the txt move behind the arrow as it should be. 

Can you share link to event in screenshot? We can check easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 11/17/2021 at 6:32 AM, MeganG901 said:

Hi @tuanphan!

I've implemented the code you provided and all looks great on my site. The times are hidden no problem. Is there any way to also hide the commas that are left after the date? See attached screenshot for what I'm reference.

Thank you in advance!

Screen Shot 2021-11-16 at 5.30.57 PM.png

Can you share link to event page in screenshot?

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 weeks later...

Hi @tuanphan

I've tried the codes you have provided above to hide the time on the event pages.

Unfortunately it's not working for me either. I'm on a basic commerce plan and would like to hide the times underneath the date on all of my events. See screenshot attached.

Additionally I want to hide the links to the other events at the bottom (left and right) of the events pages. See other screenshot attached.

Can you think of a solution for those two things?

That's the link.

https://www.hof-im-bundi.ch/events/sternrittzumbundi

 

Thank you so much in advance,

Allya

1726474587_ScreenShot2021-12-09at7_58_37pm.png.1b3bb1c2f39e8273b4f43fa162f20ff3.png

394112986_ScreenShot2021-12-09at7_59_07pm.thumb.png.38783c3e133cfb8c8c874b1f587b0877.png

 

 

Edited by Allya
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.