WordPress.org

Forums

Changing the background color for the search (8 posts)

  1. zyllah
    Member
    Posted 11 years ago #

    How do I change the background color of the input text box under search?
    Jen

  2. Stevarino
    Member
    Posted 11 years ago #

    Try putting this into your CSS file:
    #s {
    background-color: #ffcc00;
    }

  3. zyllah
    Member
    Posted 11 years ago #

    Hmm that didn't work
    thanks tho

  4. Root
    Member
    Posted 11 years ago #

    The search box takes its bg from somewhere very low down in the stack. prolly #content or #rap might do it.

  5. Mark (podz)
    Support Maven
    Posted 11 years ago #

    #menu li form input{
    background-color: #ffff00;
    }
    http://www.mfr.f2s.com/graphicalcss/menu/index.html

  6. cynthiablue
    Member
    Posted 9 years ago #

    That is funny. :) I tried the above css modification, and it changed the color of the search button, not the input box. :)

    Back to searching the forums more.

  7. moshu
    Member
    Posted 9 years ago #

    Find this in your stylesheet:
    #nav input#s {
    width: 80%;
    background: #XXX;
    border: 1px solid #c00;
    color: #DBA535;
    }

    replace the XXX with your values.

  8. cynthiablue
    Member
    Posted 9 years ago #

    Ah at last, thank you. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.