Jump to content

sub-menu appear twice on hover!


Recommended Posts

Remove/ Commented out (Like i did ) following position:relative from superfish css file
 
 
.sf-menu li:hover {
  visibility: inherit;
  /* fixes IE7 'sticky bug' */ 
 /*position: relative;*/
  }

do clear cache or remove cache/smarty folder.

happy prestas

  • Like 1
Link to comment
Share on other sites

 

Remove/ Commented out (Like i did ) following position:relative from superfish css file
 
 
.sf-menu li:hover {
  visibility: inherit;
  /* fixes IE7 'sticky bug' */ 
 /*position: relative;*/
  }

do clear cache or remove cache/smarty folder.

happy prestas

 

Thank you very much.

it's fix, but now all the Sub-menu appear from left! and not dependent to active menu button. 

could you help to to fix this as well?

Link to comment
Share on other sites

 

 

.sf-menu > li > ul {
    padding: 26px 30px 31px;
    width: 300px;
    /* position: relative; */
    margin-left: 60px; //add this
}

.sf-menu > li > ul {
    padding: 26px 30px 31px;
    width: 300px;
    /* position: relative; */
   /*margin-left: 60px; */  //remove this
}

So, How can I fix sub-menu position? I need to be appear on active menu button.

Link to comment
Share on other sites

do the following

.sf-menu > li > ul {
    padding: 26px 30px 31px;
    width: 300px;
    position: relative;  // add this
}

.sf-menu li ul {
    display: none;
    left: 0;
    top: 4px;  /// change 42px to 4 px
    z-index: 99;

}

.sf-menu > li {
    float: left;
    border-right: 1px solid #d6d4d4;
    margin-bottom: -3px;
    width: 116px;  //add this
    height: 35px;  // add this
}
  • Like 1
Link to comment
Share on other sites

 

do the following

.sf-menu > li > ul {
    padding: 26px 30px 31px;
    width: 300px;
    position: relative;  // add this
}

.sf-menu li ul {
    display: none;
    left: 0;
    top: 4px;  /// change 42px to 4 px
    z-index: 99;

}

.sf-menu > li {
    float: left;
    border-right: 1px solid #d6d4d4;
    margin-bottom: -3px;
    width: 116px;  //add this
    height: 35px;  // add this
}

menu fixed, thank you, but new trouble comes out, have look please

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...