The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Style Variables Assistance
Anyone know what changes this? It's not a big deal on our default Dance of the Dream Eater style or other dark styles since it's the shade we want it (white), but on styles with lighter or brighter headers, there are text visibility issues.
I've looked through all color variables and can't seem to find it. Here's an example using a style where it's hard to see: Thanks! |
#2
|
||||
|
||||
Hi There,
I've always had issues with this as well. My solution has been to add a line to the additional.css template for each instance of this type of issue. You can reference a style variable in the template itself, for which color the text will be, if you want to practice good standards. e.g. dl.stats dt.folder_count {color: {vb:stylevar [name_of_stylevar]}} Hope someone else has a better solution, because this had been bugging me for a year now. -Nick, SEOvB Developer |
#3
|
|||
|
|||
Quote:
Code:
dl.stats dt.folder_count {color: #000000 {vb:stylevar [body_color]}} |
#4
|
||||
|
||||
Sorry, the code I gave was more theoretical than practical.
This should work: Code:
.block dl.stats .folder_count {color: {vb:stylevar body_color}} |
#5
|
|||
|
|||
Where do you specify the color?
|
#6
|
||||
|
||||
The color is specified in the appropriate style variable. You can use whatever style variable you want.
AdminCP->Styles & Templates->Style Manager->(Select "Style Variables" in the dropdown from the style you want to edit). The stylevar names are all listed on the left. -Nick, SEOvB Developer |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|