|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Krazy Korean
|
Centering galleries
Help
I can't get my galleries page to be in the center of the page. Any ideas why they want to stay on the left side? http://www.danielkimphotography.com/galleries
__________________
D700, D600 14-24 24-70 70-200mm (vr2) 85 and 50 1.4 45 PC and sb910 x2 http://www.danielkimphotography.com |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
Given Smugmug's choice of HTML design, there is no way to auto-center an arbitrary number of thumbnails. If you are willing to tweak the CSS anytime you change the number of thumbs, you can get any specific number of thumbs to center with the right CSS. For the two thumbs you show now, you can center them with this CSS placed at the end of your site-wide-customization CSS:
.galleries #homepage {width:380px !important; margin-left: auto !important; margin-right: auto !important;} If you add thumbs in the future, you will have to increase the number in that statement.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|