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: 15,142Questions: 1Answers: 2,586

    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: 61,665Questions: 1Answers: 10,096 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

This discussion has been closed.