Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Suckerfish menu problem - menu always open on parent page

    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/coa...ne-mortar.html

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

    Help!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Code:
    #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
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Press Ctrl+F5 to clear the cache and check again.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    odd solution - zindex

    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;
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •