Highlight current page in menu.
This tutorial is really easy, but yet effective. Here's how to highlight current page in menu. Example where "Tutorials" is highlighted :
1 We will start by adding a little code into our Css(this is how I built mine) :
2 Change the css code you just added to your own preferences before continuing. Now we're going to add the links.
3 Here's the code you'll be using :
4 The id="homenav" refers back to "a#homenav" in the css. We will keep on doing this for every single link. Here's my final code for the links :
5 Now the final and remaining part. This is the part were everthings start working. You'll have to add this to every single page on your site or at least were you want your links to be highlighted. Let's take my "home" link as an example again :
6 id="home" refers back to body#home. You'll have to add this to every single page which comes under "home" in your menu. When your moving over to for example "Tutorials" I would have been had to change my code to :
7 Now your basically done ! Have fun with your new look. I hope this helped you out some how.