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: 94

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

Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Wishing for some response from Ning here... thanks Patrick for sharing these details :) "
35 minutes ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I'm thinking bringing back the  RSS feed box would be a good thing as well. What's…"
41 minutes ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Thanks Kos! "
46 minutes ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Here's the updated Keyword Tool link http://bit.ly/16hsT0x"
1 hour ago
Jordon McGee (Jords) replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Thanks Allison!"
1 hour ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Only 2 days old and emphasizes high quality links, social, etc. although it does not specifically…"
1 hour ago
Chazz replied to Chazz's discussion 'Below Header HTML Box/ Above Footer HTML Box Glitch Developed' in the group The Sandbox
"I am fully updated I will check on my settings."
1 hour ago
soaringeagle replied to soaringeagle's discussion 'killer penguins'
"accurate for the new pengiun rampage?"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service