PDA

View Full Version : Set Category Color


memeadmin
04-11-2005, 07:58 PM
Do I need to edit the CSS file to specify colors for new Event Categories? It would rock if there was a way to define these colors in the Setup Tool - next to the name could be a standard color picker or even an HTML Hex # field?

Joe-

Brian
04-11-2005, 09:14 PM
Currently this can only be one via editing the CSS file. The ability to do this via the Setup Manager is on the wish list, but isn't expected to be released for some time.

Sam
04-12-2005, 02:38 PM
Which CSS file will change the category colors?

Brian
04-12-2005, 02:44 PM
The one in theme/default. http://www.easyphpcalendar.com/forums/images/smilies/smile.gif

Sam
04-12-2005, 03:07 PM
I made the changes and uploaded it, but it is not getting picked up. When I am in the event manager, and look at the category dropdown list, it still has the old colors.

Brian
04-12-2005, 03:12 PM
Copy those CSS category changes (only) to the system theme too. That way they'll show up in the event manager.

Sam
04-12-2005, 03:17 PM
That worked, except that I have added two additional categories and now show up with a white bk gr, not the 'category 10 & 11' that I added to the CSS.

Where can I tell it that I added more categories?

BTW, Thanks for your extreemely quick responses!!

Brian
04-12-2005, 03:21 PM
In the Event Manager? I just check the code (in case I forgot to change that part when adding the extra categories), and everything appears correct.

What does the category part of your CSS look like? Can you paste it here or PM it to me?

Brian
04-12-2005, 04:10 PM
Try numbering your categories like this:

.s21
.s22
...
.s29
.s210
.s211
.s212

The s2 remains constant.

Sam
04-12-2005, 04:20 PM
Thanks! That fixed it.