Thanks for your help Dimmy. I feel I am close, but the active still doesn’t work. Here is my code:
The Call:
[!Wayfinder?&startId=`0` &level=`1` &sortOrder=`DESC` &excludeDocs=`40,38,69` &rowTpl=`nav_rowtpl`!]
The rowtpl chunk (nav_rowtpl):
<li><a class="nav[+wf.docid+]" [+wf.classes+] href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]> [+wf.linktext+]</a></li>
The CSS:
#nav ul li a.nav2 {
background-image: url("../images/home-blue.jpg");
background-repeat: no-repeat;
text-decoration:none;
font-size:0;
}
#nav ul li a:hover.nav2 {
background-image: url("../images/home-red.jpg");
background-repeat: no-repeat;
}
#nav ul li a.nav2.active {
background-image: url("../images/home-red.jpg");
background-repeat: no-repeat;
text-decoration:none;
font-size:0;
}
And the HTML that results from all this (please excuse the Hebrew and the funky formatting caused by it, but you should be able to understand what is going on here besides that):
<div id="nav">
<ul><li><a class="nav68" href="/contact" title="צור קשר" > צור קשר</a></li>
<li><a class="nav72" href="/gallery" title="גלריה - תמונות יוגה" > גלריה</a></li>
<li><a class="nav13" href="/articles" title="רשימת מאמרים" > מאמרים</a></li>
<li><a class="nav32" href="/timetable" title="מערכת שעות" > מערכת שעות</a></li>
<li><a class="nav33" class="active" href="/about" title="אודות המרכז" > המרכז ליוגה</a></li>
<li><a class="nav2" class="last" href="http://yoga-center/" title="יוגה במסורת איינגאר - תל אביב" > הבית</a></li>
</ul>
</div>
The end result of this, if I did it correctly, would be that this would be displayed on the active item:
background-image: url("../images/home-red.jpg");
But I still see this:
background-image: url("../images/home-blue.jpg");
Can you see where I may have gone wrong?