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

soaringeagle replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"ah i see why its a div with a jpg  thumnbnail no link to the vid and must be using a script or…"
14 minutes ago
Kira Slye replied to Dw Alternatio's discussion 'Any way to change to a 3.0 network?'
"not yet, it's coming. If you want to test, sign up for a free 3.0, it will be in addition to…"
19 minutes ago
soaringeagle replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"good catch hadnt even looked at that another seo issue with these though is the videos arent…"
27 minutes ago
Kira Slye replied to John McDonald's discussion 'Free Ning 3.0 Sandbox Networks'
"I'm playing here: http://craftymember.ning.com/ Thanks! "
32 minutes ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"Hi Kos, not on my Ning 3.0 they aren't: Click to enlarge"
1 hour ago
Kos replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"yeah, they're showing up as h2 in firebug :(  Hope Ning wakes up on this."
1 hour ago
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
1 hour ago
Cherry replied to shirley's discussion 'how can i stop a member from sending privet massage to all his friend's on my net?'
"If what is being sent is truly spam, you need to suspend the member for spam. If it is just…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service