In order to change font size for one column at Data Tables plugin, follow next instruction:
- Open the table you need to edit in Data Tables plugin by Supsystic.
- Go to CSS tab and insert there:
- supsystic-table-1 – 1 change to your table id
- td:nth-child(4) – 4th column of the table
- tr:nth-child(4) – 4th row of the table
- td:first-child – for first column
- tr:first-child – for first row
- td:last-child – for last column
- tr:last-child – for last row
- Save changes.
#supsystic-table-1 td:nth-child(4) {
font-size: 20px;
}
Additional settings for changing column/row by CSS codes:
You can change font-size as you want. Also you have ability to set other font option, for example – font-family.
Here we show you result with adding code into CSS Table editor:
#supsystic-table-158 tr:last-child {
font-size: 24px;
font-family: "Times New Roman", Times, serif, bold;
}
Table in the begining
Item | Cost | Sold | Profit |
---|---|---|---|
Keyboard | 100 | 160 | 60 |
Monitor | 180 | 200 | 20 |
Mouse | 5 | 7 | 2 |
Final Result | 82 |
The Table after CSS code was added
Item | Cost | Sold | Profit |
---|---|---|---|
Keyboard | 100 | 160 | 60 |
Monitor | 180 | 200 | 20 |
Mouse | 5 | 7 | 2 |
Final Result | 82 |