How to style the search text
How to style the search text
![kevgray](https://secure.gravatar.com/avatar/7af8a46c97e55ee7777182357630de0e/?default=https%3A%2F%2Fvanillicon.com%2F7af8a46c97e55ee7777182357630de0e_200.png&rating=g&size=120)
Hello, how can I style the literal "search" to show as a light text color on a dark background.
Thanks.
Kev Gray
This discussion has been closed.
Hello, how can I style the literal "search" to show as a light text color on a dark background.
Thanks.
Kev Gray
Answers
Hi Kev,
You can use CSS like this example here:
Cheers,
Colin
Thanks Colin, that works, but perhaps I was a little vague, it's the text labels I want to style -
![](https://datatables.net/forums/uploads/editor/za/rvt0dzpw6z98.jpg)
Hi @kevgray ,
Now they're red here. The thing to do is just use developer tools "inspect" the element you want to colour - normally you can get the id/class/element fairly easily.
Cheers,
Colin
OK, got it.
Thanks