Title: Variable selector highlight colour
Last modified: April 11, 2021

---

# Variable selector highlight colour

 *  Resolved [richee10](https://wordpress.org/support/users/richee10/)
 * (@richee10)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/variable-selector-highlight-colour/)
 * Hey I need help changing the highlight colour when selecting an answer from the
   dropdown options. Because both are white it hides the actual text when hovering
   over the options.
 * A darker grey would work: #414141 or even the same colour but at 0.1 opacity 
   so the white text can be seen when hovering.
 * There are 3-4 fields I would need this for, not sure if there’s a global snippet
   I can add?
 * Any help would be appreciated, thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvariable-selector-highlight-colour%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jade](https://wordpress.org/support/users/jadeam/)
 * (@jadeam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/variable-selector-highlight-colour/#post-14314039)
 * Hi [@richee10](https://wordpress.org/support/users/richee10/),
 * To do what you mentioned, please try the code below:
 *     ```
       div.wpforms-container .wpforms-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
           background-color: #414141 !important;
       }
       ```
   
 * And in case it helps, here’s a tutorial from WPBeginner on [how to add custom CSS like this to your site](http://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/).
 * Hope this helps!
 *  [Jade](https://wordpress.org/support/users/jadeam/)
 * (@jadeam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/variable-selector-highlight-colour/#post-14338356)
 * Hi [@richee10](https://wordpress.org/support/users/richee10/),
 * We haven’t heard back from you in about a week, so I’m going to go ahead and 
   close this thread for now. But if you’d like us to assist further, please feel
   welcome to continue the conversation.
 * Thanks!

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

The topic ‘Variable selector highlight colour’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jade](https://wordpress.org/support/users/jadeam/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/variable-selector-highlight-colour/#post-14338356)
 * Status: resolved