Apply custom CSS to pagination

Apply custom CSS to pagination

majortom84majortom84 Posts: 3Questions: 2Answers: 1

Hello, I have a bootSWATCH theme on my site and would like to use it for the pagination but cannot find a way to do this. First I thought to just add the CSS class to the table but this did not work. Can anyone please help?

$('#table').addClass('table-striped table-hover table-bordered').DataTable({
        colReorder: true,
        //responsive: true,
       // scroller:       true,
       "pagingType": "full_numbers",
        dom: 'Bfrtip',
        buttons:    [   {
                            extend: 'copy',
                            text: 'Copy to clipboard'
                        },
                    'excel',
                    'pdf'
                    ]
    });

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    What are the classes that need to be applied over and above the default Bootstrap ones? You will probably need to modify the Bootstrap integration file if you need to add extra classes.

    Allan

This discussion has been closed.