PDA

View Full Version : Help...Getting rid of "This is a brand new gallery with no photos"


Scott111184
Oct-06-2008, 04:09 AM
I have two pages 1. ABOUT ME and 2. CONTACT ME

I do not want to add any photos on those two pages, is there a way to get rid of these?

25165

Andy
Oct-06-2008, 04:14 AM
Our FAQ: http://www.smugmug.com/help/customize-faq
#39, the .nophotos thing :)

Scott111184
Oct-06-2008, 04:17 AM
Our FAQ: http://www.smugmug.com/help/customize-faq
#39, the .nophotos thing :)

Thanks Andy. I have been searching for 30 min. for it! I can't believe I missed it in FAQ's! :dunno

Erick L
Oct-06-2008, 10:37 AM
BTW, you don't need the .gallery_xxxxxx in front of .nophotos part if you want to get rid of it on all pages that has no photo.

m-lindsey
Oct-06-2008, 11:15 PM
then could u tell me what the code should look like to apply to all galleries without photos? i'm not sure what to take out and what to leave in?

Erick L
Oct-06-2008, 11:33 PM
Just this:

.nophotos {display: none;}
I think it should be mentionned in the FAQ

There's something about the .pageNav in Andy's link (#39 in FAQ):

.gallery_XXXXXX .pageNav {
display: none;
}
... but I don't remember what it does. I *think* it removes "prev and next" but if you have no photo, it won't show anyway. I'm not sure about this part. Try leaving it out and see what it does.

m-lindsey
Oct-07-2008, 12:06 AM
Just this:

.nophotos {display: none;}
I think it should be mentionned in the FAQ

There's something about the .pageNav in Andy's link (#39 in FAQ):

.gallery_XXXXXX .pageNav {
display: none;
}
... but I don't remember what it does. I *think* it removes "prev and next" but if you have no photo, it won't show anyway. I'm not sure about this part. Try leaving it out and see what it does.

I put

.nophotos {display: none;}

it in CSS and got nuthin'.

Erick L
Oct-07-2008, 12:50 AM
You're supposed to have nothing. That's the point. :rofl

This is what I have and it works:

.nophotos h3 {display: none;}

m-lindsey
Oct-07-2008, 01:56 AM
You're supposed to have nothing. That's the point. :rofl

This is what I have and it works:

well, putting the h3 in the code made it work. left that little bit out in the last one, I think. Thanks so much! It's finally GONE! :D