Tagged: x
-
AuthorPosts
-
August 11, 2016 at 8:30 am #1127168
Artur667ParticipantHi.
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
August 11, 2016 at 10:51 am #1127358
RupokMemberHi 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.
August 12, 2016 at 1:01 am #1128363
Artur667ParticipantThanks! Works fine but, it generated one issue with the phone version. Can we make toggles full width on the mobile?
August 12, 2016 at 2:53 am #1128459
RupokMemberHi 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!
August 12, 2016 at 3:15 am #1128475
Artur667ParticipantPerfect! Could you also tell me how to control the color of those lines/dividers? Please see attachment.
August 12, 2016 at 7:18 am #1128658
JoaoModeratorHi 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
August 16, 2016 at 10:21 am #1133665
Artur667ParticipantJust 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 :/
August 16, 2016 at 12:34 pm #1133900
RupokMemberHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1127168 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
