How to change background color the div that wrap info and filter, also change color filter label

How to change background color the div that wrap info and filter, also change color filter label

ariowishnuariowishnu Posts: 4Questions: 3Answers: 0
edited December 2021 in DataTables 1.10

hi, im using datatables 1.10 and everything good, but i cant find a way to change background color the square box that holds page info and filter box also change text color label filter, i tried with some css but no change at all!

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    You would use CSS like this:

    div.dataTables_filter input {
      color: green !important;
      background-color: blue !important; 
    }
    

    See example here,

    Colin

  • ariowishnuariowishnu Posts: 4Questions: 3Answers: 0
    edited December 2021

    thanks , but i need to change background color the div area behind the page info & filter input, the big one ( #4F5360), dont know what its called, its places at top of the table. and also for the arrow in the pic that i posted before , its point at label ''search'', just wanna change the label color only.

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Do you mean the background colour for the body of the page, like this?

    Colin

Sign In or Register to comment.