PDA

View Full Version : Adding SmugSearch to custom nav bar - help!


AlexWild
Jun-28-2009, 08:17 PM
Hello Dgrinners.

Years ago, when I set up a customized smugmug site, I made up a custom nav bar with help from people who know a great deal more than I do about web design. The bar had search function. It was crappy. So I recently deleted it.

However, I quite like SmugSearch- it seems far better at returning what I want than the old search- and I would like to add that in where the old search box was. And I can get the smugsearch box to insert just below my nav bar. But I can't get it to go where I want it to go, which is on the same line and just to the right of my blog link.

My site is: http://www.alexanderwild.com/ (http://www.alexanderwild.com) (or alexwild.smugmug.com); and the nav bar code is:
<div id="navbar"> <font face="Georgia", "Times Roman", serif; size=3px>
<ul>
<li><a href="http://www.alexanderwild.com">Home</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1455522">Portfolio</a></li>
<li><a href="http://www.alexanderwild.com/insects">Galleries</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1455173">Services</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1454574">Licensing</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1448559">About</a></li>
<li><a href="http://myrmecos.wordpress.com">Blog</a></li>
</ul></font>
</div>

If I add the Smugsearch code as an <li> item, it does not insert next to the other buttons but centered on the line below.

Any help would be greatly appreciated.

Thanks,

Alex

Allen
Jun-28-2009, 09:29 PM
Hello Dgrinners.

Years ago, when I set up a customized smugmug site, I made up a custom nav bar with help from people who know a great deal more than I do about web design. The bar had search function. It was crappy. So I recently deleted it.

However, I quite like SmugSearch- it seems far better at returning what I want than the old search- and I would like to add that in where the old search box was. And I can get the smugsearch box to insert just below my nav bar. But I can't get it to go where I want it to go, which is on the same line and just to the right of my blog link.

My site is: http://www.alexanderwild.com/ (http://www.alexanderwild.com) (or alexwild.smugmug.com); and the nav bar code is:<div id="navbar"> <font face="Georgia", "Times Roman", serif; size=3px>
<ul>
<li><a href="http://www.alexanderwild.com">Home</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1455522">Portfolio</a></li>
<li><a href="http://www.alexanderwild.com/insects">Galleries</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1455173">Services</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1454574">Licensing</a></li>
<li><a href="http://www.alexanderwild.com/gallery/1448559">About</a></li>
<li><a href="http://myrmecos.wordpress.com">Blog</a></li>
</ul></font>
</div>

If I add the Smugsearch code as an <li> item, it does not insert next to the other buttons but centered on the line below.

Any help would be greatly appreciated.

Thanks,

Alex
Add it in and we'll look to see how to position it.

...
<li><a href="http://myrmecos.wordpress.com">Blog</a></li>
<li>SMUGSEARCH</li>
</ul></font>
</div>

AlexWild
Jun-28-2009, 09:39 PM
Add it in and we'll look to see how to position it.

...
<li><a href="http://myrmecos.wordpress.com">Blog</a></li>
<li>SMUGSEARCH</li>
</ul></font>
</div>

Well, that worked a treat! I don't what what I was doing before that was causing it to go catastrophically wrong.

Thanks Allen!