Color of calendar mod !!!_SOLVED_!!!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Color of calendar mod !!!_SOLVED_!!!

Post by jans »

Hi I have installed the calendar module and I have a few small questions;

I like to have the top tablerow (header) in the same color as my cms standard template
I have managed to get the calendar body color to whit (want it that way) and the today color on a shade of grey.

How do I get the top row in another color and can someone give me an explanation of the calendar tags that can e altered ex: font type, font color, table bckgr color  etc.
Last edited by jans on Tue Feb 27, 2007 7:45 pm, edited 1 time in total.
heatherfeuer

Re: Color of calendar mad

Post by heatherfeuer »

Check under admin-->layout-->stylesheets.  When you install the Calendar module, a sample stylesheet is put there.  All the CSS for the Calendar templates is in there. 

What I did was to copy the templates into my favorite text editor (EditPlus) and indent all the html code so it made sense to me.  That way I was able to see all the divs and spans that are used for the CSS.  That also helped me to understand the styles.  Then I began to play around with the Calendar stylesheet to make it look the way I wanted.

I'm not much of a php coder, so it took me awhile to figure out the code in the templates, but I was able to figure out the html.  My calendar turned out looking exactly like the rest of the site.
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Color of calendar mad

Post by jans »

Don't understand me wrong but this kinda comment does not help me with wat I want to know.

I asked a clear question, please restrict comments on the asked things only, otherwise this topic drowns like all others in a no-sense discussion, I too am not a coder and what you suggest does not make any sense to me, why do this if someon already has the answer.

Thanks anyway
heatherfeuer

Re: Color of calendar mad

Post by heatherfeuer »

I'm sorry you didn't find that first response clear.  As far as I know (having customized the calendar module myself), all the calendar tags are customizable using the sample calendar stylesheet.  The following CSS tag affects the style of the table row headers:

Code: Select all

#big th {
	border: 1px solid #440062;
	background-color: #aa57ff;
	color: #fffde8;
	padding: 3px;
	width: 75px;
	text-align: center;
}
Is that what you were looking for?
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Color of calendar mad

Post by jans »

Yessss, you are the greatest, that's what I meant, thanks.
Post Reply

Return to “Modules/Add-Ons”