View Full Version : Navbar changes
halfsicilian
Apr-28-2008, 07:51 PM
I added a simple navbar per FAQ customization #7. Home page and galleries are fine, but the other tabs I want to use just take you back to the home page. How do I construct what I want for the other?
I wanted make a custom search box available when you click on "Search'.
I wanted to give customers basic ordering/shipping information when you click on "Order Information" - so it would be mostly text. It would be cool to provide the direct Smugmug links though.
Finally, I wanted to make the Bio information & photo available that I used to have when you click on "About Me" .
My site is: www.naturalexposurephotography.com (http://www.naturalexposurephotography.com)
I know very little about programming, so you'll have to give me the idiot's guide!
Oops - one more question. I can't seem to get the slideshow photos on my homepage to center. Any help there??
Thanks for any information.
Mike
Barb
Apr-29-2008, 08:16 PM
I added a simple navbar per FAQ customization #7. Home page and galleries are fine, but the other tabs I want to use just take you back to the home page. How do I construct what I want for the other?
I wanted make a custom search box available when you click on "Search'.
I wanted to give customers basic ordering/shipping information when you click on "Order Information" - so it would be mostly text. It would be cool to provide the direct Smugmug links though.
Finally, I wanted to make the Bio information & photo available that I used to have when you click on "About Me" .
My site is: www.naturalexposurephotography.com (http://www.naturalexposurephotography.com)
I know very little about programming, so you'll have to give me the idiot's guide!
Oops - one more question. I can't seem to get the slideshow photos on my homepage to center. Any help there??
Thanks for any information.
Mike
Hi Mike :)
Let's start with centering your slideshow. First, remove this from your CSS code in your customization:
#userBio {
width: 550px;
display: inline;
float: left;
position: relative;
}
Then, add this to your CSS:
#userText {text-align: center !important;}
You can add additional links to your navbar, no problem. If you wanted to add one called "Order Information", you could link it to this help page:
http://www.smugmug.com/help/digital-prints
Just add the following line to your navbar code in your header code box:
<li><a href="http://www.smugmug.com/help/digital-prints" target="_blank">ORDER INFORMATION</a></li>
You can change the words, etc., or even the link to a different help page if you like.
You can also add a search to your navbar by adding the following to your navbar code in your header:
<li>SMUGSEARCH</li>
I think it looks best if you add that as your last list item in your navbar code.
For an About Me page, check out No. 31 here:
http://www.smugmug.com/help/customize-faq
It says for a guestbook, but the idea is the same. Once you have the gallery created, you can link to it in your navbar code. It will be like this:
<li><a href="/gallery/XXXXXX">About Me</a></li>
You will replace the X's with the actual gallery ID.
I hope this helps. Holler back if you have more questions!
halfsicilian
Apr-30-2008, 05:57 PM
Why is that answered questions seem to generate still more questions?!
I succeeded in making most of the changes per your instructions, but still have a few issues:
1. I must not have the Bio information gallery linked correctly to the navbar, because all I get is a blank page.
2. For my "Order & Ship Information" tab, I would like to construct a page much like the one found on photoscapedesign.com after clicking on "Photos for Sale" in the navbar on the homepage. I like the photographer comments area at the top and then the various smugmug links at the bottom. How did they do that?
Unrelated question:
3. For some reason my banner is not centered - can you figure out what I did wrong?
Thanks again for your help. My site looks better every day!
Mike
denisegoldberg
Apr-30-2008, 08:27 PM
1. I must not have the Bio information gallery linked correctly to the navbar, because all I get is a blank page.
Unrelated question:
3. For some reason my banner is not centered - can you figure out what I did wrong?
Here's a start at answers for you...
In order to link your about me gallery to the navbar, you need the album id plus the album key. You only have the album id. So - change your navbar entry from
<li><a href="/gallery/4833884">ABOUT ME</a></li>
to
<li><a href="/gallery/4833884_khwe2">ABOUT ME</a></li>
Your banner isn't centered because you specified a width of 750px. I believe the correct value there is 600px. Change that part of your #my_banner CSS to
#my_banner {
width: 600px;
height: 150px;
....
--- Denise
halfsicilian
May-01-2008, 02:28 PM
Thanks Denise - both fixes worked just fine!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.