• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Centering galleries

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jan-13-2010, 02:33 PM
#1
Qarik is offline Qarik OP
Krazy Korean
Qarik's Avatar
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
Old Jan-13-2010, 04:14 PM
#2
jfriend is online now jfriend
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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump