|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Beginner grinner
|
6 thumbs per row
I found a post on how to make thumbs go 4 across the page. Can I go full screen width?
What I would like to know is if I can go 6 thumbs per row or maybe eight? Is that possible? If so could you point me in the right direction, I would appreciate it. http://chris-newman.smugmug.com/ |
|
|
|
|
#2
|
|
|
with a Heroes touch
|
Hi and welcome to Dgrin!
![]() Take a look at step 3 from this post on making your homepage stretch: http://www.dgrin.com/showthread.php?...etchy+homepage I'm guessing that might stretch your galleries box as well to fit whatever width the browser window is set to. Sebastian
__________________
Sebastian SmugMug Support Hero look on the bright side http://www.SebastianHosche.com |
|
|
|
|
#3
|
|
|
Big grins
|
Any success on getting more than 4 galleries per row? I thought that selecting "stretchy" would allow galleries to fill the full dimension of the browser, but default seems to be just two. I found hack to make it 4, but that hack introduces too much white space in between rows. I'd love to find a hack that packs categories/galleries in a bit more tightly, with titles below each gallery.
|
|
|
|
|
#4
|
||
|
"tweak 'til it squeaks"
|
Quote:
fit. Also increase height so all text under thumb is seen. Add/change red. Code:
.miniBox {width:122px; text-align:center; height:240px; margin:0 12px;}
#homepage,
#galleriesBox {
width: 900px;
margin: 0 auto;
}
/* adds some space above thuimbs */
#galleriesBox .boxBottom {
padding-top: 20px;
}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#5
|
||
|
"tweak 'til it squeaks"
|
Quote:
This line sets the 5 or less larger thumbs. .boxBottom .albumLarge {width:192px; height:350px; text-align:center; margin:0 24px;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#6
|
|
|
Big grins
|
Oooh. Got the 6 to display, but no text underneath even when I increase height (tried 800px, eg).
|
|
|
|
|
#7
|
|
|
Big grins
|
I'm assuming there's no way to display variable numbers of galleries in a window depending upon browser window size? I've seen some smugmug homepages do this, but I think they went to 3rd-party customizer. E.g., http://cleantth.smugmug.com/galleries. That would be ideal, of course.
|
|
|
|
|
#8
|
||
|
"tweak 'til it squeaks"
|
Quote:
Replace this part of your CSS with this. Had to add category box in there also. Also change height to 180px to reduce vertical space. Code:
/* show six galleries per row allen */
#homepage,
#categoriesBox,
#galleriesBox {
width: 900px;
margin: 0 auto;
}
/* adds some space above thumbs allen */
#categoriesBox .boxBottom,
#galleriesBox .boxBottom {
padding-top: 20px;
}
/* ==================================================== */
/* == FAQ #18, Line up boxes with titles underneath === */
/* ============== Current as of 13 Feb 07 ============= */
/* ==================================================== */
.miniBox {width:122px; text-align:center; height:180px; margin:0 12px;}
.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; 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;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#9
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
//* show six galleries per row allen */
#homepage,
#categoriesBox,
#galleriesBox {
width: 900px;
margin: 0 auto;
}
/* adds some space above thumbs allen */
#categoriesBox .boxBottom,
#galleriesBox .boxBottom {
padding-top: 20px;
}
/* ==================================================== */
/* == FAQ #18, Line up boxes with titles underneath === */
/* ============== Current as of 13 Feb 07 ============= */
/* ==================================================== */
.miniBox {width:122px; text-align:center; height:240px; margin:0 12px;}
.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; 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;}
Code:
.galleries #homepage, #content.userKeywords,
#header_wrapper, #footer_wrapper, #cobrand_footer,
#category, #subcategory, #header,
#smugmug, .smugmug #header, .smugmug #footer
{margin-left: 15px;margin-right: 15px;min-width: 755px;
width: auto;_width: expression
(document.documentElement.clientWidth < 790? "760px" : "auto");}
/* adds some space above thumbs allen */
#categoriesBox .boxBottom,
#galleriesBox .boxBottom {
padding-top: 20px;
}
/* ==================================================== */
/* == FAQ #18, Line up boxes with titles underneath === */
/* ============== Current as of 13 Feb 07 ============= */
/* ==================================================== */
.miniBox {width:122px; text-align:center; height:180px; margin:0 12px;}
.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; 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;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#10
|
|
|
Big grins
|
re: "Also change height to 180px to reduce vertical space" I'm unclear which height I should reduce. I tried the 180px ht, but nothing changed.
|
|
|
|
|
#11
|
||
|
"tweak 'til it squeaks"
|
Quote:
Edit the R/L 12px to spread them out. margin:0 12px;
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#12
|
|
|
Big grins
|
OK, that caused galleries to wrap wrap when window made smaller (5 were retained, 2 went to next row). But changing 180px to smaller number doesn't seem to decrease space between rows.
|
|
|
|
|
#13
|
|
|
Big grins
|
Ack. I figured out my problem. Owner view doesn't show ht changes, but switching to Visitor view does. So 150px for height might be OK for my needs. Now I need to fuss with getting the text a tad closer to image. I'm assuming there's a way to do that in the code you sent me.
|
|
|
|
|
#14
|
|
|
Big grins
|
Actually, 180px is the best (as you probably knew). I forgot that some of my gallery names wrapped over to second line, so smaller height smooshed into image in lower row.
|
|
|
|
|
#15
|
||
|
"tweak 'til it squeaks"
|
Quote:
Not sure how to get the text higher, don't see it in the code.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#16
|
|
|
"tweak 'til it squeaks"
|
Those thumbs go to 100x100 when 6 or more, might look at this thread, forces thumbs to 150x150.
http://www.dgrin.com/showthread.php?t=207570 I use it with good results here.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#17
|
|
|
Big grins
|
Thanks, Allen, as always. This should work great as long as I can keep my gallery titles to 2 lines of text or less.
|
|
|
|
|
#18
|
|
|
Big grins
|
Oooh, that page looks great. 150x150px is so much better. Thanks -- I'll check that out.
|
|
|
|
|
#19
|
|
|
Big grins
|
Of course, I'd probably have to delete all the changes I just made!
|
|
|
|
|
#20
|
||
|
"tweak 'til it squeaks"
|
Quote:
.boxBottom .albumLarge {width:192px; height:350px; text-align:center; margin:0 24px;} I also set a static page/box width.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Combine thumbs from sub-categories and galleries into one list | jfriend | SmugMug Customization | 76 | Jul-10-2012 12:22 PM | |
| Way to keep custom-cropped square thumbs from reverting? | WinsomeWorks | SmugMug Support | 0 | Oct-19-2009 06:32 PM | |
| Making Gallery Category Thumbs have same look | dcyphert | SmugMug Customization | 12 | Jul-12-2007 08:37 AM | |
| SMUGSEARCH and All Thumbs | LateSky | SmugMug Customization | 0 | Oct-23-2006 12:43 PM | |
| smugmug vs. pbase - Does anyone use the smugmug "traditional" view? | jfriend | SmugMug Support | 45 | Feb-17-2006 08:48 AM | |
| Thread Tools | |
| Display Modes | |
|
|