PDA

View Full Version : PLEASE HELP!!! Nav bar link for Galleries


picturegirl
Feb-16-2009, 08:26 AM
I posted two questions this weekend about customizing my site and I did not get one response back:cry, got lots of views though. So I spent hours putting it back to how it was previously :cry

Now what I am trying to do is link my galleries link on my nav bar to all my galleries. I don't like having this huge drop down list of my galleries.

I found this tutorial http://dgrin.smugmug.com/gallery/2160039
and followed what they said to do, I got nothing but a link back to my homepage.

I would like it to work like it does on this site: http://jkmann.smugmug.com/galleries

Can anyone out there help?

Allen
Feb-16-2009, 08:32 AM
I posted two questions this weekend about customizing my site and I did not get one response back:cry, got lots of views though. So I spent hours putting it back to how it was previously :cry

Now what I am trying to do is link my galleries link on my nav bar to all my galleries. I don't like having this huge drop down list of my galleries.

I found this tutorial http://dgrin.smugmug.com/gallery/2160039
and followed what they said to do, I got nothing but a link back to my homepage.

I would like it to work like it does on this site: http://jkmann.smugmug.com/galleries

Can anyone out there help?
Add the CSS and js from that tutor and change this part of your nav link

<li><a class="drop" href="#nopick">GALLERIES
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="/Weddings">Weddings</a></li>
<li><a href="/Senior%20Portraits">HS Seniors</a></li>
<li><a href="/Babies%20&amp;%20Children">Babies &amp; Children</a></li>
<li><a href="/Maternity">Maternity</a></li>
<li><a href="/Couples">Couples</a></li>
<li><a href="/Families">Families</a></li>
<li><a href="/People">People</a></li>
<li><a href="/Nature">Nature</a></li>
<li><a href="/Animals">Animals</a></li>
<li><a href="/Coast%20Trips">Coast Trips</a></li>
<li><a href="/Flowers">Flowers &amp; Plants</a></li>
<li><a href="/Motorcycles">Motorcycles</a></li>
<li><a href="/Misc.">Misc.</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

to this
<li><a href="/galleries">GALLERIES</a></li>

btw, remove the / from your CSS

.menu ul li a:hover ul {
display: block;
position: absolute !important;
top: 2px; /
background: black;
margin-top: 7px;
left: 0px;
}

picturegirl
Feb-16-2009, 09:55 AM
Thanks for getting back to me so quickly, tried that and it still goes to my homepage and not my galleries.

Allen
Feb-16-2009, 10:01 AM
Thanks for getting back to me so quickly, tried that and it still goes to my homepage and not my galleries.
All your public galleries are in those three categories. If you want to show
galleries instead of categories click "display by gallery' in the upper right of
box.

picturegirl
Feb-16-2009, 10:10 AM
I was hoping to be able to click on galleries in my nav bar and have that go to all my galleries without it showing on my home page, just like this:
http://jkmann.smugmug.com/galleries

When you click his galleries link it goes to his galleries.

jfriend
Feb-16-2009, 10:11 AM
Thanks for getting back to me so quickly, tried that and it still goes to my homepage and not my galleries. You are missing this CSS (shown in the tutorial) that makes the galleries page be different from your homepage:

.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

picturegirl
Feb-16-2009, 03:07 PM
I put that code in and it still goes back to my homepage but makes my bio box disappear and only shows the featured galleries???

jfriend
Feb-16-2009, 04:34 PM
I put that code in and it still goes back to my homepage but makes my bio box disappear and only shows the featured galleries??? When I click on your galleries link in your navbar it takes me to a view of your featured galleries with no slideshow.

If you want your regular galleries to show too, then you have to enable them. Go to the homepage layout button and enable your galleries or categories to show there.

Just so you realize, your homepage and your galleries page are exactly the same page. We are just using CSS to hide/show different things on the two different versions of the page.

picturegirl
Feb-16-2009, 04:43 PM
Oh ok, that makes sense!!!! Thanks so much, that worked!! Is it still possible to show my featured galleries on the homepage?

jfriend
Feb-16-2009, 04:50 PM
Oh ok, that makes sense!!!! Thanks so much, that worked!! Is it still possible to show my featured galleries on the homepage? If you want your featured galleries on the homepage and not on the galleries page, then you just change the CSS to do that.

Instead of this:

.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

you change to this:

.homepage #galleriesBox,
.homepage #categoriesBox,
.galleries #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox {
display: block;
}

picturegirl
Feb-16-2009, 04:53 PM
Thanks so much, worked perfect! Just checked out your site love the Havasu Falls pictures, can't wait to got there some day myself!!



So would you have any idea why my popular gallery would still have the white theme?


Thanks again!

jfriend
Feb-16-2009, 04:59 PM
Thanks so much, worked perfect! Just checked out your site love the Havasu Falls pictures, can't wait to got there some day myself!!


So would you have any idea why my popular gallery would still have the white theme?


Thanks again!

Your popular gallery is set to the white theme. In that gallery, using the theme button to set the theme back to take the default theme and it should then look like the rest of your galleries.

picturegirl
Feb-16-2009, 05:06 PM
Popular photo gallery does not have the option to change the theme. Over the weekend I tried the white theme with a teal green background and it really messed things up so I switched it all back. Now for some reason this gallery is stuck on white. I did change my background color back to dark in my customization.

jfriend
Feb-16-2009, 05:16 PM
Popular photo gallery does not have the option to change the theme. Over the weekend I tried the white theme with a teal green background and it really messed things up so I switched it all back. Now for some reason this gallery is stuck on white. I did change my background color back to dark in my customization.

For some reason, I thought you were using a regular gallery for your popular link. Hmmm, I saw it that way at one time. The regular Smugmug popular gallery takes on either your default theme (set in control panel) or your homepage theme (set with theme button on the homepage). I'd suggest you make sure both are set to the black that you want.

picturegirl
Feb-16-2009, 05:23 PM
I just found it in my Control panel under, Customize tab and at the very bottom has an all pages theme, Applies to all pages that don't have a theme or are set to 'Default'. I knew it must have been something I did, I was trying the all white theme but it had border breaks at the top and bottom and did weird things when I changed my background color.

Thanks again, truly appreciate it so much!!!!