- This topic has 10 replies, 3 voices, and was last updated 6 years ago by Sakin.
-
AuthorPosts
-
September 7, 2013 at 8:18 pm #14226poorlittlefishParticipant
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.
September 7, 2013 at 11:40 pm #14237SakinKeymaster@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; }
September 10, 2013 at 3:43 am #14328poorlittlefishParticipantHi 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.
September 17, 2013 at 11:12 pm #14694poorlittlefishParticipantAny ideas as to why I still can’t get this to work, please?
September 17, 2013 at 11:48 pm #14698SakinKeymaster@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; }
September 18, 2013 at 1:49 am #14706poorlittlefishParticipantYay! That’s done the trick, Sakin – thanks so much for your help.
April 9, 2018 at 12:24 pm #137595officialParticipanthi ……
i am trying to solve the input search text color in handheld menu in mobile view….
plz help me out …
thank you…April 9, 2018 at 1:23 pm #137599April 10, 2018 at 3:22 am #137627officialParticipantmy website link :- http://www.24market.cf
shown in mobile view and check handheld search menu input text color
thanks for your respond…..April 10, 2018 at 3:24 am #137628officialParticipanti want input text color is black..
April 10, 2018 at 2:20 pm #137649SakinKeymasterYou website is not working. It’s showing “Website is temporary sleeping”
-
AuthorPosts
- The topic ‘Change colour of text inside search box’ is closed to new replies.