Change the font size only in the submenu

Hi, I have a question how to change the font size only in the submenu? and how to change the type of hover it looked like in the main menu (only the font is hover). My page is aktiv-med.pl
Kasia

Hello Kasia,

Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    @media only screen and (min-width: 1025px) {
      #mainnav ul li ul {
        width: 200px;
      }
      #mainnav .sub-menu li a {
        font-size: 16px;
      }
    }

Regards,
Kharis

Thank you Karis ,
One more last question how to change the font size to a smaller one but only for mobil?

You’re welcome!

Try this code:

    @media only screen and (max-width: 1024px) {
      #mainnav-mobi ul > li a {
        font-size: 16px;
      }
    }

Regards,
Kharis