Hi,
Any way to change the stock combobox item selection color?
The "Input Focus" color is customizable, however the item selection color remains blue. I have also attempted to change it by selecting another jQuery UI theme in the page properties -> style -> jQuery UI Theme settings box, but no joy...
Thanks,
Sergio
WWB 14.4.0
Combobox selection color
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Combobox selection color
Are you want to change the background of the combobox button, the background of the "dropdown" portion or the background of the selection bar in the dropdown? Changing the background color under the style tab affects both.
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Combobox selection color
You can try/use the following placing between the <head></head> tags* change red to whatever colour you wish. Note if still using WB14 it is no longer supported.
Code: Select all
<style>
select option
{
background: red;
}
</style>
Re: Combobox selection color
Bacon beat me to it. This will style the background of the dropdown box.
However, when you hover over an item in the dropdown box, I don't believe there is a way to style the hover color without using javascript.
However, when you hover over an item in the dropdown box, I don't believe there is a way to style the hover color without using javascript.
-
-
- Posts: 21
- Joined: Wed Aug 14, 2013 3:55 pm
Re: Combobox selection color
Thanks for the input, guys.
Indeed, what I would like to change is precisely the hover selection bar.
The code Bacon sent works perfectly on the drop down background but not the hover dropdown item selection bar which is always blue.
That's what I would like to change. Keep the dropdown background white while having the item selection bar in green, for eg.
Is this available in WWB17? I have put upgrade on hold beacause whenever i upgrade I aalways end uo having to install every single non-stock extension (and there are quite a lot).
Regards,
Indeed, what I would like to change is precisely the hover selection bar.
The code Bacon sent works perfectly on the drop down background but not the hover dropdown item selection bar which is always blue.
That's what I would like to change. Keep the dropdown background white while having the item selection bar in green, for eg.
Is this available in WWB17? I have put upgrade on hold beacause whenever i upgrade I aalways end uo having to install every single non-stock extension (and there are quite a lot).
Regards,
Re: Combobox selection color
No, because there is no official way to do this in HTML/CSS.Is this available in WWB17?
https://developer.mozilla.org/en-US/doc ... g_with_css
As, alternative you can use the Listview object in 'drop list' mode.
-
-
- Posts: 21
- Joined: Wed Aug 14, 2013 3:55 pm
Re: Combobox selection color
Thanks again guys,
The Listview alternative works for me.
Regards,
The Listview alternative works for me.
Regards,