Log in

View Full Version : where are color stored?


baseball
01-15-2004, 12:20 AM
I noticed that if i modified the color for smallfont in the gui to #33FFCC for example, that after i saved the css update, that when i searched all the templates for #33FFCC there was nothing. granted i can find smallfont
in 2 forms yet they contained no colors.

Xenon
01-15-2004, 12:39 PM
the templates just use class="smallfont" the settings for that class, like color is just stored in the css

baseball
01-15-2004, 02:56 PM
so , if for example i change .navbar in the gui to a differnet font color where is that information stored (css) or (xml) I notice there was a controlpanel.css but i didn't see color information saved to that file after i changed it in the gui admin. so i suspect the color info is saved to an xml file. i happen to call my template 'custom' so does this mean that there is a custom.xml file or is everything stored in vbulletin-style.xml

Xenon
01-15-2004, 03:33 PM
nope, the css is stored in the db and is inserted at the top of the output site dynamically.

baseball
01-15-2004, 03:50 PM
nope, the css is stored in the db and is inserted at the top of the output site dynamically.

so if i want to add some custom css styles

e.g.,

.custom

do i have to ad it to the database
or simply reference it in the appropriate php doc

NTLDR
01-15-2004, 03:53 PM
Place it in the Additional CSS Definitions text area.