how to change default css in DataTables

how to change default css in DataTables

vd1216vd1216 Posts: 1Questions: 1Answers: 0

Hello! :)
Guys i need your help)
i have already installed dataTables and i discover that i need redesign this table for my project.
so i have some questions for you
can i change datatables.min.css ?
or should i override default styles in datatables.min.css by writting styles with higher selectors? :/

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,461Questions: 1Answers: 10,466 Site admin
    Answer ✓

    can i change datatables.min.css ?

    I'd suggest changing datatables.css and then minifying that, but its up to you! You can do what you want with it - it is MIT licensed.

    The downside to changing the core file is that if you upgrade, you need to update it again. Overriding the styles to suit yours needs would be more portable.

    Allan

This discussion has been closed.