1.0.5 CSS question

Started by deathwantsme, December 18, 2005, 11:46:00 PM

Previous topic - Next topic

deathwantsme

my question is about the "Show news fader on board index question" section of the theme

How do i change the text color for that particular area? It is currently black and so is the forum background. I cant figure out what part of the CSS needs to be changed to make the sections text white. Any help would be greatly appriciated.

IchBin™

Which theme are you refering to? In the default theme I think it's specified in the .smalltext or body, td, th class of the style.css file. You can play with the style.css file in the SMF editor and it will show you "live" results so you can find it quickly.
IchBin™        TinyPortal

deathwantsme

the live editor is on 1.1rc1 only. In 1.0.5 it doenst have a live update as you change things.

bloc

Open Boardindex.template and find:

// Fade from... what text color?  To which background color?
var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {"r": 255, "g": 255, "b": 255};


Just change those 0, 0,0 to maybe 255,255,255. The second 255..etc. is what the fade should end at. So maybe set those to 0,0,0? Reversing the fade to now white-to-balck instead of black to white.

Advertisement: