Mobile menu and submenu

hi
please.
I need to change a font of mobile menu.
separate css
menu e submenu.
is possible Close a submenu is always open
tnks.
www.restaurolandiacg.it

Hi,

You can change the mobile menu font with this Custom CSS:

#mainnav-mobi ul li a {
    font-family: "your-font-family" !important;
}

Please let me know what do you mean by “close a submenu always open”.

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also add the CSS to wp-admin -> Appearance -> Customizer -> Additional CSS so you won’t loose the changes after Theme or WordPress updates.

Please let me know how it works.

Kind Regards,
Csaba

hi
https://restaurolandia.netsons.org
sorry mobile font size.
two type:
1 menu font
2 submenu font.
close the submenu like Sidney or Astrid.

Hi,

You can change the menu font-size on mobile with this Custom CSS:

@media only screen and (max-width: 991px) {
.main-navigation a {
    float: none;
    font-size: 16px !important;
}
}

Please let me know how it works.

Unfortunately you can’t have the same sub-menu effect like Sydney for Moesia, to implement that it may require more custom coding, then what we can offer as support.

Kind Regards,
Csaba

i put this
@media only screen and (min-width: 991px) {
.main-navigation a {
float: none!important;
font-size: 14px !important;
}
}
there is much space between menu and logo
logo on the left and menu on the left.
https://monosnap.com/file/zrzBHHbeLk5SIVQvFYRObDRCLIZFhr#

Hi,

Ok, so it works how you would like it to be or you’re still having issues with the menu font-size?

Kind Regards,
Csaba

there is much space between menu and logo
logo on the left and menu on the left.

Hi,

You can have less space between menu on the left and logo with this Custom CSS:

@media (min-width: 992px) {
.site-branding.col-md-4 {
    width: 15% !important;
}

.main-navigation.col-md-8 {
    width: 85% !important;
}
}

.main-navigation ul {
float: left !important;
}

Please let me know how it works.

Kind Regards,
Csaba