CSS for moving pagination in SM galleries, not needed?
ChancyRat
Registered Users Posts: 2,141 Major grins
I went looking for how to make the pagination+arrows, be centered under the image in SM galleries, and it turns out I already had it in my CSS. From this page:
http://www.aaronmphotography.com/Customizations/Gallery/SM-Layout/Center-Image-Pagination
In testing, I deleted the code, and the pagination reverted to being properly centered.
So adding the code to center it, moved it left. Removing the code resulted in proper centering.
Could SM have fixed this bug, and so now this extra code isn't necessary?
Example gallery where pagination looks good (but I have removed the code from the site-wide CSS):
http://www.joinrats.com/RatHealth/Ratexams/Vetratexams/
http://www.aaronmphotography.com/Customizations/Gallery/SM-Layout/Center-Image-Pagination
In testing, I deleted the code, and the pagination reverted to being properly centered.
So adding the code to center it, moved it left. Removing the code resulted in proper centering.
Could SM have fixed this bug, and so now this extra code isn't necessary?
Example gallery where pagination looks good (but I have removed the code from the site-wide CSS):
http://www.joinrats.com/RatHealth/Ratexams/Vetratexams/
0
Comments
The code is on this page:
http://www.aaronmphotography.com/Customizations/Gallery/SM-Layout/Widen-Caption-Comments-Area-Sm
My captions are all wide (spanning width of photo), and I'm not using the special code.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Example gallery: http://www.joinrats.com/RatHealth/Hiccups/
When I remove the code in the CSS, the pagination returns to normal.
If I change the code from 40% to 100%, the pagination also returns to normal.
The code I added: