View Full Version : Limited Galleries on the Home Page?
mtpwalker
Jul-07-2007, 03:58 AM
I've searched the boards a ton and can't find the answer to the above. Is there anyway to limit the number of galleries that are shown on the SM homepage? What I'd like to achieve is having only the most recent 10 or so galleries on the homepage and then use the other features (i.e. NavBar, Categories, hacked pages) for those that want to view more than just the recent photos.
Searching the boards, I've found a ton of great advice on organizing and customizing my site. This is really the last piece of the puzzle and then I think I'm all set.
Speaking of which, the moderators and experts on these boards are beyond wonderful! Using the CSS, HTML, Java, tutorials and such that all of you have provided have gotten me too many compliments to count! Thanks a ton to all of you for the time that you put into giving us this information.
Thanks,
Monica
P.S. Sorry to not include my site address, but since it involves youth sports, it's password protected.
oxy8384
Jul-07-2007, 09:28 AM
...is to set the width and height of your galleries box so that it only fits the number of galleries you want and then use CSS to hide any overflow, like this...
.homepage #galleriesBox {
width: whatever;
height: whatever;
overflow: hidden;
}
Unfortunately, I don't know how to control which galleries show and the first however many will probably always be the same ones.
Bill
mtpwalker
Jul-08-2007, 02:48 PM
...is to set the width and height of your galleries box so that it only fits the number of galleries you want and then use CSS to hide any overflow, like this...
.homepage #galleriesBox {
width: whatever;
height: whatever;
overflow: hidden;
}
Unfortunately, I don't know how to control which galleries show and the first however many will probably always be the same ones.
Bill
Bill, Thanks for the reply. I added the following to my CSS:
.homepage #galleriesBox {
width: 750;
height: 150;
overflow: hidden;
}
And what I'm getting is the gallery box with all of my galleries in it as before - all 20 or so of them. Am I missing something here?
Thanks,
Monica
oxy8384
Jul-09-2007, 06:22 AM
Bill, Thanks for the reply. I added the following to my CSS:
.homepage #galleriesBox {
width: 750;
height: 150;
overflow: hidden;
}
And what I'm getting is the gallery box with all of my galleries in it as before - all 20 or so of them. Am I missing something here?
Thanks,
Monica
...without being able to view your site. Is there any way you could unprotect your homepage, but leave the individual galleries protected? It's going to be painful and slow to get this to work if I'm working in the dark.
I know this can be done, because I did it with the thumbnails, here (http://truemomentsphotography.smugmug.com/gallery/3017169). You could try adding
position: relative;
to the CSS for .homepage #galleriesBox, but if that doesn't work, we'll need to get a little smarter...
Are you using the galleries hack to create a separate <your smugmug nickname>.smugmug.com/galleries page? Or is this just a regular SM homepage at <your smugmug nickname>.smugmug.com?
Do you have the Firefox developer extensions installed and do you know how they work?
Bill
vBulletin v3.5.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.