CSS class for sub menu
-
I’m using custom menu wizard on my website http://www.astburymowers.co.uk. Having done alot of reading on these support pages the only method of modifying the CSS I could figure out was to add the following to my child theme custom CSS:
.widget_custom_menu_wizard li, .widget_custom_menu_wizard li:after { font-size: 11pt !important; padding: 10px !important; } .widget_custom_menu_wizard.sub-menu li { font-size: 8pt !important; }The first piece of code works ok. Using Firebug I’ve identified “sub-menu” as a class within the “widget_custom_menu_wizard” class if I’m correct? (Correct me if I’m wrong – CSS beginner). “Sub Menu” class is assigned to the child pages.
Basically I want the sub menu to format differently from the root menu. I’ve added some code to the CSS for this (see code snippet above) but this does nothing.
I appreciate your help in advance. I’m learning slowly, but its taking me hours!
Excellent plugin.
Thanks again.
The topic ‘CSS class for sub menu’ is closed to new replies.