Html css

Center Pagination In Bootstrap

Posted by Weston Ganger on July 04, 2014

This was causing me grief for quite some time until I stumbled upon this solution. The pagination class must be surrounded by a parent div with text-align:center applied to it.

For Bootstrap 3

<div class="text-center">
  <div class="pagination">
    ...your code here...

For Bootstrap 2.3.2 and prior

<div class=" pagination text-center">
  ...your code here...

Posted in HTML / CSS and Tagged with pagingation bootstrap 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts