Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: shen brood - toukokuu 17, 2006, 12:38:24 AP

Otsikko: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 17, 2006, 12:38:24 AP
I have used the Classic YaBB SE Theme, and have tried to change the white text to black by editing the css file but to no avail.  Please do help me on how to correct this problem.  Thanks!
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 17, 2006, 10:06:00 AP
Where exactly do you want to change?
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 18, 2006, 03:31:37 IP
I want to change the white text in the forum post to black.  Here is the link to the screenshot of the post message display. Thanks in advance!

(http://northquad.gov.ph/portal/images/user/forumpost.jpg)
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 20, 2006, 06:23:55 AP
Search for this (or something similar) in your style.css:

/* By default (td, body..) use Verdana in black. */
body, td, th
{
color: #FFF;
font-size: small;
font-family: verdana, sans-serif;
}


And replace it with this:

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
color: #000;
font-size: small;
font-family: verdana, sans-serif;
}
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 20, 2006, 06:51:22 AP
I do not know but when I did that nothing have actually changed  ???  I wonder what the problem is...
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 20, 2006, 07:41:29 AP
Can you provide a link to your website?
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 20, 2006, 07:56:01 AP
Here is the LINK (http://www.northquad.gov.ph/forum).
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 20, 2006, 09:23:51 AP
Search for this in your style.css file:

/* Alternating backgrounds... */
.windowbg
{
color: #FFFFFF;
background-color: #afc6db;
}
.windowbg2
{
color: #FFFFFF;
background-color: #f8f8f8;
}


And replace it like this:

/* Alternating backgrounds... */
.windowbg
{
color: #000;
background-color: #afc6db;
}
.windowbg2
{
color: #000;
background-color: #f8f8f8;
}


Hope it helps ;)
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 20, 2006, 01:35:11 IP
 :'( It is still not changed.  ???  ::)
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 20, 2006, 04:46:00 IP
Have you done both of the changes I have wanted at the same time? Because I have tried and it seems to work.
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 22, 2006, 02:19:29 AP
It is still not changing  :'(
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 22, 2006, 03:29:47 AP
Have you tried refreshing because the link you have snet me has black text now :)
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 22, 2006, 11:49:15 AP
I have tried it in Internet Explorer and Mozilla and the posts are still in white --> http://northquad.gov.ph/portal/index.php?option=com_smf&Itemid=27&topic=1.msg96#new
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: forsakenlad - toukokuu 22, 2006, 03:33:16 IP
You had never mentioned you were using Mambo/Joomla, this is happening because the CSS files are conflicting, please read the guide about integrating SMF and Joomla templates.
Otsikko: Re: Help in changing font colors for posts
Kirjoitti: shen brood - toukokuu 23, 2006, 09:42:40 AP
Thanks will try to look at it and hope it helps.  Sorry bout not mentioning that.