Hi all!
Got some problems with rowCLass and hereClass. Is it not possible to use both?
I use: [[Wayfinder? &startId=`0` &rowClass=`nav` &hereClass=`active`]]
and get:
<ul><li class="nav active"><a href="" title="" ></a></li>
<li class="nav"><a href="" title="" ></a></li>
<li class="nav"><a href="" title="" ></a></li>
<li class="nav"><a href="" title="" ></a></li>
<li class="nav"><a href="" title="" ></a></li>
<li class="nav"><a href="" title="" ></a></li>
</ul>
How can i solve it?
//Ananassa
the rowClass will be assigned to every row, and the hereClass will be assigned to the current page. so you would just need to override any css definitions in the rowClass with your hereClass definitions.
The other way to get around this would be to make a new template for the here item.
-
☆ A M B ☆
- 24,524 Posts
That just means that that element has two classnames, since it’s both a row element and the active row, it’s easy to override the one with the other, just add more detailed identification to the CSS:
ul li.active { blah: blah; }
in your css if you have the following:
li.nav {
some css
}
li.active {
some css
}
the page will overwrite the declarations in the nav class with the active class for the li with class="nav active"