How to change the bg color search block and the number of records block?

How to change the bg color search block and the number of records block?

SathryaSathrya Posts: 4Questions: 1Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

This question has accepted answers - jump to:

Answers

  • SathryaSathrya Posts: 4Questions: 1Answers: 0

    If any samples shared it would be helpful

  • colincolin Posts: 15,022Questions: 1Answers: 2,570

    That's just standard CSS - please see example here: http://live.datatables.net/tedokega/1/edit

    Colin

  • SathryaSathrya Posts: 4Questions: 1Answers: 0

    Hi Colin ,thans for responding so quick ,but your answer will chnage the color for entore section ,I just want to change the color of the filter input field and the dropdwon color to white

  • kthorngrenkthorngren Posts: 19,462Questions: 26Answers: 4,610
    Answer ✓

    You can inspect the elements you want to change to see what selectors to use. Update Colin's example to show changing the background-color of the search input:
    http://live.datatables.net/tedokega/5/edit

    Kevin

  • SathryaSathrya Posts: 4Questions: 1Answers: 0

    Hi kthorngen,thanks for the reply ,can you please say how this can be used in react typescript

  • colincolin Posts: 15,022Questions: 1Answers: 2,570
    Answer ✓

    It's just standard CSS, so you would add that as you would with any other CSS styling.

    Colin

Sign In or Register to comment.