pagination bootstrap demo code example Example: bootstrap 4 pagination center Use the class .justify-content-center on the .pagination ul. e.g.