View Full Version : Need Help Hiding a Gallery
creativepix
Jan-28-2008, 06:10 AM
I added a link to my nav bar called "Clients" so that my customers could click their to view their photos. I made a category called "Clients" and put all of my customers' galleries under that category, then linked it to my nav bar and it is working fine. My problem is that the category "clients" is also showing up under my "Portfolio" (which is what I renamed my galleries page). I would like to hide that category or delete it from my portfolio. I have looked at two other threads posted on very similar topics, but none of the codes I put in my javascript or footer seem to be working.
I appreciate any help on this subject.
Thanks,
Amy
www.creativepixphotography.net
Allen
Jan-28-2008, 08:52 PM
I added a link to my nav bar called "Clients" so that my customers could click their to view their photos. I made a category called "Clients" and put all of my customers' galleries under that category, then linked it to my nav bar and it is working fine. My problem is that the category "clients" is also showing up under my "Portfolio" (which is what I renamed my galleries page). I would like to hide that category or delete it from my portfolio. I have looked at two other threads posted on very similar topics, but none of the codes I put in my javascript or footer seem to be working.
I appreciate any help on this subject.
Thanks,
Amy
www.creativepixphotography.net (http://www.creativepixphotography.net)
Ref. http://www.dgrin.com/showpost.php?p=490934&postcount=25
Place this in your footer section.
<script type="text/javascript" language="javascript">
function delCategory() {
re = /\/(Clients)$/;
var oList = YD.getElementsByClassName('miniBox', 'div', this);
for (i = 0; i < oList.length; i++) {
if (re.test(oList[i].getElementsByTagName('a')[0].href))
oList[i].parentNode.removeChild(oList[i]);
}
}
YE.onContentReady('categoriesBox', delCategory);
</script>
creativepix
Jan-29-2008, 04:09 AM
Awesome! I can't thank you enough. I was about to go insane.
I have a few more questions on advanced customization.
1) Can you tell me where to find the thread posted about getting rid of the gray lines and the green "gallery pages" that show up under my "About Me" page and the "Guestbook" page? I saw another post where someone referenced that thread, but I cannot find it.
2) Where I can find out how to fix spacing issues. There are a few things I'd like to tweak on my homepage. I'd like to make my nav bar tabs further apart, and also, I'd like to put some space between my banner, nav bar, and slideshow.
I really apprecaite your help!
Thanks again for the above information. I have already written the codes in my footer and everything is finally working.
creativepix
www.amyrollins.smugmug.com
Allen
Jan-29-2008, 06:57 AM
Awesome! I can't thank you enough. I was about to go insane.
I have a few more questions on advanced customization.
1) Can you tell me where to find the thread posted about getting rid of the gray lines and the green "gallery pages" that show up under my "About Me" page and the "Guestbook" page? I saw another post where someone referenced that thread, but I cannot find it.
2) Where I can find out how to fix spacing issues. There are a few things I'd like to tweak on my homepage. I'd like to make my nav bar tabs further apart, and also, I'd like to put some space between my banner, nav bar, and slideshow.
I really apprecaite your help!
Thanks again for the above information. I have already written the codes in my footer and everything is finally working.
creativepix
www.amyrollins.smugmug.com (http://www.amyrollins.smugmug.com)
Add these to CSS for guestbook gallery. Also can add a set for your about gallery with it's
gallery number.
.gallery_3760377 #albumNav_top,
.gallery_3760377 #albumNav_bottom,
.gallery_3760377 #breadcrumb {display: none;}
.loggedIn .gallery_3760377 #breadcrumb {display: block;}
.gallery_3760377 #comment,
.gallery_3760377 .journal_entry {border: none !important;}
Spread out menu, play with red.
#navcontainer ul li a {
text-decoration: none;
padding: .2em 3em;
color: #fff;
background-color: #000000 ;
}
creativepix
Jan-30-2008, 04:55 AM
Thank you so much! Your info helped tremendously.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.