Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Monkey50 - elokuu 30, 2011, 06:43:05 AP

Otsikko: font colour change
Kirjoitti: Monkey50 - elokuu 30, 2011, 06:43:05 AP
where would i find the font colour for the categories so i can change the colour
Otsikko: Re: font colour change
Kirjoitti: kat - elokuu 30, 2011, 07:40:09 AP
SMF v1.x: style.css, in your theme's directory.

SMF v2.x: index.css, in your theme's "css" directory.

Those files have quite good REM statements, so the section you want should be fairly easy to find. :)
Otsikko: Re: font colour change
Kirjoitti: Monkey50 - elokuu 30, 2011, 08:51:17 AP
thanks i changed the colour but what does the bit i am pointing to come under i want the orange bit blue but what does it come under
Otsikko: Re: font colour change
Kirjoitti: kat - elokuu 30, 2011, 10:24:07 AP
No idea, I'm afraid.

I could find out in the same way that you could, though.

A bit of trial and error.

Read my sig, before you do that, though, woncha?
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 02:15:39 IP
you have a thread already where you asked this question, please do not open more then one thread one the issue, i have deleted your other thread.
Otsikko: Re: font colour change
Kirjoitti: Monkey50 - syyskuu 01, 2011, 02:17:24 IP
i know i did but i thought i opened it in the wrong place before because no one answered. so i seen coding and thought they might be the best place.
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 02:18:14 IP
no this is a graphics issue, not a coding problem.
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:20:30 IP
Or, coding for graphics.

Bit ambiguous, that. I sure would've put it here, to be honest.

I'm just about to fiddle around and see if I can figure this one out, Monkey.

Gimme a while... ;)
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 04:21:30 IP
i will give you a hint, it is an image not color or text.
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:26:12 IP
css is text. :P
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 04:27:10 IP
that is not what i mean :P silly.
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:41:56 IP
OOO...

That's norty.

Some of the colours only have three or four figures, instead if six...
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:46:59 IP
OK. Just thinking out-loud, here...

I suspect it has to be this bit:

/* the active button */
.dropmenu li a.active
{
background: url(../images/theme/menu_gfx.png) no-repeat 100% 0;
color: #fff;
font-weight: bold;
}


The colour's in hex, but only three digits, which is weird, to me.

I'm gonna fiddle with it and report back. :)
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 04:48:21 IP
no it is not the color there, it is the background ;) as i said above it is an image.
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:49:24 IP
Bugger...
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 04:50:59 IP
If it's an image, how come you can't right-click>Save image as?
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 04:52:17 IP
because it is set with css and not in the source code
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 01, 2011, 05:00:03 IP
Ha! Figured it out!

In the theme's "images">"theme" directory, get menu_gfx.png.

At the top of that graphic, you'll see an orange stripe.

Change that orange to the colour you want.

:)
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 01, 2011, 05:01:36 IP
yep that is one way to change it dont forget the on hover color for the blue may need to be changed in that file as well.
Otsikko: Re: font colour change
Kirjoitti: Monkey50 - syyskuu 02, 2011, 05:56:40 AP
how would i change that with notepad++ or just change the colour myself then upload it
Otsikko: Re: font colour change
Kirjoitti: Illori - syyskuu 02, 2011, 05:58:18 AP
you need to either delete that line or edit the image with an image editor.
Otsikko: Re: font colour change
Kirjoitti: Monkey50 - syyskuu 02, 2011, 06:08:24 AP
thanks i thought i did but wanted to be sure. thanks for all the help. i know it seems i am asking lots but i feel like i am getting use to it now
Otsikko: Re: font colour change
Kirjoitti: kat - syyskuu 02, 2011, 08:40:41 AP
No sweat!

We all asked a lot of questions, when we started. :)