Hello all, 

I want to be able to change the colors on my calendar days (just the one's with events) without it effecting every link on my site. Is this possible?

Thanks!

Tags: Calendar, events

Views: 93

Reply to This

Replies to This Discussion

Hi Robert, the following code is the exact code for your preference. Just copy and paste the code into advanced css box via my network> settings> appearance.

div.calendar td.future {
color: red;
}

div.calendar td.past.xg_lightfont {
color: green;
}

div.calendar td.present {
color: blue;
}

very nice Bernard, awesome of you to share!

These codes will automatically cross out past days put a border around the future days and color the present day
you can change the color lightblue to any color you would prefer.

This code Will only affect the event module's calendar not the event page calendar

.xg_module.module_events TD.present {background-color: lightblue !important;}
.xg_module.module_events TD.future {border: 1px solid lightblue !important;}
.xg_module.module_events TD.past { background-image: url(http://api.ning.com:80/files/Jec9iT2*pOjTVTAzA0p2xmtfLnsmGueFWYFEkeio6Q8MMdngwhxyk2jC76tnPpQJVDYA4SPmJPeMIQ0GkDRaMI56lEhOyrQ9/XImage.jpg);
   background-size:100% 100%; }
.module_events div.calendar div {position: relative; overflow: visible;}


This code will affect the calendars on the modules and the calendars on the event page

TD.present {background-color:lightblue !important;}
TD.future {border: 1px solid lightblue !important;}
TD.past { background-image: url(http://api.ning.com:80/files/Jec9iT2*pOjTVTAzA0p2xmtfLnsmGueFWYFEkeio6Q8MMdngwhxyk2jC76tnPpQJVDYA4SPmJPeMIQ0GkDRaMI56lEhOyrQ9/XImage.jpg);
 background-size:100% 100%; }
div.calendar div {position: relative; overflow: visible;}
.module_events div.calendar div {position: relative; overflow: visible;}

_

_

event module on the home page

_

_

and the event page

Even better George hahahahaha! The man with CSS LOL :D

Thank you all very much! Awesome stuff... I have implemented on my blog... If there is ever a way to highlight event days, please let me know. Thanks again!

They should already be highlighted for the event day but here you go

TD.future A{background-color: lightblue !important;}

perfect! that's just what I needed. Thx!

RSS

Latest Activity

Lisa Kowen replied to Elson Tan's discussion '[Apply for Closed beta now] Real Time Notification System for Ning Networks'
"Looks great - definatly keen to set it up on my site.  Will you let me know when it is…"
2 minutes ago
Gary Lefko replied to Allison Leahy's discussion 'General feedback'
"I'm on the $24.95/plan with 800+ members--moving to Ning 3.0 what is cost of site at 1,001…"
20 minutes ago
soaringeagle replied to soaringeagle's discussion 'ning/glam ads in 3.0 suggestions/concerns'
"since it has 1st look ..without a min bid noones going to use it unless tyhey had been banned from…"
33 minutes ago
soaringeagle replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"wow although i would have fixed a few of my high priority bugs before doing this im pretty…"
43 minutes ago
soaringeagle replied to soaringeagle's discussion '3.0 priority fix list'
"thnx really appreciate it from an seo perspective some are criticly important (h1 tags being unique…"
48 minutes ago
soaringeagle replied to soaringeagle's discussion '3.0 priority fix list'
"get rid of wysiwyg? are u kidding? u realize most networks would fail instantly the momment you…"
51 minutes ago
Patrick Renald JOSSET replied to kid k's discussion 'Poster ici vos adresses de reseaux NING !' in the group Ning French Networks
"http://i-deal.ning.com/ bonjour ;) j'ai créé cette plateforme de partage…"
54 minutes ago
Patrick Renald JOSSET commented on kid k's group 'Ning French Networks'
"Bonjour à tous et merci de m'accueillir ;) "
58 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service