Customizing SMF > Graphics and Templates
Different post text colors
nil:
I have a light and a dark color for the alternating backgrounds in topics and would like to have the text in each color to be different, white in the dark one and black in the light one. I have tried many things and to no avail.
How do I do this?
Thnx all.
Acf:
How does the background alternate? (you might be able to derive it from that)
What code does it use?
nil:
--- Code: ---/* Alternating backgrounds... */
.windowbg
{
color: [b]#FFFFFF;[/b]
background-color: #4167B4;
}
.windowbg2
{
color: [b]#000000;[/b]
background-color: #7AA9D4;
}
--- End code ---
I tried changing the highlighted portion which changed the text color for that bg everywhere but in the posts.
Tomer:
I beleive you have to make a new CSS group and modify some code to make it wor. Its that that simple.
SoaringUSAEagle:
--- Quote from: nil on May 14, 2004, 03:06:12 AM ---
--- Code: ---/* Alternating backgrounds... */
.windowbg
{
color: [b]#FFFFFF;[/b]
background-color: #4167B4;
}
.windowbg2
{
color: [b]#000000;[/b]
background-color: #7AA9D4;
}
--- End code ---
I tried changing the highlighted portion which changed the text color for that bg everywhere but in the posts.
--- End quote ---
I was thinking you may just be able to add
font-color: #color;
To each of those.... but I dont have time to try it to see. I am also not an expert at CSS... I know it okay, but not too well to know if that will work or not...
Let me know what happens please.
Navigation
[0] Message Index
[#] Next page
Go to full version