View Full Version : Textfield Styles
neverrain
Sat 19th Jun '04, 2:09pm
Is there anyway I can style the bg and border of every textfield on vBulletin? I would think they are all linked to some CSS style I'm just missing.
-neverrain
Dean C
Sat 19th Jun '04, 2:26pm
In the Styles Manager in your admincp go to the Main CSS section. Scroll right to the bottom and in the additional CSS definitions section put:
textarea { background-color: #hex; border: 1px solid #hex; }
Or something along those lines :)
neverrain
Sat 19th Jun '04, 3:02pm
I added this and it didn't work:
/* styles all text areas */
textarea { background-color: #E5E5E%; border: 1px solid #5A5E45; }
Dean C
Sat 19th Jun '04, 3:14pm
Why've you got a % there?
neverrain
Sat 19th Jun '04, 4:03pm
Not sure why that stayed in there. Anyways I deleted it and I still have the same problem.
textarea { background-color: #E5E5E5; border: 1px solid #5A5E45; }
MrNase
Sat 19th Jun '04, 4:49pm
try
textarea {
background-color: #E5E5E5 !important;
border: 1px solid #5A5E45 !important;
}
neverrain
Sat 19th Jun '04, 6:34pm
Still doesn't seem to work. Ugh :(
Dean C
Sat 19th Jun '04, 6:47pm
Ok I found out why.
You need to edit the Input Fields class section in the Main CSS section of your style manager :)
neverrain
Sat 19th Jun '04, 7:46pm
Thanks a lot Dean. That works perfectly, I totally missed that part of the manager.
Dean C
Sat 19th Jun '04, 7:54pm
So did I on my first look ;)
Floris
Sat 19th Jun '04, 8:43pm
As a reference - http://www.vbulletin.com/docs/html/main/color_maps_intro
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights