Adding CSS classes to pagination controls

Adding CSS classes to pagination controls

pankajsy9pankajsy9 Posts: 6Questions: 2Answers: 0

Hi,

I want to add CSS classes to the pagination controls so that they look different.

I went through the documentation and got some information but don't want to take the effort. :smile:

Please give me a ready made code.

Regards,
Pankaj S Y

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    Please give me a ready made code.

    With respect, no. DataTables is free open source software and I'm very proud of it. But, again with respect, I do not have time to do your work for you. I would rather improve DataTables everyone.

    Regards,
    Allan

  • pankajsy9pankajsy9 Posts: 6Questions: 2Answers: 0

    OK.

    But tell me the way to do that.

    Is it same like that of pagination ?

  • pankajsy9pankajsy9 Posts: 6Questions: 2Answers: 0
    edited August 2016

    I am modifying the CSS file.

    It has pagination classes.

  • kdpowellkdpowell Posts: 10Questions: 3Answers: 0

    Just playing around...

    .pagination>li>a { padding: 4px !important; border: 1px solid red !important; }

    Is this what you are looking for?

This discussion has been closed.