WordPress.org

Support

Support » Themes and Templates » [Resolved] changing color of search element on pages and posts

[Resolved] changing color of search element on pages and posts

  • Howdy,

    I’ve managed to change the color of everything in this theme except for the search element on pages and posts. I’ve been able to change it for the front page, but it is still purple when not on the front page. I’ve spent hours looking through the css files. Does anyone know how to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can add something like this to your style.css

    #searchform .button {color: #000000; background-color: #ffffff;}
    #searchform .button:hover, #searchform .button:focus {color: #000000; background-color: #cccccc;}
    #s {color: #aaaaaa; background-color: #ffffff;}
    #s:hover, #s:focus {color: #000000; background-color: #ffffff;}

    First two will change the button’s styles, last two input field’s styles.

    Thanks for that. I’ll store that away for a future project…I just found was I was looking for via Firebug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] changing color of search element on pages and posts’ is closed to new replies.