Jump to content

Calendar Block - Change title color for specific events

Recommended Posts

Site URL: http://www.mnpedcares.com/events

Hi There,

I am looking to change the title color of some events in this calendar https://www.mnpedcares.com/events. I need specific events to be identified as pertaining to "pediatrics" and have those events be a different color within the calendar. I don't need to sort by "pediatrics" but just identify with a different color for the title. I would be fine adding a tag or category to identify them, or maybe there is a simpler way?

Thank you in advance for your help!

Lisa

Link to comment
  • 1 month later...
5 hours ago, LPS said:

Hi Everyone,

I am still needing to solve this issue. Can anyone please help, thanks!

Lisa

Here is my trick, you can consider among other's solution provided

image.thumb.png.0839546a58cb51034410e796294a0293.png

I used categorized url to identified the events, so replace the term copevents in the css to highlight other events when you set it up

a[href*=copevents] .item-title {
  color: red
}

image.png.6361d2052ab4551495678c68df736c80.png

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, Keyword Highlighter
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
  • 2 weeks later...
  • 4 weeks later...
On 11/8/2020 at 5:40 AM, LPS said:

Hi Bangank 36, 

Thank you so much. This is getting there but now I need to target a specific category. Can I do that with CSS? Thanks!

Lisa

Hi Lisa,

I tried this and I actually just landed up changing the urls for all of the events within a category to /events/categoryname/articlename and then targeted category name instead like a[href*=categoryname] .item-title { color: white }

I don't know how to do it based on category without doing that though so I hope this helps for the time being!

Kira

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.