Jump to content

Remove End Time on Calendar Entries

Recommended Posts

16 hours ago, ElasticArts said:

Hello,

We'd love to remove the "end time" from our calendar and all event listings on our site. Is there a specific CSS code that will do that? Thank you! 

The site is www.elasticarts.org

-Ben

Do you mean removing it for example?

image.thumb.png.5f82256dd219fdff2da42d12b223e1af.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

You can remove the end time from Events pages with the following CSS (add to Design > Custom CSS😞

span.event-datetime-divider, time.event-time-localized-end {
  display: none;
}

The Calendar Block does not distinguish between the start and end times, so you cannot use CSS to hide just the end times. However, you can hide all the times on the calendar with the following CSS:

.flyoutitem .flyoutitem-datetime, .yui3-squarespacecalendar .item-time {
  display: none;
}

You'll need some JavaScript (and at least a Business Plan) to remove end times only. There's an old thread about something similar that may get you started.

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

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.

Link to comment
  • 2 weeks 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.