Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Page class? (http://forum.bytesforall.com/showthread.php?t=8009)

twb716 Jul 8, 2010 08:59 AM

Page class?
 
I am including a DHTML menu in my header that points to my different pages. There is a class="active" bit of code that I would like to include in each individual page, so that the menu highlight for that page notifies the user of what page they are on. Here is the entire menu code:

<ul class="menu">
<li><a href="../home" class="active"><span>Home</span></a></li>
<li><a href="../bio"><span>Bio</span></a></li>
<li><a href="../testamonials"><span>Testamonials</span></a></li>
<li><a href="../news"><span>News</span></a></li>
</ul>

As you can see, in this example, the "home" page would be active. Is there a way in Atahualpa to set this class="active" to each page, so that the menu would show the user what page they are on? How? Thanks in advance for any information. Long live Atahualpa!

TB


All times are GMT -6. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.