How to change Padding and Info color
How to change Padding and Info color
ingezone
Posts: 20Questions: 8Answers: 0
Hi Allan,
How can I change the padding and color of the text using bootstrap 5.
I tried the following codes, but they don't work.
/* change font in bottom */
div.dataTables_info {
font-family: 'courier';
padding: 3px;
color: white !important;
}
Regards!
Answers
If you right click and select "Inspect" on the element, you would see that it has a class of
dt-info
.The class name you are currently using in the CSS is the name used by DataTables v1. In v2 they were updated to be more consistent.
Allan