What css should I update if I want to change the font size to ie. 0.8em?

What css should I update if I want to change the font size to ie. 0.8em?

don2don2 Posts: 27Questions: 15Answers: 0

What css should I update if I want to change the font size to ie. 0.8em?
I saw there are:
datatables.css
dataTables.dataTables.css
dataTables.jqueryui.css
jquery.dataTables.css
any many more

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,269Questions: 26Answers: 4,765
    Answer ✓

    I wouldn't change any of the provided CSS files. If you upgrade you will need to remember to change them. You can create your own custom CSS file or use a style tag for the styles. Not sure what elements you want to change the font-size for but you could do something simple like this for the td elements:

    td {
      font-size: 0.8em
    }
    

    Likely you will want it more specific to Datatables tables. Use the browser's inspect tool to find the specific selectors to use for your tables.

    Kevin

  • don2don2 Posts: 27Questions: 15Answers: 0

    thank you so much for your advice @kthorngren

Sign In or Register to comment.