PDA

View Full Version : Need help "hiding" elements...can't find answer


ajava
May-25-2009, 06:11 AM
Hi there,
I am very new to all of this and am muddling slowly along. I am having difficulty figuring out how to hide the title on certain gallery pages, ya know, the one that says "Gallery Page 1". I have this code copied into my CSS:

#subCatGalleryTitle {display: none;} (to hide the subcategory)

.galleries #pageNav {display: none; (to hide the "Gallery Page 1" section)
}

Neither of these things has resulted in anything actually being hidden. What am I missing??

jfriend
May-25-2009, 06:21 AM
If you start with a complete description of a specific item that you want to hide on a specific page (please include the link that page), we can help you. Otherwise your question is a bit too generic for us to help effectively.

In other words, what exact thing do you want to hide on which exact page?

ajava
May-25-2009, 06:25 AM
http://ajava.smugmug.com/gallery/8307995_XKeLo

On the page above, I would like to make the part that says "Gallery pages: 1" go away. I would also like to hide the the category at the top left of the page - so where it says "Andrea>Other>About Me...I would like to hide the word 'Other'. Is this enough info? Sorry, very new at this.

jfriend
May-25-2009, 06:42 AM
http://ajava.smugmug.com/gallery/8307995_XKeLo

On the page above, I would like to make the part that says "Gallery pages: 1" go away. I would also like to hide the the category at the top left of the page - so where it says "Andrea>Other>About Me...I would like to hide the word 'Other'. Is this enough info? Sorry, very new at this.

Add this CSS:

/* get rid of gallery page navigation in About Me page */
.gallery_8307995 .albumNav {display:none;}

/* get rid of breadcrumb and slideshow button in About Me page */
.gallery_8307995 #breadcrumb {display:none;}


The .gallery_8307995 targets these CSS rules at this specific gallery only. The .albumNav and #breadcrumb are the specific objects you are trying to hide.

ajava
May-25-2009, 06:52 AM
Add this CSS:

/* get rid of gallery page navigation in About Me page */
.gallery_8307995 .albumNav {display:none;}

/* get rid of breadcrumb and slideshow button in About Me page */
.gallery_8307995 #breadcrumb {display:none;}


The .gallery_8307995 targets these CSS rules at this specific gallery only. The .albumNav and #breadcrumb are the specific objects you are trying to hide.



THANK YOU SO MUCH!! That did the trick and I've also learned a little bit more to help me on my CSS/HTML journey!!

JaeSen
May-25-2009, 01:57 PM
Okay, this is my very first post and I have been having the same problem. I put this code in my CSS and found that it did get rid of the navigation breadcrumbs, which is GREAT! BUT is there a way to do that WITHOUT getting rid of the slideshow and my TOOLS, THEMES, etc. tabs? It got rid of everything so that I cannot go in and customize the gallery anymore, unless I go and add the stuff back in everytime. Unless maybe THERE IS a way to get to the customization page that I am unaware of???

The other thing I am trying to accomplish is to get rid of the "This is a brand new gallery with no photos" statement on my contact/sessions/and pricing pages. I have found other threads on this, but have found they have a ton of code which I think is unrelated to what I am trying do. I simply set up a theme and typed my info in the gallery discription. I like the way it looks, but do not want any photos on the page. What would I do to hide that statement and ONLY show the gallery discription?

Here is the link to my sessions page
http://jaesen.smugmug.com/gallery/8154940_ALRXJ
I would like to get rid of the "JaeSen>Information" but keep the large "SESSIONS" if possible. I also need my owner tool buttons to stay. If by hiding the "JaeSen>Information" I HAVE to also hide the "SESSIONS," then is there a way to add a large title name to the discription like that??

Any help would be greatly appreciated. I have been working on my site for about a week and am starting to get the design finished so that I can actually load my photos and get to using it for my business. I must say I am very impressed and love my smugmug page!

***Since I wrote this, I have located an answer to part of my question! I found the code to only hide the breadcrumbs from my visitors, but not me! The only thing I still need to know is how to get rid of the statement about being a new gallery with no photos...if you could help, I'd greatly appreciate it!***




Add this CSS:

/* get rid of gallery page navigation in About Me page */
.gallery_8307995 .albumNav {display:none;}

/* get rid of breadcrumb and slideshow button in About Me page */
.gallery_8307995 #breadcrumb {display:none;}


The .gallery_8307995 targets these CSS rules at this specific gallery only. The .albumNav and #breadcrumb are the specific objects you are trying to hide.

raptorcaptor
Jun-16-2009, 01:08 PM
I would also like to get rid of the "Gallery pages: 1" from my guestbook page, but I do NOT want to get rid of the page nav links " page: 12>

http://raptorcaptor.smugmug.com/gallery/2410916

Thanks!

denisegoldberg
Jun-16-2009, 01:28 PM
I would also like to get rid of the "Gallery pages: 1" from my guestbook page, but I do NOT want to get rid of the page nav links " page: 12>
The answer is the same as the answer posted above. Add this to your CSS:
.gallery_2410916 .albumNav {
display: none;
}
--- Denise

raptorcaptor
Jun-16-2009, 01:33 PM
The answer is the same as the answer posted above. Add this to your CSS:
.gallery_2410916 .albumNav {
display: none;
}
--- Denise

Thanks Denise!

I must have had something in there before that was preventing the page numbers from showing up!