Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: netshaq - kesäkuu 08, 2011, 11:06:54 AP

Otsikko: Change font color
Kirjoitti: netshaq - kesäkuu 08, 2011, 11:06:54 AP
How can I change the font color on mysite to standard blue 0000FF from grey
see site http://netshaq.com/portal/index.php


Thanks
Steve

<Edited by K@ to remove caps-lock in title>
Otsikko: Re: CHANGE FONT COLOR
Kirjoitti: Joker™ - kesäkuu 08, 2011, 11:22:32 AP
themes\<theme your are using>\style.css

see for color in (make backup  of file before editing it)

body, td, th, tr
Otsikko: Re: CHANGE FONT COLOR
Kirjoitti: netshaq - kesäkuu 08, 2011, 12:53:22 IP
I change this /* Normal, standard links. */
a:link
{
   color: #476C8E;
   text-decoration: none;
}
a:visited
{
   color: #476C8E;0

to color 0000FF and it didn't work ?

Otsikko: Re: CHANGE FONT COLOR
Kirjoitti: Joker™ - kesäkuu 08, 2011, 01:30:59 IP
You are trying to change text color or links color?
Otsikko: Re: CHANGE FONT COLOR
Kirjoitti: netshaq - kesäkuu 08, 2011, 02:00:24 IP
sorry text color to blue 0000FF

thanks
Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 08, 2011, 02:17:23 IP
Lainaus käyttäjältä: Joker™ - kesäkuu 08, 2011, 11:22:32 AP
themes\<theme your are using>\style.css

see for color in (make backup  of file before editing it)

body, td, th, tr
Same as above, see line 36 of the file saying

body, td, th, tr {
    color: #0000FF;
    font-family: verdana,sans-serif;
    font-size: small;
}



Also after making changes hard refresh your browser to see the changes (For firefox use crl+f5).
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 08, 2011, 04:22:38 IP
This is driving me crazy, I can't find line 35 :( can you take a look at the attached style.css

Thanks
Steve

Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 08, 2011, 04:25:29 IP
Try the attached file
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 08, 2011, 05:26:07 IP
It didn't work and it underlined some links.

I guess I will just leave it the color it is..

Thanks for trying..

Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 09, 2011, 03:34:25 AP
I even edited the text color of your forum using firebug, and that css file only contains the color change for body. I've not made any other change in it, strange. Be sure you are making the changes in the theme you are using on the forum.
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 09, 2011, 10:24:59 AP
take a look at the page with your update.

http://netshaq.com/portal/index.php

some of the font is blue and some links are underlined ? strange..

thanks
Steve

Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 09, 2011, 11:17:00 AP
Lainaus käyttäjältä: netshaq - kesäkuu 09, 2011, 10:24:59 AP
take a look at the page with your update.

http://netshaq.com/portal/index.php

some of the font is blue and some links are underlined ? strange..

thanks
Steve

Underlined ones are links, blue ones are the text which I thought you asked to change :).
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 09, 2011, 03:55:21 IP
I guess I did say that my bad, When I add a link to the website I would like the font to be blue ..
I attached a new style.css default if you would like to try again....

Thanks

Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 09, 2011, 04:02:46 IP
Try attached file.
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 09, 2011, 04:17:41 IP
Nice job

.... can I bug you for another color change. The background of home page is light grey I
would like it to be white....

Thanks Joker for your help....

Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 09, 2011, 04:33:49 IP
Find this in style.css

Koodi (Find:) [Valitse]
body {
    background-color: #E5E5E8;
    margin: 0;
    padding: 12px 30px 4px;
}



Koodi (Replace it with:) [Valitse]
body {
    background-color: #fff;
    margin: 0;
    padding: 12px 30px 4px;
}
Otsikko: Re: Change font color
Kirjoitti: netshaq - kesäkuu 09, 2011, 04:39:30 IP
done.

Thanks now I just need to figure out how to make the ezportal blocks back ground white ???

Then the site should look almost seemless ...

Thanks for your help Joker
Otsikko: Re: Change font color
Kirjoitti: Joker™ - kesäkuu 09, 2011, 04:44:42 IP
Lainaus käyttäjältä: netshaq - kesäkuu 09, 2011, 04:39:30 IP
done.

Thanks now I just need to figure out how to make the ezportal blocks back ground white ???

Then the site should look almost seemless ...

Thanks for your help Joker
Your most welcome :). Changing ezportal blocks may require some work as from what I saw on your site the are using an inbuild css class of SMF. To be precise

.windowbg2