Changing text color in search bar

  • Author
    Posts
  • #35355
    Danny

    I’m trying to figure out how to change the color of the text as well as the magnifying glass in the search bar both before you type and once you are typing. I know changing the general text color will change it but I need to change it independently of the general text color. Thanks for any help!

    #35405
    Zed
    Cryout Creations mastermind
    body #searchform input[type="text"] {
        background: #222;
        border-color: #555;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #35450
    Danny

    I tried putting that in using custom CSS and through teh editor but it didn’t seem to work either way.

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

The topic ‘Changing text color in search bar’ is closed to new replies.