The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Text box selected color
Could someone tell me which stylevar/class controls the background color of a textbox when it's selected?
Additionally anyone know how to change the default color of text in the WYSIWYG editor? |
#2
|
||||
|
||||
I think you want to look these up in Search for Templates and they may tell you the stylevars and/or color:
body.wysiwyg .editor_textbox textarea (or .editor_textbox iframe) |
#3
|
||||
|
||||
I did as you said but I can't find anything that overrides the white background on focus.
Thanks anyway Lynne |
#4
|
||||
|
||||
Whoops, didn't notice it was on focus. I don't know that you can do anything on focus to the wysiwyg since it is an iframe, not a form input.
|
#5
|
||||
|
||||
Any further suggestions anyone?
What I'm trying to achieve is a dark theme for my WYSIWYG - which would involve changing the background to the WYSIWYG editor to #2c2c2c and changing the default text color to #fff. |
#6
|
||||
|
||||
I found a solution to this in the end.
Code:
.wysiwyg, .formcontrols .blockrow .editor_textbox textarea:focus, .editor_textbox textarea, .editor_textbox iframe, body.wysiwyg { color: #fff; /*Default Font Color */ background-color: #2c2c2c; /*WYSIWYG Background */ } |
#7
|
|||
|
|||
Yes,, it worked. I use only this part. Because all I needed was the WYSIWYG Background color changed thank you very much.
Put in additional.css Code:
/*WYSIWYG Background */ body.wysiwyg { background-color: #2c2c2c; } Quote:
|
#8
|
|||
|
|||
I tried to add both of these codes into my additional CSS and neither have worked. I still have my static background showing as background in my member supplied text boxes (they should be white #ffffff). I can't figure this out and it it driving me insane. I had my somewhat "techie" hubby look at in and even he doesn't know what it going on. Any ideas? PLEASE!
Example: http://www.ourcouponhome.com/showthr...439#post196439 |
#9
|
||||
|
||||
We can see no Quick Reply box on that page. If you want us to look, you should supply a test username/password.
|
#10
|
|||
|
|||
UserID: Techie
Password: password |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|