When adding a question in the admin section, there are drop down menu's, for category for instance. The option that is selected has a bright blue background color. I like to change this.
Problem is that it has no class or id so it cannot be targeted by the style.css. I guess it's done in a javascript file somewhere.
Does anyone know how to change this color? Thanks in advance.
Styling the 'selected' option in drop down menu's
Moderator: Thorsten
Re: Styling the 'selected' option in drop down menu's
Hi,
I could add a css class if you like, just tell me for which drop down.
bye
Thorsten
I could add a css class if you like, just tell me for which drop down.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Styling the 'selected' option in drop down menu's
I'm not sure actually if adding a class will help. I am talking about the 'Categories'-dropdown in the page in the admin-section where you add a new question. It's a 'select'-element and it already has an id, named 'phpmyfaq-categories'.
Everything in the list is an 'option' and the selected option get's a bright blue background color. I don't know how to target this selected option.
Do you know how to do this?
Everything in the list is an 'option' and the selected option get's a bright blue background color. I don't know how to target this selected option.
Do you know how to do this?
Re: Styling the 'selected' option in drop down menu's
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Styling the 'selected' option in drop down menu's
Hi Thorsten,
I tried it: option:checked and option:selected, but it doesn't work.
I tried it: option:checked and option:selected, but it doesn't work.
Re: Styling the 'selected' option in drop down menu's
Hi,
which browser did you used?
bye
Thorsten
which browser did you used?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist