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

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.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.