Jump to content

Center Pagination on Product Listing?


Pixel

Recommended Posts

Hi,

It would seem a simple thing to do, but it's being awkward.

Does anyone know how to center the pagination ('Previous 1 2 3 4 ... Next') on the bottom of the product listing page, instead of it floating left?

span.pagination { /* with an enclosing span in pagination.tpl */
display: block;
margin-left: auto;
margin-right: auto;
}

and / or ...

div.pagination {
padding: 1em 0;
display: block;
margin-left: auto;
margin-right: auto;
}

Seem to have no effect.

Many thanks,

Link to comment
Share on other sites

  • 8 months later...
  • 7 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...