• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Resize distance between rows of gallery category thumbnails

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 #130 (Hot or Cold), Memol..

The next Dgrin Challenge DSS #131 (Music) is open for entries through June 24th, 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 Aug-05-2012, 10:15 AM
#1
mrhoni is offline mrhoni OP
Major grins
Resize distance between rows of gallery category thumbnails
On my gallery page, there are mutiple gallery category thumbnails at 3 across. I would like to reduce the distance between the rows. Thanks.

Link to one of my gallery pages.
http://mrhoni-photography.smugmug.co...verything-Else
Old Aug-05-2012, 01:45 PM
#2
mrhoni is offline mrhoni OP
Major grins
Is the answer somewhere in this code that I'm using on my pages?


/* Force gallery thumbnails to be larger version 6
* Ref: http://www.dgrin.com/showthread.php?t=207570
*/
#galleriesBox .photo img[src*="/random.mg?"],
#sharedGalleries .photo img[src*="/random.mg?"],
#featuredBox .photo img[src*="/random.mg?"],
#shareGroups .photo img[src*="/random.mg?"],
#subcategoriesBox .photo img[src*="/random.mg?"],
#categoriesBox .photo img[src*="/random.mg?"] {
display:none;
}

.recentPhotoForceLarge {
float:none !important;
margin:8px 9px 6px 9px !important;
display:inline-block !important;
display:-moz-inline-stack !important;
*display:inline !important; /* IE */
vertical-align:bottom; /* safari: for overlap */
cursor:pointer; /* gecko: due to -moz-inline-stack on anchor */
zoom:1; /* IE: kill space between horizontal tabs */
}

/* ================================================== == */
/* == FAQ #18, Line up boxes with titles underneath === */
/* ============== Current as of 13 Feb 07 ============= */
/* ================================================== == */

.miniBox {width:122px; text-align:center; height:210px; margin:0 28px;}
.miniBox .photo {float:none; width:122px; height:auto; _height:1px;}
.miniBox .albumTitle {width:122px;}
.miniBox .description {width:122px;}
.miniBox .updated {width:122px;}

.loggedIn .miniBox {height:auto; min-height:300px;}
.loggedIn .miniBox .smbuttons {margin:0 auto; width:122px;}
.loggedIn .miniBox input {width:122px;}
.loggedIn .miniBox textarea {width:112px;}

.boxBottom .albumLarge {width:192px !important; height:350px; text-align:center; margin:0 24px;}
.albumLarge .photoLarge {float:none; width:192px; height:auto; _height:1px;}
.albumLarge .albumTitle {width:192px;}
.albumLarge .description {width:192px;}
.albumLarge .updated {width:192px;}

.loggedIn .boxBottom .albumLarge {height:auto; min-height:450px;}
.loggedIn .albumLarge .smbuttons {margin:0 auto; width:192px;}
.loggedIn .albumLarge input {width:192px;}
.loggedIn .albumLarge textarea {width:182px;}
Old Aug-05-2012, 04:18 PM
#3
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by mrhoni View Post
Is the answer somewhere in this code that I'm using on my pages?


...
.boxBottom .albumLarge {width:192px !important; height:250px; text-align:center; margin:0 24px;}
.albumLarge .photoLarge {float:none; width:192px; height:auto; _height:1px;}
.albumLarge .albumTitle {width:192px;}
.albumLarge .description {width:192px;}
.albumLarge .updated {width:192px;}

.loggedIn .boxBottom .albumLarge {height:auto; min-height:450px;}
.loggedIn .albumLarge .smbuttons {margin:0 auto; width:192px;}
.loggedIn .albumLarge input {width:192px;}
.loggedIn .albumLarge textarea {width:182px;}
See red
.boxBottom .albumLarge {width:192px !important; height:250px; text-align:center; margin:0 24px;}

Minimize until it does not cut off any title bottoms. Like 3 rows.
Old Aug-06-2012, 11:42 AM
#4
mrhoni is offline mrhoni OP
Major grins
Quote:
Originally Posted by Allen View Post
See red
.boxBottom .albumLarge {width:192px !important; height:250px; text-align:center; margin:0 24px;}

Minimize until it does not cut off any title bottoms. Like 3 rows.
I've set the boxBottom height and I get what I wanted, however now the left banner is no longer aligned with the navigation bar. I had been provided the code to line them up, but this change to boxbottom (which worked as I wished) must be conflicting with some other CSS code.

I was rearranging the CSS and depending upon the placement, boxbottom worked or did not work as well as banner in line with navbar or not inline.

Currently what I see:
Owner view - banner and nav bar lined up, but category icons not close together
Visitor view - banner and nav bar not lined up, but category thumbnails closer together as I want.
Old Aug-06-2012, 01:22 PM
#5
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by mrhoni View Post
I've set the boxBottom height and I get what I wanted, however now the left banner is no longer aligned with the navigation bar. I had been provided the code to line them up, but this change to boxbottom (which worked as I wished) must be conflicting with some other CSS code.

I was rearranging the CSS and depending upon the placement, boxbottom worked or did not work as well as banner in line with navbar or not inline.

Currently what I see:
Owner view - banner and nav bar lined up, but category icons not close together
Visitor view - banner and nav bar not lined up, but category thumbnails closer together as I want.
I see two illegal ' characters around your image link.
Code:
/* Custom png banner */
#my_banner { width: 750px; height: 75px; margin: 13px 0 0 10px; /* top R bottom L */ 
background: url(http://www.smugmug.com/photos/i-HNwh668/0/M/i-HNwh668-O.png) no-repeat; _background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
sizingmethod=image,src=http://www.smugmug.com/photos/i-HNwh668/0/M/i-HNwh668-O.png);
}
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Can I increase the size of category thumbnails? cjbck SmugMug Customization 8 Aug-10-2010 08:00 AM
Customizing for Dummies - Chapter 5 Mike Lane SmugMug Customization 13 Apr-24-2009 11:08 AM
Gallery Category images rytontym SmugMug Customization 5 Sep-06-2008 06:42 PM
Is it possible to have galleries AND categories on the home page? jfriend SmugMug Customization 3 Jun-27-2008 05:43 AM
Backprinting @ smugmug K.Van SmugMug Support 62 Apr-05-2005 12:11 PM


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