Home button stays active

Permalink
I have this odd problem that with some sites I build the Home Button in the menu stays active when another page is showing. Example here:http://www.pura-vida-interior.com/main/... and also with this site:http://www.pnp.me/

Does anybody know the problem, did I make a mistake, or is it something else?

I would like that only the page showing is active in the menu.

Pieter

3CGroup
 
tallacman replied on at Permalink Reply
tallacman
Heres the problem in two parts.

In your main.css find this:
#nav ul li a:hover, #nav ul li.nav-selected a, #nav ul li.nav-path-selected a, #nav ul li:hover a {
   background:url(http://www.pura-vida-interior.com/main/themes/featurist/images/bg-opacity-35.png);


and change to this:

#nav ul li a:hover, #nav ul li.nav-selected a, #nav ul li:hover a {
   background:url(http://www.pura-vida-interior.com/main/themes/featurist/images/bg-opacity-35.png);


and in your blue-green.css change this

#nav ul li a:hover, #nav ul li.nav-selected a, #nav ul li.nav-path-selected a, #nav ul li:hover a {
   box-shadow:1px 1px 2px #6caa41;
   -moz-box-shadow:1px 1px 2px #2a4317 inset, 1px 1px 2px #6caa41;
   -webkit-box-shadow:1px 1px 2px #6caa41;



to this:


#nav ul li a:hover, #nav ul li.nav-selected a, #nav ul li:hover a {
   box-shadow:1px 1px 2px #6caa41;
   -moz-box-shadow:1px 1px 2px #2a4317 inset, 1px 1px 2px #6caa41;
   -webkit-box-shadow:1px 1px 2px #6caa41;



steve
jordanlev replied on at Permalink Reply
jordanlev
This is due to a bug in concrete5.

If you're using the default template, you can fix it like this:
http://www.concrete5.org/community/forums/customizing_c5/autonav-pr...

If you're using the "header nav" template, you can fix it like this:
http://www.concrete5.org/community/forums/usage/selected_navigation...