Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #14226
    poorlittlefish
    Participant

    How can I change the text “Search…” inside the search box from its default grey to something else? I’ve tried adding all sorts of custom CSS but can’t get anything to work – many thanks.

    #14237
    Sakin
    Keymaster

    @poorlittlefish: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box change the color of search text. In the following CSS, change the color code as per you need.
    input#s { color: #757575; }

    #14328
    poorlittlefish
    Participant

    Hi Sakin, thanks for your reply.

    I tried adding that line, changing the colour to white (#ffffff) but the text in the box still looks grey to me – you can see what I mean at http://www.leevalleylions.co.uk. I’d managed to get the search box itself to be outlined in white, but the actual “Search…” wording is still grey.

    #14694
    poorlittlefish
    Participant

    Any ideas as to why I still can’t get this to work, please?

    #14698
    Sakin
    Keymaster

    @poorlittlefish: I see it white color assign. That is good. You might need to add the following CSS as well.

    #masthead input::-webkit-input-placeholder { color: #fff; }
    #masthead input:-moz-placeholder { color: #fff; }
    #masthead input:-ms-input-placeholder { color: #fff; }
    #14706
    poorlittlefish
    Participant

    Yay! That’s done the trick, Sakin – thanks so much for your help.

    #137595
    official
    Participant

    hi ……
    i am trying to solve the input search text color in handheld menu in mobile view….
    plz help me out …
    thank you…

    #137599
    Sakin
    Keymaster

    @official: Please post in your site URL and also let me know the color you want.

    #137627
    official
    Participant

    my website link :- http://www.24market.cf
    shown in mobile view and check handheld search menu input text color
    thanks for your respond…..

    #137628
    official
    Participant

    i want input text color is black..

    #137649
    Sakin
    Keymaster

    You website is not working. It’s showing “Website is temporary sleeping”

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Change colour of text inside search box’ is closed to new replies.