Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1127168
    Artur667
    Participant

    Hi.

    I have set some menu and I need two instructions:

    1. I need to increase tab toggles left and right paddings – I want them wider.
    2. Where can I decrease submenu and only submenu font size and change horizontal and vertical spacing?

    Now it looks like this: https://www.dropbox.com/s/2i3exf9nb9n44e1/2016-08-11%2015_24_40-Klinika%20_%20Tazbir.png?dl=0

    Url: http://dev.klinikatazbir.pl/

    #1127358
    Rupok
    Member

    Hi there,

    Thanks for writing in!

    #1. You can add this under Custom > CSS in the Customizer.

    .ubermenu .ubermenu-submenu .ubermenu-column-auto.ubermenu-tab {
      min-width: 130px;
      text-align: center;
      width: auto;
    }

    #2. Let’s add this as well :

    .ubermenu .ubermenu-submenu-type-stack > .ubermenu-item-normal > .ubermenu-target {
      font-size: 13px;
      min-width: 130px;
    }

    You can add you own CSS to them if needed.

    Hope this helps.

    #1128363
    Artur667
    Participant

    Thanks! Works fine but, it generated one issue with the phone version. Can we make toggles full width on the mobile?

    #1128459
    Rupok
    Member

    Hi there,

    Thanks for writing back. In that case you can update the code a bit :

    @media only screen and (min-width: 980px) {
    .ubermenu .ubermenu-submenu .ubermenu-column-auto.ubermenu-tab {
      min-width: 180px;
      text-align: center;
      width: auto;
    }
    .ubermenu .ubermenu-submenu-type-stack > .ubermenu-item-normal > .ubermenu-target {
      font-size: 13px;
      min-width: 130px;
    }
    }
    

    Hope this won’t interfere with mobile menu.

    Cheers!

    #1128475
    Artur667
    Participant

    Perfect! Could you also tell me how to control the color of those lines/dividers? Please see attachment.

    #1128658
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    .ubermenu .ubermenu-tab-layout-top>.ubermenu-tabs-group>.ubermenu-tab>.ubermenu-tab-content-panel {
        border-color: blue !important;
    }
    

    Change blue for the desired color.

    Hope it helps

    Joao

    #1133665
    Artur667
    Participant

    Just one more question about this specific menu – I’m looking for the CSS rule to control the size of the submenu elements:

    https://www.dropbox.com/s/2xnwio8i514z7yx/Untitled-2.png?dl=0 (I mean all of them, i marked three only for example), I managed to pull

    .ubermenu-target-title .ubermenu-target-text

    but it changes both submenu item size AND top level items :/

    #1133900
    Rupok
    Member

    Hi there,

    You can use the following selector to control them :

    .ubermenu-submenu > li.ubermenu-item-level-2 > .ubermenu-target.ubermenu-item-layout-text_only {
      font-size: 16px;
    }

    Hope this helps.

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