Title: CSS for dropdowns
Last modified: April 17, 2017

---

# CSS for dropdowns

 *  Resolved [nathanp123](https://wordpress.org/support/users/nathanp123/)
 * (@nathanp123)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-for-dropdowns/)
 * I am trying to change the color of the search box from red. I have managed to
   change the colors of the text box and the buttons, like in the topic from a few
   days ago:
 *     ```
       .wpdreams_asl_container,
       .wpdreams_asl_container .probox {
           background:#8c8c8c !important;
       }
   
       .promagnifier {
       	background:rgb(120, 195, 251)
        !important;
       }
   
       .prosettings {
       	background:rgb(120, 195, 251)
        !important;
       }
   
       #ajaxsearchlite1.wpdreams_asl_container div.probox div.proinput input,
       #ajaxsearchlite2.wpdreams_asl_container div.probox div.proinput input {
           color: white !important;
       }
       ```
   
 * However, I cannot figure out how to change the colors of the dropdown menus, 
   like the search settings and the actual search results. I’ve tried this, but 
   it didn’t work:
 *     ```
       .searchsettings{
       	background-color:aqua !important;
       }
       ```
   
 * Screenshots:
    [https://ibb.co/mHZFbQ](https://ibb.co/mHZFbQ) [https://ibb.co/i4usO5](https://ibb.co/i4usO5)
 * Can you explain what CSS selectors I need to change their colors?
    Thanks!
    -  This topic was modified 9 years, 1 month ago by [nathanp123](https://wordpress.org/support/users/nathanp123/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-for-dropdowns/#post-9041385)
 * Hi!
 * I believe this is the custom CSS you are looking for:
 *     ```
       div[id*="ajaxsearchlitesettings"].searchsettings,
       div[id*="ajaxsearchliteres"].vertical {
           background: rgb(120, 195, 251) !important;
       }
       ```
   
 *  Thread Starter [nathanp123](https://wordpress.org/support/users/nathanp123/)
 * (@nathanp123)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-for-dropdowns/#post-9043095)
 * Yes, that worked. Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS for dropdowns’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 2 replies
 * 2 participants
 * Last reply from: [nathanp123](https://wordpress.org/support/users/nathanp123/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/css-for-dropdowns/#post-9043095)
 * Status: resolved