Changing pagination style

Changing pagination style

BekariBekari Posts: 9Questions: 5Answers: 0

I am tried to change the background color of the pagination(current):

.current {
background-color: #E4001B !important;
}

But this is not working. How can i change that?

Thank you in advance.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 12,881Questions: 0Answers: 2,198

    I'm not clear what you mean by 'pagination'? Is that the buttons to select the page?

    Colin

  • BekariBekari Posts: 9Questions: 5Answers: 0

    Please look at the screenshot. i mean the style of the current page number and the 'presvious' and 'next' links

  • allanallan Posts: 54,881Questions: 1Answers: 8,601 Site admin
    Answer ✓

    The easiest thing to do is right click on the element you want to change the styling of and then "Inspect". It will show you the CSS that is applied to it, so you can overrule as needed.

    e.g. to put a green background on the active page: http://live.datatables.net/wujasupi/2/edit

    Allan

Sign In or Register to comment.