Center Pagination In Bootstrap

Posted by Weston Ganger

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...
  </div>
</div>

For Bootstrap 2.3.2 and prior


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

Article Topic:Software Development - HTML / CSS

Date:July 04, 2014

Recommended Posts

Contact

604-309-8713
info@solidfoundationwebdev.com

Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected