Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WriteAdvice.info
#5
Garrett,

If you do a viewsource on that site, you see the nav looks like this:
Code:
<ul id="nav">
     <li class="current index" ><a href="http://www.writeadvice.info/" title="WriteAdvice">Home</a></li>
     <li class="about" ><a href="http://www.writeadvice.info/about" title="About Emily">About</a></li>
     <li class="copywriting" ><a href="http://www.writeadvice.info/copywriting" title="Copywriting">Copywriting</a></li>
     <li class="resumes" ><a href="http://www.writeadvice.info/resumes" title="Resumes">Resumes</a></li>
     <li class="information" ><a href="http://www.writeadvice.info/information" title="Information">Information</a></li>
</ul>

You can tell that this source was taken from the index page because the LI element has a class of "current". So all you need to do is add this type of code to your CSS file, and it should automatically highlight it:

Code:
#nav li.current a {
    color:#fff;
    background:#000;
}
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
WriteAdvice.info - by ccagle8 - 2009-08-23, 11:52:13
WriteAdvice.info - by pixelita - 2009-08-23, 11:56:43
WriteAdvice.info - by ccagle8 - 2009-08-23, 12:19:08
WriteAdvice.info - by g.net - 2009-08-23, 22:55:00
WriteAdvice.info - by ccagle8 - 2009-08-25, 06:22:43



Users browsing this thread: 1 Guest(s)