Q: how to replace pager for bootstrap4 #2962
Labels
type: enhancement
An improvement or new feature request
type: question
An ask about behavior that is not found documented anywhere
pager is dropped in bootstrap4
This is actual output:
return '<ul class="pager"><li><a href="'.$url.'">'.$total.'</a></li></ul>';
It should be replaced something like this:
return '<a class="btn btn-outline-primary" href="'.$url.'">'.$total.'</a>';
My suggestion:
return '<a class="pager-button btn btn-outline-primary" href="'.$url.'">'.$total.'</a>';
pager-button.btn.btn-outline-primary in css if there is needed diffarent colour or anything.
Of course, only for BOOTSTRAP==4.
The text was updated successfully, but these errors were encountered: