flask-paginate pagination.links styling issue flask-paginate pagination.links styling issue flask flask

flask-paginate pagination.links styling issue


Okay this was very silly of me , i got it to work by specifying the css_framework argument to 'bootstrap3' while initialising the pagination object , the docs say that bootstrap is default but seems like you need to specify it explicitly

So, the changes were

pagination = Pagination(page=page,per_page=ITEMS_PER_PAGE,total=len(entries_sorted),record_name='Feeds',css_framework='bootstrap3')


Just to throw in my $0.02. If the accepted answer still isn't working for you, check your bootstrap version.

In my case, I needed to set my css_framework to 'bootstrap4'.