Search Text Color

  • michaelruge

    #49537

    Is there anyway to change the color of the text in the search box?

    Admin

    Syahir Hakim

    #49550

    Copy and paste this code into Customizer > Additional CSS. Make sure you adjust the colour codes as necessary.

    #top_search input {
    	color: #846f8e;
    }
    #top_search input:focus {
    	color: #fff;
    }
    

    michaelruge

    #49556

    Awesome, thank you!

    By chance is there also a way to change the color of the word “search” in the box?

    -Michael

    Admin

    Syahir Hakim

    #49562

    Try this:

    #top_search input::-webkit-input-placeholder,
    #top_search input::-moz-placeholder,
    #top_search input:-ms-input-placeholder {
    	color: #846f8e;
    }
    
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.