View Full Version : hide slideshow button on guestbook page
dphillips
Sep-17-2009, 11:03 AM
I have been working a lot on a redesign of my site lately and i was curious if any one could help me figure out this tiny little issue. I would like to hide the slideshow button on my guestbook page, but keep it on all the other pages. i am sure this is a simple fix, but my brain is fried and i can't figure it out.
my site is
www.imagesbydustin.com (http://www.imagesbydustin.com)
thank you,
Dustin
thaKing
Sep-17-2009, 11:24 AM
.gallery_7627621 #altViews {display:none;}
dphillips
Sep-17-2009, 11:35 AM
.gallery_7627621 #altViews {display:none;}
.category_Guestbook #altViews {display:none;}
Worked!!
thank you:barb
jfriend
Sep-17-2009, 12:31 PM
.category_Guestbook #altViews {display:none;}
Worked!!
thank you:barb The problem with that CSS is that it hides your Tools button for every gallery in that category so now you can't do gallery maintenance. If all you want to do is hide the slideshowButton, I would suggest this instead:
.category_Guestbook #slideshowButton {display:none;}
Hiding either the breadcrumb object or the altViews object also hides the Tools button which is generally a bad thing for being able to manage your own galleries. It's better to not hide the overall container, but just hide the individual objects you want to hide.
thaKing
Sep-17-2009, 07:02 PM
i've got to ask John, how were you able to figure these things out? what i mean is, when i use the web developer i found altViews...thus my suggestion...but, based on your response this can be bad...how did you figure this out, trial and error? (i see you have a TONS of post that's what i mean by trial and error)...i found altViews but i didn't find slideshowButton...and even if i did how would i, or anyone else, know that altViews hides the tools button?
i know this has been asked before and i think the answer is no, but is there anywhere with all the CSS classes, etc? i'm just trying to expand my knowledge of smugmug for my own use especially...
jfriend
Sep-17-2009, 08:01 PM
i've got to ask John, how were you able to figure these things out? what i mean is, when i use the web developer i found altViews...thus my suggestion...but, based on your response this can be bad...how did you figure this out, trial and error? (i see you have a TONS of post that's what i mean by trial and error)...i found altViews but i didn't find slideshowButton...and even if i did how would i, or anyone else, know that altViews hides the tools button?
i know this has been asked before and i think the answer is no, but is there anywhere with all the CSS classes, etc? i'm just trying to expand my knowledge of smugmug for my own use especially... The best documentation is the tools that show you the actual page structure. If you use Firebug (free add-on for Firefox), you can see the entire DOM structure and hierarchy and every object in the page in it's place. In this view, you can see that all the row of buttons are in altViews (including the Tools button). This view is indespensible to knowing how to do these kinds of things. I also know from lots of troublshooting other people's sites that hiding either the breadcrumb or the altViews object causes the Tools button to get hidden (along with all the other buttons in that row).
Here's a view from Firebug. I couldn't figure these things out without it.
http://content.screencast.com/users/jfriend/folders/Jing/media/dd12a795-c649-4fe3-b19a-02589ac4ffeb/2009-09-17_2055.png
thaKing
Sep-18-2009, 06:23 AM
thanks for the response...makes perfect sense...i've used the webdev tool for a long time now, but only recently started to use firebug - and i'm learning the in's and out's of it...thanks for the tips..
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.