Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Tsuyu - heinäkuu 12, 2006, 01:42:22 AP

Otsikko: Calendar background colour?
Kirjoitti: Tsuyu - heinäkuu 12, 2006, 01:42:22 AP
How do I change the background colour of the current date table cell? For example, if today is July 11th, then on the calendar, the table cell for July 11th is a different colour. Where can I change that colour to make it match the website more?
Otsikko: Re: Calendar background colour?
Kirjoitti: Deaks - heinäkuu 12, 2006, 02:19:47 AP
that can be found in your style.css
Otsikko: Re: Calendar background colour?
Kirjoitti: Tsuyu - heinäkuu 12, 2006, 04:09:43 AP
The first place I looked was in my style.css, but I couldn't find the tags for that particular calendar thing. =\ I'm sorry, could you explain in a little more detail? ^^;
Otsikko: Re: Calendar background colour?
Kirjoitti: Deaks - heinäkuu 12, 2006, 03:26:02 IP
Can you tell me if you are using RC2 or 1.0.7

is this the colour you reffering to (if its 1.0.7
Otsikko: Re: Calendar background colour?
Kirjoitti: Tsuyu - heinäkuu 12, 2006, 08:36:24 IP
Yes, I am using 1.0.7, and yes it is that colour. *nod nod*

Oh, and two other questions:

1) Where do I modify the colours of private messages? I couldn't find which file it was in ._.
2) Is it possible to make it so that the normal membergroups don't apply to the Admin? For example: let's say I'm the Admin, and I just created the forum so I've made 0 posts. The membergroup for members with less than 50 posts is "Noob". So when I make a post, on the left, above my avatar, it says:

Administrator
Noob

If it's possible can I make it so that the "Noob" membergroup doesn't apply to the Admin, and it only shows "Administrator"?
Otsikko: Re: Calendar background colour?
Kirjoitti: Deaks - heinäkuu 13, 2006, 02:27:52 AP
open calander.template.php in the default directory and search for #C1E5FF now replace that with the color of your choice.
// If this is today, make it a different color and show a border.
echo '
<td class="windowbg" valign="top" style="', $day['is_today'] ? 'height: 96px; border: 2px outset; background-color: #C1E5FF;' : 'height: 100px;', ' padding: 2px;">';



for second one go to admin --- current theme settings and scroll down to bottom and you will see
LainaaHide post group titles for grouped members?
Enabling this will not display a members post group title on the message view if they are assigned to a non-post based group.
simply put a check in that and save :)
Otsikko: Re: Calendar background colour?
Kirjoitti: Tsuyu - heinäkuu 13, 2006, 04:51:48 AP
Thank you very much, your instructions were very clear. ^^ The reason I couldn't figure out where to make the changes was because I didn't look in the default folder (and I forgot to replace those files, so they were only in the default folder).

Again, thank you! :3