# I want to change the 'blue' color that appears on hover in the dropdown list \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646>\
**Category:** Get Help\
**Tags:** enhanced-interface, chrome, css\
**Created:** [January 19, 2022, 8:13pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646 "2022-01-19T20:13:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![arifemreeryilmaz2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/arifemreeryilmaz2/32/4378_2.png) [@arifemreeryilmaz2](https://community.gravityforms.com/u/arifemreeryilmaz2)\
**Post date:** [January 19, 2022, 8:13pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/1 "2022-01-19T20:13:03Z")

</div>

I want to change the ‘blue’ color that appears on hover in the dropdown list. i tried other css codes in the form but it didn’t work. I want this change to appear in all browsers including Chrome.  
 ![Screenshot_2](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/5/5a8487cc92ef48bcc76aa0505e833c1cab329772.png)

Below are some codes that I tried and didn’t work.

```auto

```

option {  
background: #1b1a1a !important;  
color: #357b1d !important;  
}  
select {  
background: #1b1a1a !important;  
color: #357b1d !important;  
}

// If you also want to theme your text inputs:  
input {  
background: #1b1a1a !important;  
color: #357b1d !important;  
}

```auto

```

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 19, 2022, 8:15pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/2 "2022-01-19T20:15:14Z")

</div>

This browser control is generally hard to change with CSS alone. What is the URL of the page on your site where we can see the form and test it?

---

<div class="post-metadata">

**Author:** ![arifemreeryilmaz2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/arifemreeryilmaz2/32/4378_2.png) [@arifemreeryilmaz2](https://community.gravityforms.com/u/arifemreeryilmaz2)\
**Post date:** [January 20, 2022, 5:35pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/4 "2022-01-20T17:35:17Z")

</div>

> **[Baba Fotoğraf - Nesrin Yanık Çorakbaş - Ankara Fotoğrafçı](https://babafotograf.com/)**
>
> Baba Fotoğraf - Nesrin Yanık Çorakbaş - Ankara Fotoğrafçı bebek fotoğrafçısı yenidoğan fotoğraf çekimi düğün fotoğrafçısı pasta patlatma

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 20, 2022, 6:02pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/5 "2022-01-20T18:02:58Z")

</div>

In Firefox, on Windows 10, this is what I see: [hxJ73t6Iqv.png - Droplr](https://share.gravityfor.ms/8ZeBSH)

Chrome on Windows 10: [hp9QqNcXVZ.png - Droplr](https://share.gravityfor.ms/2l6t1B)

Here is a good discussion of what is possible (and how) and what is not:

> <https://stackoverflow.com/questions/19388011/how-to-change-colour-of-blue-highlight-on-select-box-dropdown>

I don’t know of a way to override that with CSS alone, but I will leave this open in case someone else has a suggestion on how to do it.

---

<div class="post-metadata">

**Author:** ![arifemreeryilmaz2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/arifemreeryilmaz2/32/4378_2.png) [@arifemreeryilmaz2](https://community.gravityforms.com/u/arifemreeryilmaz2)\
**Post date:** [January 20, 2022, 7:57pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/6 "2022-01-20T19:57:58Z")

</div>

not just css. It can also be done with javascript. Can you give me a suggestion to fix this?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 20, 2022, 10:24pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/7 "2022-01-20T22:24:23Z")

</div>

Yes, I think it is possible with JavaScript and possibly CSS. That customization is outside of what we can normally handle in support or these community forums. Have you looked at the StackExchange discussion I linked to? That offered some suggestions, all of which would require customization.

---

<div class="post-metadata">

**Author:** ![user5c0166073a6c48.6](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5c0166073a6c48.6/32/17391_2.png) [@user5c0166073a6c48.6](https://community.gravityforms.com/u/user5c0166073a6c48.6)\
**Post date:** [January 21, 2022, 2:50am UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/8 "2022-01-21T02:50:49Z")

</div>

I’m not sure that is possible with the Gravity Forms dropdown field. However, if you will enable the enhanced user interface for your dropdown and use the CSS below, I believe you will have what you are wanting. Here is the screenshot of the expected output:

 ![Screen Shot 2022-01-20 at 8.48.49 PM](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/1/1702f0cd1e67d7cbd10f79c08409e69b5a2944a0.png)

And here is the CSS:

```auto
.gform_wrapper.gravity-theme .chosen-container-single .chosen-search {
	display: none;
}
.gform_wrapper.gravity-theme .chosen-container .chosen-results li.highlighted {
	background: #1b1a1a;
	color: #357b1d;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
	background: none;
	background-clip: none;
	box-shadow: none;
	border-color: black;
}

.gform_wrapper.gravity-theme .chosen-container-active.chosen-with-drop .chosen-single {
	background: none;
	background-clip: none;
	box-shadow: none;
}

.gform_wrapper.gravity-theme .chosen-container-active.chosen-with-drop .chosen-single {
    background: none;
    background-clip: none;
    box-shadow: none;
    border-style: none;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #111111 !important;
	margin-bottom: 10px
}
.gform_wrapper.gravity-theme .chosen-container .chosen-results li.active-result {
	font-size: 20px;
	padding: 10px;
}

```

---

<div class="post-metadata">

**Author:** ![arifemreeryilmaz2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/arifemreeryilmaz2/32/4378_2.png) [@arifemreeryilmaz2](https://community.gravityforms.com/u/arifemreeryilmaz2)\
**Post date:** [January 22, 2022, 5:53pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/9 "2022-01-22T17:53:04Z")

</div>

**Your help solved my problem completely, thanks.**

I activated the following option from the settings for my form.  
**Admin Dashboard \> Forms \> “Form Nam” \> Select Field \> Appearance \> "Enable enhanced user interface = Enable"**

later  
Admin Dashboard \> Appearance \> Customize \> Additional CSS

```auto
.gform_wrapper.gravity-theme .chosen-container-single .chosen-search {
	display: none;
}
.gform_wrapper.gravity-theme .chosen-container .chosen-results li.highlighted {
	background: #1b1a1a;
	color: #fff;
}

.gform_wrapper.gravity-theme .chosen-container-active.chosen-with-drop .chosen-single {
	background: none;
	background-clip: none;
	box-shadow: none;
}

.gform_wrapper.gravity-theme .chosen-container-active.chosen-with-drop .chosen-single {
    background: none;
    background-clip: none;
    box-shadow: none;
    border-style: none;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #111111 !important;
	margin-bottom: 10px
}

```

I pasted the code you gave me and my problem was solved perfectly.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [January 23, 2022, 5:53pm UTC](https://community.gravityforms.com/t/i-want-to-change-the-blue-color-that-appears-on-hover-in-the-dropdown-list-resolved/11646/10 "2022-01-23T17:53:36Z")

</div>

Closed on January 23, 2022, 5:53pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
