Change the Style of Datatable Search Input

Change the Style of Datatable Search Input

anemaanema Posts: 14Questions: 7Answers: 0
edited June 2018 in Free community support

Hi,
I have a > Datatable with search input at the top of the table,

My Datatable:

$("#table_id").DataTable({

dom: 'frtip'

});

How can I change the default style of Datatable Search input

I want to give border-radius: 3px;

is there any way to do this?

Thank You!!!

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    Hi @anema ,

    You could use this CSS:

    #example_filter input {
      border-radius: 5px;
    }
    

    This makes the input box more oval-like...

    Cheers,

    Colin

This discussion has been closed.