Jump to content
Sign in to follow this  
stefanoferruggiara

CHANGE COLOR TEXT IN SEARCH FIELD

Recommended Posts

stefanoferruggiara

Hi there, how can i change the text color in search field? I tried in different ways but nothing;) Thanks


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
Danny
Hi Stefano, Add the following code to your child themes/PageLines Customisation style.css or CSS rules in Custom code. [code].searchfield {color:red;} /* Changes the color of the text input */ ::-webkit-input-placeholder {color:red;} /* Changes the color of the word Search for Safari/Chrome */ :-moz-placeholder {color:green;} /* Changes the color of the word Search for Firefox */[/code] Won't work in IE unfortunately.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
stefanoferruggiara
Thanks Danny;)

"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
stefanoferruggiara
For firefox doesn't work..

"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×