Page 1 of 1

Menu issue, pls help!

Posted: Mon Nov 16, 2009 1:03 pm
by northman
hi,

I have a menu with white tekst and when i hover it it changes to green. What i would like to see is that when i click on a menu item (for example home) that the items stays green.

hope somebody can help me

my code:

Code: Select all

{if $count > 0}
{foreach from=$nodelist item=node}<a class="menu_stijl" href="{$node->url}" 
{if $node->target ne ""} target="{$node->target}"{/if}
>{$node->menutext}</a>
{if $count > ($node->index+1)}  
{/if}
{/foreach}
{/if}

my css:

Code: Select all

.menu_stijl{
	margin-left: 30px;
	font-size: 16px;
	color: #ffffff;
	text-decoration: none;
	font-weight: normal;
	font-family: Arial, Verdana;
}

.menu_stijl:hover{
	margin-left: 30px;
	font-size: 16px;
	color: #b6d53e;
	text-decoration: none;
	font-weight: normal;
	font-family: Arial, Verdana;
}

.menu_stijl-actief{
	margin-left: 30px;
	font-size: 16px;
	color: #b6d53e;
	text-decoration: none;
	font-weight: normal;
	font-family: Arial, Verdana;
}

Re: Menu issue, pls help!

Posted: Mon Nov 16, 2009 1:23 pm
by jmcgin51
this is a basic CSS/styling issue, not an issue for the dev team, and belongs in the Layout & Design forum.

Re: Menu issue, pls help!

Posted: Mon Nov 16, 2009 3:34 pm
by northman
ok i wil put it there thnx

Re: Menu issue, pls help!

Posted: Thu Nov 19, 2009 3:42 pm
by Dr.CSS
Your menu template has nothing in it to indicate an active page so no amount of CSS etc. is going to help, try using a default menu template and you will see all kinds of ways it marks active pages...