View Full Version : Help, how to remove a few things
zacHer0
Nov-09-2008, 04:58 PM
Hi, I've been working on customizing my site and I have a few questions.
Here is my site: www.zwilliamsphotography.com (http://www.zwilliamsphotography.com)
Here are my 3 objectives.
http://img.skitch.com/20081110-xfcbb3srt7dnwgf9pi5bhxx9jx.jpg
1. How do I remove the breadcrums? I am using the CSS below but I guess it's not working. I want the breadcrumbs gone on my 'About me', 'Contact info', 'Guestbook', and 'galleries' tab. I want the breadcrumbs to show up when I'm viewing photos in my galleries on the 'Galleries' tab. Possible, or should I just have breadcrumbs removed alltogether?
#breadcrumb {display: none;}
.loggedIn #breadrumb {display: block;}
2. How do I remove Gallery Pages: 1 from the top of each gallery?
3. How do I remove the Slideshow button on specific galleries, such as this one?
Thanks in advance.
jfriend
Nov-09-2008, 05:23 PM
Hi, I've been working on customizing my site and I have a few questions.
Here is my site: www.zwilliamsphotography.com (http://www.zwilliamsphotography.com)
Here are my 3 objectives.
http://img.skitch.com/20081110-xfcbb3srt7dnwgf9pi5bhxx9jx.jpg
1. How do I remove the breadcrums? I am using the CSS below but I guess it's not working. I want the breadcrumbs gone on my 'About me', 'Contact info', 'Guestbook', and 'galleries' tab. I want the breadcrumbs to show up when I'm viewing photos in my galleries on the 'Galleries' tab. Possible, or should I just have breadcrumbs removed alltogether?
#breadcrumb {display: none;}
.loggedIn #breadrumb {display: block;}
2. How do I remove Gallery Pages: 1 from the top of each gallery?
3. How do I remove the Slideshow button on specific galleries, such as this one?
Thanks in advance.
Question 1 (remove breadcrumb when not logged in):
.gallery_xxxxxx #breadCrumbTrail {display:none;} (where xxxxx is the gallery number)
Question 2 (remove gallery nav):
See item #32 in the customization FAQ (http://www.dgrin.com/showthread.php?t=52811).
Question 3 (remove slideshow button):
See item #31 in the customization FAQ (http://www.dgrin.com/showthread.php?t=52811).
Andy
Nov-09-2008, 05:25 PM
3. How do I remove the Slideshow button on specific galleries, such as this one?
.gallery_XXXXXX .play_slideshow {display: none;}
Andy
Nov-09-2008, 05:35 PM
Zac, do you have WebDev? Get it.
http://dgrin.smugmug.com/gallery/1354921
And if you come down to the house I'll give you an in-person lesson :thumb
zacHer0
Nov-09-2008, 05:53 PM
Thanks for the help but I can't get any of the 3 to work. Here is my new css.
Dad - link fail on WebDev :huh
/* remove breadcrumbs on select galleries */
.gallery_6460568_SGtys #breadcrumb {display: none;}
.gallery_6460583_MGyCm #breadcrumb {display: none;}
.gallery_6460579_nujfJ #breadcrumb {display: none;}
/* remove Gallery Page: 1 from select galleries*/
.gallery_6460568_SGtys .pageNav, .gallery_6460583_MGyCm .pageNav, .gallery_6460579_nujfJ .pageNav {
visibility:hidden;
}
/* remove slideshow button from select galleries */
.gallery_6460568_SGtys .play_slideshow {display: none;}
.gallery_6460583_MGyCm .play_slideshow {display: none;}
.gallery_6460579_nujfJ .play_slideshow {display: none;}
Allen
Nov-09-2008, 05:55 PM
Will there be a live video feed so we can watch the instructor perform?
:rofl
Hmmm, may be a good video for the WebDev tutor page.:D
jfriend
Nov-09-2008, 06:31 PM
Thanks for the help but I can't get any of the 3 to work. Here is my new css.
Dad - link fail on WebDev :huh
/* remove breadcrumbs on select galleries */
.gallery_6460568_SGtys #breadcrumb {display: none;}
.gallery_6460583_MGyCm #breadcrumb {display: none;}
.gallery_6460579_nujfJ #breadcrumb {display: none;}
/* remove Gallery Page: 1 from select galleries*/
.gallery_6460568_SGtys .pageNav, .gallery_6460583_MGyCm .pageNav, .gallery_6460579_nujfJ .pageNav {
visibility:hidden;
}
/* remove slideshow button from select galleries */
.gallery_6460568_SGtys .play_slideshow {display: none;}
.gallery_6460583_MGyCm .play_slideshow {display: none;}
.gallery_6460579_nujfJ .play_slideshow {display: none;}
Galllery specific CSS rules do NOT have the gallery key in them, just the gallery ID. So you would do it like this for all of them:
/* remove breadcrumbs on select galleries */
.gallery_6460568 #breadcrumb {display: none;}
.gallery_6460583 #breadcrumb {display: none;}
.gallery_6460579 #breadcrumb {display: none;}
You can also combine them into one CSS rule like this:
.gallery_6460568 #breadcrumb,
.gallery_6460583 #breadcrumb,
.gallery_6460579 #breadcrumb {display: none;}
zacHer0
Nov-09-2008, 08:13 PM
Galllery specific CSS rules do NOT have the gallery key in them, just the gallery ID. So you would do it like this for all of them:
/* remove breadcrumbs on select galleries */
.gallery_6460568 #breadcrumb {display: none;}
.gallery_6460583 #breadcrumb {display: none;}
.gallery_6460579 #breadcrumb {display: none;}
You can also combine them into one CSS rule like this:
.gallery_6460568 #breadcrumb,
.gallery_6460583 #breadcrumb,
.gallery_6460579 #breadcrumb {display: none;}
Thanks, I tried this but still is a no go on any of the 3 items I wanted to get fixed. Maybe it has something to do with our site being down.. I'll check tomorrow :)
Here is my code, let me know if it's bugged or if it's just the site slowness.
/* remove breadcrumb from select galleries */
.gallery_6460568 #breadcrumb, .gallery_6460583 #breadcrumb, .gallery_6460579 #breadcrumb {
display: none;
}
/* remove Gallery Page: 1 */
.gallery_6460568 .pageNav, .gallery_6460583 .pageNav, .gallery_6460579 .pageNav {
visibility:hidden;
}
/* remove slideshows from a few galleries */
.gallery_6460568 .play_slideshow, .gallery_6460583 .play_slideshow, .gallery_6460579 .play_slideshow {
display: none;
}
Andy
Nov-09-2008, 08:24 PM
/* remove Gallery Categories */
#categoriesBox .boxTop {
display: none;}
you were missing that closing brace, I fixed you up. That's why your code wasn't working....
zacHer0
Nov-09-2008, 08:25 PM
Thank you :clap
Hi Heroes
Is there a way to remove the breadcrumbs in all the galleries with one command?
Christine
Andy
Jan-17-2009, 03:56 PM
Hi Heroes
Is there a way to remove the breadcrumbs in all the galleries with one command?
Christine
Sure
.notLoggedIn #breadcrumb {display: none;}
They'll show to you when logged in (very convenient)
Sure
.notLoggedIn #breadcrumb {display: none;}
They'll show to you when logged in (very convenient)
Thank you, oh my hero
Christine
I did it but the geolocalisation disappeared - and the slideshow button...
for example http://touscrins.smugmug.com/gallery/7110628_AdbiB here
Any help about that?
Christine
jfriend
Jan-17-2009, 11:25 PM
I did it but the geolocalisation disappeared - and the slideshow button...
for example http://touscrins.smugmug.com/gallery/7110628_AdbiB here
Any help about that?
Christine
I don't know what you mean by geolocalisation, but you can get the slideshow button back if instead of this CSS:
.notLoggedIn #breadcrumb {display: none;}
you use this:
.notLoggedIn #breadCrumbTrail {display: none;}
I don't know what you mean by geolocalisation, but you can get the slideshow button back if instead of this CSS:
.notLoggedIn #breadcrumb {display: none;}
you use this:
.notLoggedIn #breadCrumbTrail {display: none;}
Thank you very much. I should have said google map geolocation. It was gone but this new command fixed it.
I love you heroes.
Christine
kanoswrx
Jan-20-2009, 09:58 AM
I had this working for a few minutes but then it stopped working. I am not really sure why. Below is my CSS code,
.gallery_7128914 .play_slideshow,
.gallery_7128770 .play_slideshow {display: none;}
.gallery_7128914 #breadcrumb,
.gallery_7128770 #breadcrumb {display: none;}
the site is natashanaomi.smugmug.com (http://natashanaomi.smugmug.com)
I just don't want to see the slideshow button or the breadcrumb links in the about me page or the guestbook page.
kanoswrx
Jan-20-2009, 11:09 AM
Note quite sure why, but I moved some of my css code around and put this at the very bottom and it started working again. I'm not CSS expert but I didn't think that mattered.
I had this working for a few minutes but then it stopped working. I am not really sure why. Below is my CSS code,
.gallery_7128914 .play_slideshow,
.gallery_7128770 .play_slideshow {display: none;}
.gallery_7128914 #breadcrumb,
.gallery_7128770 #breadcrumb {display: none;}
the site is natashanaomi.smugmug.com (http://natashanaomi.smugmug.com)
I just don't want to see the slideshow button or the breadcrumb links in the about me page or the guestbook page.
jfriend
Jan-20-2009, 04:16 PM
Note quite sure why, but I moved some of my css code around and put this at the very bottom and it started working again. I'm not CSS expert but I didn't think that mattered.
If would suggest you use breadCrumbTrail, not breadcrumb in that CSS because you are hiding access to your Tools button when you hide breadcrumb so you can't do any maintenance on that gallery. Hiding breadCrumbTrail will hide the breadcrumb navigation, but still let your Tools button show when you are logged in.
amsphoto
Oct-22-2010, 08:39 PM
For some reason I was able to get them all to work except the first one in line, any ideas??????
Allen
Oct-22-2010, 08:41 PM
For some reason I was able to get them all to work except the first one in line, any ideas??????
What first one? What gallery? Is this a puzzle? :D Also a link to your site would help.
hackmann
Oct-24-2010, 08:24 PM
If would suggest you use breadCrumbTrail, not breadcrumb in that CSS because you are hiding access to your Tools button when you hide breadcrumb so you can't do any maintenance on that gallery. Hiding breadCrumbTrail will hide the breadcrumb navigation, but still let your Tools button show when you are logged in.
jfriend,
Is there any way to hide breadCrumbTrail only for not logged users and in all unlisted galleries only, so can keep the trail for the public galleries?
I am having problems with users trying to browse with breadCrumbTrail in category and subcategory where all galleries are unpublished, so they are getting the unlisted gallery error page.
I have all unpublished galleries in same category, spread in subcategories..... It was the easiest way I found to manage where goes public galleries and unpublished galleries at my webpage...
Thank you.
jfriend
Oct-24-2010, 09:51 PM
jfriend,
Is there any way to hide breadCrumbTrail only for not logged users and in all unlisted galleries only, so can keep the trail for the public galleries?
I am having problems with users trying to browse with breadCrumbTrail in category and subcategory where all galleries are unpublished, so they are getting the unlisted gallery error page.
I have all unpublished galleries in same category, spread in subcategories..... It was the easiest way I found to manage where goes public galleries and unpublished galleries at my webpage...
Thank you.First, maybe you just want a gallery with Hide Owner = yes. In addition to hiding the breadcrumb, this will also clear your domain name from the URL so they just get the gallery with a www.smugmug.com URL and no connection to the rest of your site. It also won't have any of your customization (e.g. no connection to your site).
If that's not what you want, then you can do customization just for unlisted galleries by doing this.
Install customization #29 here (http://www.dgrin.com/showthread.php?t=135068). Then, add this CSS:
.notLoggedIn.unlistedGallery #breadCrumbTrail {display: none;}
hackmann
Oct-25-2010, 06:50 PM
Well, Customization #29 its working fine. Facebook and twitter buttons are gone to unlisted galleries when share are activaded... Thank you.
But the .notLoggedIn.unlistedGallery #breadCrumbTrail {display: none;} didnt
if i change to (for testesting only)
.notLoggedIn.publicGallery #breadCrumbTrail {display: none;}
It shows the breadcrumb trail on gallery category (my galleries link), but not in the public gallery view.
If i change back to .notLoggedIn.unlistedGallery it shows on public and private galleries....
Its a strange behave.
:(
I just turn off the #breadCrumbTrail. :)
thank you!
jfriend
Oct-25-2010, 06:53 PM
Well, Customization #29 its working fine.
But the .notLoggedIn.unlistedGallery #breadCrumbTrail {display: none;} didnt
if i change to (for testesting only)
.notLoggedIn.publicGallery #breadCrumbTrail {display: none;}
It shows the breadcrumb trail on gallery category, but not in the public gallery view.
If i change back to .notLoggedIn.unlistedGallery it shows on public and private galleries....
:(
I just turn off the #breadCrumbTrail, i dont have much levels to navigate.
thank you!Please provide a link to one of your unlisted galleries so I can take a look at why it isn't working.
hackmann
Oct-25-2010, 07:06 PM
Here,
i put back the .notLoggedIn.unlistedGallery #breadCrumbTrail {display: none;}
trail is everywhere...
http://www.carloshackmannphotography.com/Other/test/14365696_p3nvE
Thank you
jfriend
Oct-25-2010, 07:25 PM
Here,
i put back the .notLoggedIn.unlistedGallery #breadCrumbTrail {display: none;}
trail is everywhere...
http://www.carloshackmannphotography.com/Other/test/14365696_p3nvE
Thank youUnfortunately, it doesn't look like customization #29 works any more. I don't know if something just changed or what. I'll have to see if I can find a new way to tell if a gallery is unlisted or not. I don't currently see one. Do you have a link to a gallery where you think it's working?
You can always hide the breadcrumb in specific galleries with CSS like this:
.notLoggedIn .gallery_14365696 #breadCrumbTrail {display: none;}
where the numbers are the gallery number.
hackmann
Oct-25-2010, 07:50 PM
petty my friend!
But, if customizaton # 29 its not working, how facebook and twiiter button are showing on Public galleries and not in unlisted one?
Its perfect that for me here, i just tested....
jfriend
Oct-25-2010, 07:52 PM
petty my friend!
But, if customizaton # 29 its not working, how facebook and twiiter button are showing on Public galleries and not in unlisted one?
Its perfect that for me here, i just tested....Give me a link to where it's working and I'll take a look, but my guess is that Smugmug automatically hides the FB and Twitter sharing icons for unlisted and passworded galleries. Or you have something else disabled like external linking that makes them go away.
hackmann
Oct-25-2010, 07:59 PM
Here:
http://www.carloshackmannphotography.com/Galleries/Landscapes/14214801_Xvmfw#1050023593_Sg5go
Someone just "like it" that picture on facebook!
:)
jfriend
Oct-25-2010, 08:26 PM
Here:
http://www.carloshackmannphotography.com/Galleries/Landscapes/14214801_Xvmfw#1050023593_Sg5go
Someone just "like it" that picture on facebook!
:)Sorry, but that's a public gallery. I need to see an unlisted gallery where you think the script is working.
hackmann
Oct-25-2010, 08:36 PM
You were right, its not working. FB and TW its related to external link option.
:(
Thanks for your time mate!
:clap
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.