What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

changing the background color or drop down box

anjaliagarwal6

New member
Joined
May 16, 2020
Messages
1
Reaction score
0
HTML Coins
0
Hello All,

I am editing a web site written by a previous employee who is no longer with the company, I am asked a add a drop down box on the web site. Adding a drop down is very simple, but the background color of that drop down is always grey, although when I put the drop down on a notepad and save it as html then the background appears white in the browser. I did the entire style sheet search for select option, but could not find anything that turns the drop down box grey color, there are tons of style sheets and javascript file references in the code. I am very new to CSS. I decided to put my own stylesheet to overwrite that grey color , the background color of drop down box changed to white color, the color that I wanted, but the edges and the drop down sign is still grey. Is their any way, I can force the while color background on drop down box without changing the style sheet. Below is my code and style sheet and the image of the drop down:

<code>
<div class="ui-block-b ui-margins" > <label for="nname">Gender</label>
<select id="nname" class="specialcolor">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</code>

The style sheet is :

<style>
.specialcolor{
background-color:white !important;
}
</style>

This is the image:

pic2.png
As you can see the internal drop down area is white otherwise rest is grey. Any help will be greatly appreciated.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back