How can we change the current(active) page number color in the pagination
How can we change the current(active) page number color in the pagination
varunyadav971
Posts: 2Questions: 1Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: We are facing an issue to overwrite a text color of the current(active) page number in the pagination. Suppose user on page 2 right now , so I want to highlight 2 with different color rather than default color(black).
Answers
You can do that with standard CSS, something like this example :
I don`t want to change the background color, I
want to change the color of "1" only. Similar like that attaching screenshot for reference
In that case, instead of using
background-color
usecolor
: http://live.datatables.net/siqetehu/1/edit .The MDN documentation is a great guide if you need to reference what different CSS parameters are and what they do.
Allan