PDA

View Full Version : Resolved Different text colour for different event types in diary



Mark Ellis
04-10-2013, 03:40 PM
With lots of help by John and some others last year, I've had my event diary working really well in Dorsetdog.com :cool:

But I'd now like it to show one colour of text for dog shows and a second / different colour for Sponsored dog walk events

How would I set a "type 1" "type 2" sort of code into the Calendar JS and distinguish them in the event JS files

http://www.dorsetdog.com/diary-of-dog-shows

I've attached the three files for the diary

5021

5022

5023

Many thanks

Mark

Mark Ellis
04-10-2013, 10:14 PM
Sorted. Found that I can just format the text

'<span style="color: white; background-color: green; padding: 5px; radius: 15px;">Sponsored walk</span>',

5027

5028

5029