Input boxes background color

  • Author
    Posts
  • #35215
    Neha

    Hi! I am using the latest version of WP and nirvana. I have been trying to change the color of the text areas, input boxes etc. to make them more visible on my page, but not able to. Tried inputting the following code in the custom CSS part of the theme, but it does not work.

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="file"],
    textarea,
    select,
    input[type="color"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="number"],
    input[type="range"],
    input[type="search"],
    input[type="tel"],
    input[type="time"],
    input[type="url"],
    input[type="week"] {
        background-color: #00FF00;
    }
    
    input[type="submit"],
    input[type="reset"] {
        background-color: #00FF00;
    }
    #35217
    Neha

    Hokay folks. Got it working.

    Some how just using single elements seems to make it work. So it’s just this.

    input[type="text"] { border-style: solid; border-color: #8aac1a;}
    input[type=submit], input[type=reset] { background-color: #FFFFFF; border-color: #8aac1a;}

    An awesome theme you folks have built. I totally love Nirvana! I tried many other themes before going live, but kept coming back to the lovely Nirvana 🙂

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

The topic ‘Input boxes background color’ is closed to new replies.