• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization how having moonriver stretchy galery page after JF code

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 Jun-12-2012, 11:36 AM
#1
grosloulou is offline grosloulou OP
Major grins
how having moonriver stretchy galery page after JF code
hallo,
after lot of help from JF and smugmug team i have now a beautiful slideshow on :
http://www.labrophotography.smugmug.com/
for unknown reasons it had a sideeffect on recent and search page which are now stretchy. at start they were based on RichW code and were not stretchy.
finally why not stretchy.

my galery page, again for unknown reasons has not toggled to stretchy mode.

So, the questions :

q1. how can i change my galery page to a stretchy one like http://www.moonriverphotography.com/Galleries
without box, without title "galeries" ... ?
because apparently all css elements are linked on smugmug templates i suppose recent page and search page will follow the box removing, no problem

q2. on my serach page, all boxes were extended to stretchy except search box. there are enough search criteria on the page, so how can i delete the search box from search page http://www.labrophotography.smugmug.com/find/ ?


best regards
marc

Last edited by grosloulou; Jun-12-2012 at 11:37 AM. Reason: title
Old Jun-12-2012, 01:30 PM
#2
jfriend is offline jfriend
Scripting dude-volunteer
You can add the part in red to your CSS to make the recent page and search page be fixed width:

Code:
/* restore width of galleries page */
.recent #homepage, 
.find #homepage, 
.galleries #homepage {width: 750px; margin-left: auto; margin-right: auto;}
Sorry, but the tutorial cannot anticipate all other customizations you might have on your homepage that might interact with the slideshow. When you mix and match interacting customizations, copy/paste tutorials cannot cover everything and somebody has to understand how this stuff works. That's just the way it is. The tutorial does tell you how to manage the width of the galleries page and your other homepage copies are exactly the same as the galleries page so all you had to do was extend the CSS that makes the galleries page fixed width to apply to your other pages too. That's what my suggestion above does.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jun-12-2012, 01:49 PM
#3
grosloulou is offline grosloulou OP
Major grins
thanks John,
just tried something on http://www.labrophotography.smugmug.com/galleries/:
instead of adding the two red lines to restore 750px width i have put in comments :
/* .galleries #homepage {width: 750px; margin-left: auto; margin-right: auto;} */
and doing so i have now galery page stretchy too.

Is it the right way to make galery stretchy like moonriver ?

how, like moonriver, can i remove grey box and title black box from galery page, add a 20px spacing between nav bar and first row and decreasing by 30px the spacing between rows ?

best regards
marc
Old Jun-12-2012, 07:15 PM
#4
Smug Eric is online now Smug Eric
Smug Hero
Smug Eric's Avatar
that is the correct way to get the stretchy galleries page.

To remove the box background you will need to add this:

.box, .boxBottom {
background-color: transparent !important;
border: none !important;
}

To remove the box top add this:

.homepage .boxTop {
display: none;
}

Also have you looked at your site logged out? The spacing is different there since you don't have to leave space for the gallery settings box.
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old Jun-12-2012, 08:36 PM
#5
grosloulou is offline grosloulou OP
Major grins
Quote:
Originally Posted by Smug Eric View Post
that is the correct way to get the stretchy galleries page.

To remove the box background you will need to add this:

.box, .boxBottom {
background-color: transparent !important;
border: none !important;
}

To remove the box top add this:

.homepage .boxTop {
display: none;
}

Also have you looked at your site logged out? The spacing is different there since you don't have to leave space for the gallery settings box.
thanks eric but title disappears too, which is nice on galery page but not on search and recent pages ! how can i fix this on recent and serach pages only ?

on moonriver galery page http://www.moonriverphotography.com/Galleries there is more spacing above first row and less spacing between rows. you already suggested code but it changed spacing on all pages including slideshow home page. perhaps it is a question of decreasing "cell height" and increasing "top padding in each cell ?"

best regards
marc


best regards
marc
Old Jun-12-2012, 08:53 PM
#6
grosloulou is offline grosloulou OP
Major grins
Quote:
Originally Posted by grosloulou View Post
thanks eric but title disappears too, which is nice on galery page but not on search and recent pages ! how can i fix this on recent and serach pages only ?

on moonriver galery page http://www.moonriverphotography.com/Galleries there is more spacing above first row and less spacing between rows. you already suggested code but it changed spacing on all pages including slideshow home page. perhaps it is a question of decreasing "cell height" and increasing "top padding in each cell ?"

best regards
marc


best regards
marc
just tried :
.box, .boxBottom {
background-color: transparent !important;
border: none !important;
}

.homepage .boxTop {
background-color: transparent !important;
border: none !important;
/* display: none; */
}

not too bad but gradient title box remains.
Old Jun-13-2012, 02:02 PM
#7
Smug Eric is online now Smug Eric
Smug Hero
Smug Eric's Avatar
Try this instead of the .homepage.boxTop line to remove it on only that page:

#categoriesBox .boxTop {
display: none;
}


Then for the spacing, you will need to adjust the height of the .miniBox CSS to adjust that. Me just tinkering on my end a height of 160px looks good, but it may have problems if any of your gallery titles are long enough to be two lines. You can also adjust the width there to bring the boxes closer together. But I wouldn't suggest a width of less then 114px.
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Working On my Site, Need Help with Code., Also basic page PeriutPhotography SmugMug Customization 7 Sep-21-2011 07:53 PM
What happened to my stretchy home page? paintedlight SmugMug Customization 1 Jul-01-2011 07:37 AM
How to stop page resizing? Mazlim SmugMug Customization 5 May-31-2011 02:49 AM
Replace breadcrumb with java script wbphotos SmugMug Customization 42 Jan-06-2009 10:24 AM
Custom Home Page question PrescottPhotog SmugMug Customization 16 Jun-26-2007 08:03 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