Can't modify the "current" class in my top menu
Posted: Thu May 01, 2008 7:42 pm
Guys, something is strange happening here, or im a noob, but i would like to know and remember for the futher problems those things:
1) Why does my is UNCLICKABLE
2) Why it's black AND i can't change any style to it. I need to make the font-size smaller.
CSS:
Template MenuMaker: (for current menu item only)
Link: http://test2.c14.co.il/trip-information/
1) Why does my is UNCLICKABLE
2) Why it's black AND i can't change any style to it. I need to make the font-size smaller.
CSS:
Code: Select all
.top_menu ul li a {
font-family: Tahoma;
font-size: 13px;
color: #2b8d8e;
display:block;
font-weight: normal;
text-decoration: none;
zoom:1;
}
.top_menu ul li.current a{
color: #173d28;
font-size: 20px;
}
Code: Select all
{if $node->current == true}
<li><a href="{$node->url}" class="current" {if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </a>