Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Page class?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jul 8, 2010, 09:59 AM
twb716
 
33 posts · Jun 2010
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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't figure out how to add code to display in <div class="opacityright"> schabadoo Header configuration & styling 3 May 24, 2010 06:40 AM
Catchable fatal error: Object of class stdClass could not be converted to string in / mathmojo Atahualpa 3 Wordpress theme 7 May 16, 2010 11:45 PM
Need to call <li class= "current-cat-parent"> for single posts b1tzmast3r Page & Category Menu Bars 5 Jan 25, 2010 03:48 PM
a.js is adding 'alt' class to table rows billy2 Plugins & Atahualpa 2 Aug 16, 2009 04:17 AM
Catchable fatal error: Object of class stdClass could not be converted to string !? neocratus Atahualpa 3 Wordpress theme 11 Dec 13, 2008 07:47 PM


All times are GMT -6. The time now is 09:56 PM.


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