View Full Version : font_color changes per style
qryztufre
10-16-2006, 04:05 PM
I've got a dark skin & a light skin...and when people post in dark fonts from the light skin, they are very hard to read in the dark skin.
I'm wondering if there is something I can tweak to change "dark blue" to "light blue" (or any colors really) when viewing a post in any given style.
The "default" colors already convert, so it's the rest of the colors I'd like to "reverse" if possible. I user to be a member of a forum that did this...so I know it can be done, it's just I've no clue how...
thanks,
Q
Hell³
10-16-2006, 05:45 PM
Maybe you could try with a replacement variable, I think there is a mini-guide around let me see if I can find it...
edit: ok, no mini guide, but theres always the vbulletin manual: replacement variables intro (http://www.vbulletin.com/docs/html/main/replacements_intro)
Peggy
10-16-2006, 06:31 PM
Each style has it's own set of font colors. You can tweak these in the style's Main CSS.
Hell³
10-16-2006, 10:44 PM
The thing is that he wants to avoid the use of colors in posts that make reading difficult in the background of certain styles. For example, if I make my text silver looking here. That would be only possible with a replacement variable for the vbcode [COLOR=Silver] and change it to [COLOR="DimGray"] for example, and since replacement variables are style based, then I believe it's the better solution.
qryztufre
10-17-2006, 02:11 PM
The thing is that he wants to avoid the use of colors in posts that make reading difficult in the background of certain styles. For example, if I make my text silver looking here. That would be only possible with a replacement variable for the vbcode [COLOR=Silver] and change it to [COLOR="DimGray"] for example, and since replacement variables are style based, then I believe it's the better solution.
Actually, I don't really mind the occasional use of silver here, it's the posts in a dark skin written entirely in silver that are entirely too hard to read that I'd like converted.
So
skinA with silver = silver in skinA
SkinB with silver = dimgrey in skinA and silver in skinB
I don't want to restrict colors at all from the posters perspective, only the colors from the viewers perspective (assuming said viewer is in a different skin).
edit: ok, no mini guide, but theres always the vbulletin manual: replacement variables intro
Yes, thank you for that...I found it shortly after posting here. If I can figure out what I want to do wth existing options I'll try getting instructions put up.
________
Currently I've got 4 stand-alone skins, and we're gunna try setting them up under child styles with parents labeled "Light" and "dark" then try swapping out colors based on the parent (which I'm currently assuming, will change the children). But like I said, if I can figure it out I'll get back to you ;) Though, umm...if anyone knows the answer, post it *smirk*
Thanks again for the input thus far!
Q
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.