This project is read-only.

Main nave classes and IDs...bug?

Topics: Themes
Feb 6, 2010 at 4:56 AM
We're using the nonzero template with our blog.

Looking at the main navigation and the CSS files, it appears that the active 'tab/LI' is indicated with an ID of 'current' and the active 'link/A' is indicated with a class of 'current'

However, going from tab to tab, only the ID is moving to the appropriate item. The 'active' is stuck on the first link.

Is this a bug? Normal? Maybe related to the template/theme?

<li id=""><a href="http://---" class="active">Home</a></li>
<li id=""><a href="http://---">Archive</a></li>
<li id="current"><a href="http://---">Contact Me</a></li>
<li id=""><a id="ctl00_LoginStatus1" href="javascript:__doPostBack('ctl00$LoginStatus1$ctl00','')">Sign out</a></li>
<li><a href="http://---">Subscribe</a></li>

Feb 6, 2010 at 8:30 AM

The 'current' and 'active' is probably being assigned either in the site.master or site.master.cs files of that theme.  The theme files are in the themes\THEME-NAME folder.  In this case, that folder name is probably themes\NonZero.

I've not used that template, but yes, this is definitely a theme specific issue.  It shouldn't be too hard to resolve.  If you have a link to where the theme can be downloaded from, myself or someone else can take a look at it -- in case you need any assistance.