View Full Version : lost part of my navbar html - help please
rachael_ritchie
Apr-13-2009, 07:35 AM
I added a new header to my site, but messed up my nav bar during the process. I'm sure I just erased something I shouldn't have. If anyone could take a look and let me know what that was, it would be greatly appreciated!
:lust
Thank you,
Rachael Ritchie
http://www.rachaelritchiephotography.com
rachael_ritchie
Apr-13-2009, 11:31 AM
If someone could just take a quick look at my site, I'm sure the fix would be some little line that I am missing. I'm in a bit of a hurry because I can see that my customers are looking at my site through statcounter, and I hate to have them see my site all messed up like this.
Thank you,
Rachael
http://www.rachaelritchiephotography.com
J Allen
Apr-13-2009, 11:37 AM
Change your Custom header box to this:
<div id="secret">
<a href="javascript:void(0)" onclick="window.location='https://secure.smugmug.com/login.mg?goTo='+window.location.href">.</a>
</div>
<div id="my_banner"> </div>
<div id="navcontainer">
<ul>
<li><a href="http://rachaelritchiephotography.blogspot.com/" title="My Blog">My Blog</a></li>
<li><a href="http://www.rachaelritchiephotography.com/gallery/7264974_8SLKf" title="Contact Me">Contact Me</a></li>
<li><a href="http://www.rachaelritchiephotography.com/Clients" title="Clients">Clients</a></li>
<li><a href="http://www.rachaelritchiephotography.com/Packages%20and%20Pricing" title="Packages & Pricing">Packages & Pricing</a></li>
<li><a href="http://www.rachaelritchiephotography.com/portfolio" title="Portfolio">Portfolio</a></li>
<li><a href="http://www.rachaelritchiephotography.com" title="Rachael Ritchie Photography">Home</a></li>
</ul>
</div>
<!-- End Navbar Code -->
Add this to your CSS:
/*=====Nav-Bar=====*/
#navcontainer ul
{margin: 0;
padding: 0;
list-style-type: none;
text-align: center;}
#navcontainer ul li
{display: inline;}
#navcontainer ul li a
{text-decoration: none;
padding: .2em 1em;
color: #006699;
background-color: none;}
#navcontainer ul li a:hover
{color: #FFFFFF;
background-color: none;}
denisegoldberg
Apr-13-2009, 01:10 PM
I'd highly recommend that once you apply J Allen's fix to your site that you create a backup of all of your customizations. Copy it from each box on your site-wide customization screen and save it somewhere - on your computer, or wherever you back up your data. That way if you make an error like this again you can easily recover by going back to a version of your customizations that work.
--- Denise
rachael_ritchie
Apr-13-2009, 01:15 PM
Thank you very much! I don't know how I messed up that much of it! I definitely will save everything I have now!:clap
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.