Change sub-menu font size
-
Hi!
I started to customize the theme for a friend, and the sub-menus are relatively small. I could just increase the size of the sub-menus?
Thanks in Advanced! (and sorry for my bad english. I’m from Brazil).
-
Hello! I succeded here by changing the css file from /lib/scripts / superfish-menu/ Sorry for posting.
Could you tell me where the edit needs to be made? I am looking to edit the breadcrumbs as well…
Thanks!
The file is superfish.css in paste /wp-content/themes/mesocolumn/lib/scripts/superfish-menu/css/superfish.css
The properties is “top-navigation .sf-menu a”, in “font-size”. Example:
–> font-size: 1.35em;
You don’t have to edit in the superfish.css – you could just paste into your child theme (or custom css) the following:
#top-navigation .sub-menu li { font-size: 1.3em !important; }just change 1.3 to whatever you want.
Doing it in the child theme is better because your changes won’t get overwritten
Thank you!
@miko – For some reason it doesn’t take…is there another way to do this?
I was able to resolve this issue by changing “top” to “main”and using:
#main-navigation .sub-menu li {
font-size: 1.3em !important;
}Thank you!
This worked for me
.sf-menu ul li a {
font-size: 1.2em !important;
}
The topic ‘Change sub-menu font size’ is closed to new replies.
