The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to set two small font CSS classes?
My "small font" class is breaking either the postbit (user title, last online, etc.) or text in the page body, because I have a near-white background in the former and a black background in the latter. In other words, setting small fonts as black will render text as invisible on the black background, and setting it as white will do the same in the postbit.
Is there a way in Main CSS to set a conditional for where the small text is showing up, or is there a way to set two small font classes? If yes to either, anyone have details on how? |
#2
|
||||
|
||||
You need to edit the class name of one or the other and add it manually in your extended class definitions in the css manager. Just do a view source and copy/edit the original class.
|
#3
|
|||
|
|||
Yeah, I figured it out with some trial and error in Additional CSS Definitions. Trouble is I nailed the color problem and broke the size.
Code:
/* **** Second Small Font CSS Def., added 1/28/2006 .smallfont2 { style="color: White; font-size: 10pt;" } At least it's visible. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|