Working on my menu and it's not recognizing the class, or not loading the class and I'm trying to figure it out.
My template for instance is named about and I have the link the header.html listed as
However, the first part where it links the cms:link shows up. The if statement doesn't recognize though.
My CSS is stated as:
Any idea? Is it the CMS not loading the if statement? I've tried everything css wise. Nothing is happening. Thanks!
My template for instance is named about and I have the link the header.html listed as
- Code: Select all
<li><a href="<cms:link 'index.php' />" <cms:if k_template_name=='About'>class="current"</cms:if> >Home</a></li>
However, the first part where it links the cms:link shows up. The if statement doesn't recognize though.
My CSS is stated as:
- Code: Select all
ul#menu1 li a.current{
color: red;
font-weight:bold;
}
Any idea? Is it the CMS not loading the if statement? I've tried everything css wise. Nothing is happening. Thanks!