Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1172155
    bigdreams
    Participant

    Hello,

    the website we work on is http://qualitymovement.at/qualitymovement-at/

    In our Navbar we have a sub menu below “Team”.

    i already customize it a little bit how i love to have it, but i didn’t find out how to make the sub menu smaller. I would like to have is just as Width as the sub menu is.

    Submenu should be simple below the point and not shifted anyway

    thank you!

    #1172481
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .masthead-inline .x-navbar .desktop .sub-menu {left: -40px;}
    
    .x-navbar .desktop .sub-menu a {
        text-align: center;
    }

    Thanks.

    #1175570
    bigdreams
    Participant

    thanks great!

    is it also possible to make the sub menu smaller.

    left and right white panel should be just as width as the menu over it.

    its to width.

    #1176030
    Rupok
    Member

    Hi there,

    Thanks for writing back. Let’s add this :

    .x-navbar .desktop .sub-menu {
      margin: 0 auto;
      min-width: auto;
      width: auto;
    }

    And remove this :

    .masthead-inline .x-navbar .desktop .sub-menu {
      left: -40px;
    }

    Hope this helps.

    #1181992
    bigdreams
    Participant

    thank you very much!

    #1182101
    Rahul
    Moderator

    Hey There,

    Happy to help!

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1172155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>