[Resolved] Menu dropdown shakes around and then gets small before you can click on it.

Home Forums Support [Resolved] Menu dropdown shakes around and then gets small before you can click on it.

Home Forums Support Menu dropdown shakes around and then gets small before you can click on it.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2364327
    Alan

    Hello!

    I just added some dropdowns to my menus and they shake all over the place when you try to click on them. How do I fix this?

    #2364653
    Fernando
    Customer Support

    Hi Alan,

    You’ll need to remove this line in your Additional CSS:

    padding: 0px;

    from:

    .main-navigation .main-nav ul li a:hover{
    	color: #fff;
    	background-color: #00a0dd;
    	padding: 0px;
    	border-radius: 200px;
    	border-style: solid;
    	border-width: 2px;
    	border-color: #00a0dd;
    }

    It’s making the button smaller, causing the issue.

    #2364991
    Alan

    Thank you so much for your help with this! It is also changing size on Mobile. Is there some code I need to remove for that?

    #2365097
    Alan

    I just applied the change and it fixed it for mobile, so we are all set!! Thank you again for your help, Fernando! You are amazing!!

    #2365100
    David
    Staff
    Customer Support

    Hi there,

    might be worth taking a step back.
    Remove this CSS:

    /*Main Nav Buttons*/
    .main-navigation .main-nav ul li a{
        padding: 0px;
        border-radius: 200px;
          border-style: solid;
          border-width: 2px;
          border-color: #00a0dd;
      }
      
      .main-navigation .main-nav ul li a:hover{
          color: #fff;
          background-color: #00a0dd;
          padding: 0px;
        border-radius: 200px;
          border-style: solid;
          border-width: 2px;
          border-color: #00a0dd;
      }
      
      .main-navigation .main-nav ul li.current-menu-item:hover > a,
      .main-navigation .main-nav ul ul li.current-menu-item:hover > a {
        border: none;
        color: #fff;
          background-color: #00a0dd;
          padding: 0px;
        border-radius: 200px;
          border-style: solid;
          border-width: 2px;
          border-color: #00a0dd;
      }
      
      .main-navigation .main-nav ul li{
        padding: 10px;
          min-width: 200px;
          text-align: center; 
      }

    and try adding this:

    
    #site-navigation .main-nav ul li a{
        border-radius: 100px;
        border-style: solid;
        border-width: 2px;
        border-color: #00a0dd;
        margin: 5px;
        text-align: center;    
    }
    #site-navigation .main-nav ul ul li a {
        padding: 12px;
    }
    #site-navigation .main-nav ul li:hover > a {
        color: #fff;
        background-color: #00a0dd;
    }
    #2365222
    Alan

    Thank you so much, David! I really appreciate your help with this!

    #2365366
    David
    Staff
    Customer Support

    Sorry i missed your previous reply … glad to hear you got it working !!

    #2365389
    Alan

    Thank you, David!!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.