...

View Full Version : Suckerfish menu problem - menu always open on parent page



SleeperInt
06-27-2012, 04:32 PM
When a page is the link from a parent menu item, the resulting page has the menu always open. I have no idea why, and it is driving me nuts! So simple to understand, but so hard to fix!

Good:
http://www.btcoatingservices.com/coatings/urethane-mortar.html

Bad:
http://www.btcoatingservices.com/industries.html
http://www.btcoatingservices.com/coatings.html

Help!

abduraooft
06-27-2012, 04:43 PM
#nav ul.menu .current ul,
#nav ul.menu ul li:hover ul,
#nav ul.menu ul li.sfHover ul {
left: 0;
top: 40px;
/* match top ul list item height */
} Have a try after removing the highlighted portion

SleeperInt
06-27-2012, 05:17 PM
Nice idea, but that didn't do it. I commented it out, but no luck.

/* attempted removal of parent-page always-on menu */
/*#nav ul.menu .current ul,*/
#nav ul.menu ul li:hover ul,
#nav ul.menu ul li.sfHover ul {
left: 0;
top: 40px;
/* match top ul list item height */
}

still showing: http://www.btcoatingservices.com/industries.html

abduraooft
06-27-2012, 05:21 PM
Press Ctrl+F5 to clear the cache and check again.

SleeperInt
06-27-2012, 05:24 PM
There was a z-index in order to keep the menu above the page text, because it was showing underneath.

I simply moved it from one place to another.

Bad:
#nav .menu ul {
position: absolute;
top: -999em;
width: 10em;
/* left offset of submenus need to match (see below) */
z-index: 99;
}

Good:
#nav .menu li.sfHover ul {
left: 0;
top: 40px;
/* match top ul list item height */
z-index: 99;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum