Jump to content

Custom CSS for Event Categories in a Calendar

Recommended Posts

Site URL: https://www.cityyouthmatrix.com/calendar

Hello! I am trying to use Custom CSS to change the background color of events in a calendar block based on the Category that I assign them. I have been unsuccessful so far and am wondering if anyone has any suggestions?

For example, I have three categories for events (General Events, Volunteer Events, and Drop-In Programs). I would like each category to have its own background color in the calendar so that users can easily tell which event corresponds to which category. For example, General Events: red. Volunteer Events: yellow. Drop-In Events: black.

Link to comment
  • Replies 2
  • Views 924
  • Created
  • Last Reply
15 minutes ago, tuanphan said:

I think you can't sove this. I don't see category in code structure, so you can't assing different code for different category.

Can Universal Filter help on this tuanphan

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

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.