Home › Forums › Calendar Products › Events Calendar PRO › How to change the category colors in weekly view.
- This topic has 7 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
October 28, 2013 at 5:54 pm #73517
zengirl
ParticipantWe’re using the events calendar category colors plugin to use different colors on the different categories. However, they don’t work in weekly view. Does anyone know how to do this?
October 29, 2013 at 8:59 am #73600Barry
MemberHi zengirl – The Events Calendar Category Colors is a useful tool but not one that is officially part of the Modern Tribe stable. If you want to seek help specifically in relation to that plugin (or request support for category colors within week view) it may be better to post on that plugin’s own support forum.
In basic terms though you can target events by category (in week view) using a CSS selector something like:
.tribe-grid-body div[id*="tribe-events-event-"].tribe-events-category-wordpress-meetups .hentry.vevent {}Where my example category has a slug of wordpress-meetups – you might also be interested in our Themer’s Guide which provides some insight into setting up event calendar related CSS rules.
Hope that helps!
October 29, 2013 at 11:31 am #73632zengirl
ParticipantHi Barry.
Thank you for your suggestion.Seems like there is no easy solution for this issue.
http://wordpress.org/support/topic/how-to-put-categories-colors-in-week-viewOctober 29, 2013 at 12:34 pm #73637Barry
MemberHi zengirl,
OK – so you’d probably need to set up some custom rules in that case (using one or more CSS rules following the above pattern) or else build on The Events Calendar Category Colors with a customization of your own (so that changes to category colours automatically carry across to week view.
I’m afraid we’ll have to leave the details of this to you, however – although we can provide a list of freelancers if you need someone to work through it with you?
October 29, 2013 at 2:49 pm #73658zengirl
ParticipantThank you, Barry.
We solved the problem.
Seems like we need to add the new CSS rule every time we make a new category color, which is not so pain to do it. It was very helpful.
Thank you so much.October 29, 2013 at 5:19 pm #73705Barry
MemberFantastic! I’ll go ahead and close this thread in that case – glad you figured it out 🙂
November 24, 2013 at 5:20 pm #78403Andy Fragen
ModeratorFWIW, coloring of the Week view will be in The Events Calendar Category Colors v3.2.0
July 7, 2015 at 6:29 am #982403Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘How to change the category colors in weekly view.’ is closed to new replies.
