jquery-bootpag icon indicating copy to clipboard operation
jquery-bootpag copied to clipboard

Supporting Bootstrap 4

Open benjamij opened this issue 9 years ago • 6 comments

Hey all,

Are there any plans to supporting Bootstrap 4? Changes seem minimal to make it work.

benjamij avatar Feb 13 '16 12:02 benjamij

any answer on this?

kjg531 avatar Jun 25 '16 04:06 kjg531

Hello???

aaj avatar Jun 25 '16 22:06 aaj

Based on that there have been no commits in about 3 years, I'd say the answer is no... but it only needs to be updated to use the new CSS options for Bootstrap v4

I'm in the process of doing this for myself right now. when I'm finished I suppose I can fork the project and release the changes

AdamMutimer avatar Jan 07 '18 05:01 AdamMutimer

Just add this after calling bootpag():

//make bootpag compatible with Bootstrap 4.0
$('#pagination li').addClass('page-item');
$('#pagination a').addClass('page-link');

Not the best solution, but works for now.

kbyatnal avatar Jan 15 '18 20:01 kbyatnal

@kbyatnal your solution works, good hack

elite-koder avatar Mar 07 '18 07:03 elite-koder

Thanks @kbyatnal It works great...

Santoshah avatar May 24 '19 15:05 Santoshah