• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization How To: Create a Navbar and Custom Headers

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Page 34  of  35
Old Feb-19-2012, 09:01 PM
#661
radmatt is offline radmatt
Beginner grinner
ALLEN! that worked thanks a lot!
Old Feb-21-2012, 01:03 PM
#662
excusme is offline excusme
Big grins
Help with navigation bar
I need to have a navigation bar that will link to a second galleries page.

The tutorials have these instructions included in a lot of other customizations. I seem to be going back and forth between tutorials and never landing where I should be:
1. This tutorial will explain how to install a basic navigation bar with links to other pages, near the top of your page.

NOTE: if you wish to create a navbar, as well as a slideshow and a have a 'separate' page with your galleries (not your home page, the page that you see first) please have a look at this tutorial first.
Then I land at 2. and 2 sends me back to 1.

2.The Navbar


For the Navbar, there is also a separate tutorial. You can find it here.

Do that first, and then come back here for the rest of this tutorial.

I must be doing something wrong for sure but I need you to save me from the nut house.

Thanks
Excusme
__________________
EXCUSME

Last edited by excusme; Feb-21-2012 at 01:04 PM. Reason: web address
Old Feb-21-2012, 01:04 PM
#663
excusme is offline excusme
Big grins
www.photographyatlarge.com
__________________
EXCUSME
Old Feb-23-2012, 12:50 AM
#664
mountaindewkaraoke is offline mountaindewkaraoke
Beginner grinner
Navbar not showing on Gallery pages
I followed the navbar tutorial (found at http://dgrin.smugmug.com/Tutorials/S...32803_fVJnGs/1). Everything went well, except I noticed that the navbar is not visible on my gallery pages, only the homepage and the second homepage (the galleries list page). How do I make the navbar visible on all pages, including my various galleries pages. My site url is

http://www.humanlandscapephoto.com

Thanks!
Old Feb-23-2012, 10:30 AM
#665
ko04 is offline ko04
An Artist at heart
ko04's Avatar
I have a question about the Navbar I did what the tutorial said but I am getting my banner bellow my text, also I was wondering I get the whole size thing but is there a way to stretch it out so it fits in all shapes and sizes of web browsers. I am learning as I go about all this so any help would be great! Here is my website http://k-ophotography.smugmug.com/. I Don't plan on keeping this as my banner but I want to get it right first before I start playing around with different types of banners I would add
Old Mar-03-2012, 08:21 AM
#666
EagleEye1 is offline EagleEye1
Big grins
Stretchy banner for stretchy website
I have a stretchy website and am wanting to create a custom banner for my website. Being that it is formated for stretchy, what pixel width should I create the banner in? My website is: www.momentsinature.com

Thanks,
Josh

Last edited by EagleEye1; Mar-03-2012 at 09:51 AM.
Old Jun-02-2012, 10:02 AM
#667
austriker is offline austriker
Big grins
so I was able to make the banner (its basic for now) and the nav-bar, but when I set up the banner last night it shows the nav bar below the banner.. I was really hoping to have the nav bar underneath the banner- how can I change this??

also how do I get the banner centered? I used the same px count as the example (sorry for being so newbish; Ive been reading this site for the last few weeks while making my site, its super helpful).

My site: dlindahlphotos.smugmug.com

Thanks!
Old Jun-02-2012, 10:28 AM
#668
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by austriker View Post
so I was able to make the banner (its basic for now) and the nav-bar, but when I set up the banner last night it shows the nav bar below the banner.. I was really hoping to have the nav bar underneath the banner- how can I change this??

also how do I get the banner centered? I used the same px count as the example (sorry for being so newbish; Ive been reading this site for the last few weeks while making my site, its super helpful).

My site: dlindahlphotos.smugmug.com

Thanks!
They show in the order as defined in the header. Move the my_banner div to the top like this if you want it on top.
Code:
<div id="my_banner"> </div>
<div id="navcontainer">
<ul>
<li><a href="http://dlindahlphotos.smugmug.com">Home</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/galleries">Galleries</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23106483_C2dBx5">Recent Uploads</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23213680_8GcsrJ">Empty Link</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23186479_Vn4Dd4">Me, Myself, &amp; Photography</a></li>
</ul>
</div>
Your banner image is 600x120. Use that and the auto R/L margin will center it.
Code:
#my_banner {
width: 600px;
height: 120px;
margin: 0 auto;
background: url(http://dlindahlphotos.smugmug.com/photos/i-xhBVnCZ/0/L/i-xhBVnCZ-O.png) no-repeat;
}

#my_banner {
width: 750px;
height: 150px;
margin: 0 auto;
background: url(http://dlindahlphotos.smugmug.com/photos/i-xhBVnCZ/0/L/i-xhBVnCZ-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://www.smugmug.com/photos/XXXXXXX_YYYYY-O.png'); 
}
At the bottom of your CSS remove this

relative;
}
Old Jun-02-2012, 01:16 PM
#669
austriker is offline austriker
Big grins
Quote:
Originally Posted by Allen View Post
They show in the order as defined in the header. Move the my_banner div to the top like this if you want it on top.
Code:
<div id="my_banner"> </div>
<div id="navcontainer">
<ul>
<li><a href="http://dlindahlphotos.smugmug.com">Home</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/galleries">Galleries</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23106483_C2dBx5">Recent Uploads</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23213680_8GcsrJ">Empty Link</a></li>
<li><a href="http://dlindahlphotos.smugmug.com/gallery/23186479_Vn4Dd4">Me, Myself, &amp; Photography</a></li>
</ul>
</div>
Your banner image is 600x120. Use that and the auto R/L margin will center it.
Code:
#my_banner {
width: 600px;
height: 120px;
margin: 0 auto;
background: url(http://dlindahlphotos.smugmug.com/photos/i-xhBVnCZ/0/L/i-xhBVnCZ-O.png) no-repeat;
}

#my_banner {
width: 750px;
height: 150px;
margin: 0 auto;
background: url(http://dlindahlphotos.smugmug.com/photos/i-xhBVnCZ/0/L/i-xhBVnCZ-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://www.smugmug.com/photos/XXXXXXX_YYYYY-O.png'); 
}
At the bottom of your CSS remove this

relative;
}
Thanks Allen, for both of your answers! I truly appreciate it.
__________________
just starting out, been shooting for years but never made a website.. yay for smugmug.
My Smugmug

DG Forum Codes
Old Aug-01-2012, 12:45 AM
#670
rrbarcarse is offline rrbarcarse
Beginner grinner
noob question, how do i center the nav bar? it' s currently located on the upper left side?

thanks.

www.rexbarcarsephotography.com
Old Aug-10-2012, 10:19 PM
#671
paulajo is offline paulajo
Big grins
paulajo's Avatar
Help with Nav Bar
Hello: I am very new here and just getting started customizing my site.
www.paulajophotodesigns.smugmug.com

I am working on the tuts (which are very good by the way) and specifically working on the banner, nav bar and slideshow on my home page.

The following is the tut I am working on (nav bar)
http://dgrin.smugmug.com/gallery/1932803

I am at this place in the tut and getting stuck:


HTML code:

Scroll down a bit, and you will find a box labeled "header". Insert the following code in that box:

<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/gallery/XXXXXXX_YYYYY">About Me</a></li>
<li><a href="/galleries">Galleries</a></li>
<li><a href="/gallery/XXXXXXX_YYYYY">Information</a></li>
<li><a href="/gallery/XXXXXXX_YYYYY">Guestbook</a></li>
</ul>
</div>


Be sure to replace the X's in the above links with the actual gallery ID. To find your gallery ID and key, go into your gallery:

http://www.smugmug.com/gallery/26723...41467928_N7uQ7

The gallery ID is the first set of numbers after the word "gallery". So, in the example link, the gallery ID is "2672379_SJXej". Those are the numbers/characters you would replace the X's with.


I am trying to find the gallery ID but don't understand what gallery I am to go into to find the ID (see colored text above.) so I can replace the XXXXX's in the code.

Please help me find this gallery ID.
__________________
Blessings,

Paula Jo
Old Aug-11-2012, 03:54 AM
#672
denisegoldberg is offline denisegoldberg
Major grins
denisegoldberg's Avatar
Quote:
Originally Posted by paulajo View Post
I am trying to find the gallery ID but don't understand what gallery I am to go into to find the ID (see colored text above.) so I can replace the XXXXX's in the code.

Please help me find this gallery ID.
Open the gallery that you want to link from your navbar.

For example, if you have an "About" gallery describing you or your work and you want an About entry in your navbar, open the gallery you've named "About" and use the gallery id and key for that gallery.

I don't see any galleries on your site that "fit" for About, Information, or Guestbook. Either create galleries for that purpose, or remove the navbar entries.

See the tutorial at http://allen-steve.smugmug.com/gallery/3819841 for information on building a text-based gallery.

--- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com

Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+
Old Aug-11-2012, 12:28 PM
#673
paulajo is offline paulajo
Big grins
paulajo's Avatar
Quote:
Originally Posted by denisegoldberg View Post
Open the gallery that you want to link from your navbar.

For example, if you have an "About" gallery describing you or your work and you want an About entry in your navbar, open the gallery you've named "About" and use the gallery id and key for that gallery.

I don't see any galleries on your site that "fit" for About, Information, or Guestbook. Either create galleries for that purpose, or remove the navbar entries.

See the tutorial at http://allen-steve.smugmug.com/gallery/3819841 for information on building a text-based gallery.

--- Denise
Denise: This is what I needed! I didn't know how to create a text based gallery. I am off to do that and then the rest of the tut should make sense. Thanks sooooo much!
__________________
Blessings,

Paula Jo
Old Aug-22-2012, 07:45 PM
#674
bkwx82 is offline bkwx82
Noob Grinner
About Me Link
Hi there! I've been reading and applying the tutorial methods for creating a Nav bar and a few others and I've finding it extremely helpful! Thanks so much!! I need help on another issue. I would like a link on my Nav Bar to my Bio page for an "About Me" section. May I know how I can add this? Is there a link to my bio? And once done, I would like to hide my bio from the home page, and just have my Banner, Nav Bar and Slideshow box on the homepage. Can someone help?
Thank you!!
(Extremely noob grinner)
Old Aug-23-2012, 05:48 AM
#675
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by bkwx82 View Post
Hi there! I've been reading and applying the tutorial methods for creating a Nav bar and a few others and I've finding it extremely helpful! Thanks so much!! I need help on another issue. I would like a link on my Nav Bar to my Bio page for an "About Me" section. May I know how I can add this? Is there a link to my bio? And once done, I would like to hide my bio from the home page, and just have my Banner, Nav Bar and Slideshow box on the homepage. Can someone help?
Thank you!!
(Extremely noob grinner)
I see you have an about gallery now. Take a look here, what you have can be formatted to look much better.
http://allen-steve.smugmug.com/gallery/3819841
Holler back with any questions and we can help.

Edit: just need some corrections.
Only the gallery number is used in CSS.

.gallery_24932267_KX5CHs/2042389208_WDFs5KT #albumDescription { ...

Like this
.gallery_24932267 #albumDescription { ...

Fix the html, change the photo link and remove the height and width.
Code:
<div class="myPhoto">
  <img src="/photos/2042389208_WDFs5KT-S.jpg" />
</div>     <!-- closes myPhoto div -->
Change this like this
Code:
.gallery_24932267 .myPhoto {
    float: right;     /* allows the text to flow to the right */
    padding: 0 0 10px 30px;  /* top right bottom left        */
}                            /* spacing of text around photo */
Need to set a text color also see it shows better.

Another thing you might do is use a transparent background.
Code:
.gallery_24932267 #albumDescription { 
    margin-top: 40px;    /* gap from navbar at top */
    background: rgba(253, 252, 188, .20);
    padding: 20px 40px 40px 40px;    /* top right bottom left */
}                                    /* spacing inside box from edges */

Last edited by Allen; Aug-23-2012 at 06:01 AM.
Old Oct-08-2012, 11:01 AM
#676
TimmyDphoto is offline TimmyDphoto
Beginner grinner
2nd Galleries page trouble
I could never create my site without your help! Thanks for all the knowledge.

I have set up my Navbar and secondary galleries page. However when I click on "Galleries" it directs me to Create Gallery. I have toiled for hours and searched the discussion. You input would be greatly appreciated.

I have tried all of the below:
<li><a href="http://timothydunhamphotography.com/galleries">Galleries</a></li>
<li><a href="http://www.timothydunhamphotography.com/galleries">Galleries</a></li>
<li><a href="/galleries">Galleries</a></li>

www.TimothyDunhamPhotography.com

Thank you!
Tim
Old Oct-08-2012, 12:04 PM
#677
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by TimmyDphoto View Post
I could never create my site without your help! Thanks for all the knowledge.

I have set up my Navbar and secondary galleries page. However when I click on "Galleries" it directs me to Create Gallery. I have toiled for hours and searched the discussion. You input would be greatly appreciated.

I have tried all of the below:
<li><a href="http://timothydunhamphotography.com/galleries">Galleries</a></li>
<li><a href="http://www.timothydunhamphotography.com/galleries">Galleries</a></li>
<li><a href="/galleries">Galleries</a></li>

www.TimothyDunhamPhotography.com

Thank you!
Tim
Delete the category Galleries, it is interfering with the galleries page working.
Old Oct-08-2012, 12:24 PM
#678
TimmyDphoto is offline TimmyDphoto
Beginner grinner
Quote:
Originally Posted by Allen View Post
Delete the category Galleries, it is interfering with the galleries page working.
PERFECT! Thank you so much!

I would have never figured that one out.

Tim
Old Oct-11-2012, 11:34 AM
#679
StueveShots is offline StueveShots
Major grins
StueveShots's Avatar
I just worked my way through all of the instructions at the top of this thread and they worked beautifully! Thank you!

I do have a question, however. I have a custom footer that I've been using on my site for a long time. Now that I finally have a great nav bar and my home page is just the slideshow, I'd like that footer to disappear on the home page only. I'd like it to be present on all my other pages. Is that possible? (I do know that the SmugMug footer would remain...but I've made it mini, so that is okay.)

If someone can help, I'd sure appreciate it!
__________________
my site
Old Oct-11-2012, 12:05 PM
#680
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by StueveShots View Post
I just worked my way through all of the instructions at the top of this thread and they worked beautifully! Thank you!

I do have a question, however. I have a custom footer that I've been using on my site for a long time. Now that I finally have a great nav bar and my home page is just the slideshow, I'd like that footer to disappear on the home page only. I'd like it to be present on all my other pages. Is that possible? (I do know that the SmugMug footer would remain...but I've made it mini, so that is okay.)

If someone can help, I'd sure appreciate it!
Add this to your CSS.

.homepage #customFooter {display: none;}
.galleries #customFooter {display: block;}
Page 34  of  35
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Navbar that shows which link is the current page jfriend SmugMug Customization 485 May-02-2013 09:19 PM
created custom navbar, now share/style buttons are messed up yossarian123 SmugMug Customization 1 Jan-26-2010 10:40 AM
Adding Custom Navbar rmbrar SmugMug Customization 2 Dec-20-2009 03:15 AM
Custom Navbar countrifiedphotography SmugMug Customization 5 Feb-26-2009 06:08 AM
"Gallery" in Custom Navbar Points Back to Homepage nicegrizz SmugMug Support 2 Oct-20-2008 06:53 PM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump