Properly Center the Image Pagination

On a basic SmugMug page the image pagination (the 2 arrows around the numbers telling you which image you are on ... example: < 1 / 25 >) is properly centered on the page. However, if you start adding text to your icons (tools, info, download, share, etc) the image pagination is no longer centered - it is thrown off by the extra text. SmugMug has a slight bug in that they don't use the proper code to center the pagination. Here is the fix to return the image pagination to the center. Add the following CSS to your theme's Advanced CSS settings:

/* Properly center the image pagination */
.sm-user-ui .sm-gallery-smugmug .sm-gallery-image-pagination {
  margin-left: auto;
  margin-right: auto;
  width: 40%;
}

Comments

Powered by SmugMug Owner Log In