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

the top piece of code on both sets of codes TD.future A{background-color: yellow !important;} is the event day

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

.xg_module.module_events TD.future A{background-color: yellow !important;}
.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.future A{background-color: yellow !important;}
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;}

_

_

_

before

_


after

modules

event page

Tags: calendars, css, event

Views: 341

Reply to This

Replies to This Discussion

looks like a cracker, will test this out and come back to you. thanks for sharing

lol ok

looks like a cracker???  lol

hehe, sorry. looks great.

Thank you!

Thank you!

Another awesome Tip George :-)  Every time i look your pulling another rabbit out of your hat :-)

Great Tip !!

:-) you're welcome classic and Lupe

thank you and your welcome Dave :-)

RSS

Latest Activity


NC for Hire
SweetPotato replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"It should be a profile page feature. Hopefully Ning reinstate it. Sp"
41 minutes ago
Allison Leahy replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Thanks for the suggestion, Jordon. I can certainly add Skype video chat integration as a specific…"
45 minutes ago
Allison Leahy replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Cool. I've never seen one of these in action. Could you share an example of a service the…"
52 minutes ago
Kos replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"TJ @ jquery was working on a hack to add a text box on profile pages in 3.0 however I believe it…"
53 minutes ago
Kos replied to Mariana Paiva's discussion 'Analytics not working: How can I set up analytics correctly?'
"Mariana is *does* go in Custom Code (not custom CSS).  Did you also enter your Google code in…"
58 minutes ago
Cindy replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"My apologies I thought this was the discussion group for asking questions. I deleted all my posts…"
1 hour ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Did anyone find out about this issue?? It's really a problem for my members as each one has a…"
2 hours ago
Paul Corona replied to soaringeagle's discussion 'killer penguins'
"maybe you can translate those two links into English for me?"
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service