Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Help in changing font colors for posts

Aloittaja shen brood, toukokuu 17, 2006, 12:38:24 AP

« edellinen - seuraava »

shen brood

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!

forsakenlad

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood

#2
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!


forsakenlad

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;
}
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood

I do not know but when I did that nothing have actually changed  ???  I wonder what the problem is...

forsakenlad

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member


forsakenlad

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 ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood


forsakenlad

Have you done both of the changes I have wanted at the same time? Because I have tried and it seems to work.
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood


forsakenlad

Have you tried refreshing because the link you have snet me has black text now :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood


forsakenlad

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.
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

shen brood

Thanks will try to look at it and hope it helps.  Sorry bout not mentioning that.

Advertisement: