I have quite a deep menu structure, and it's not displaying well on smaller screens. I've been hunting through the css trying to find how to cleanly reduce the height of the sub-menu items, but haven't found the right code, can anyone help?
Reduce height of sub menu items
5 posts from 2 voices-
Posted 5 months ago #
-
Hi dngood,
Try to add this code on Quick CSS (Flashlight > Styling) or the custom.css file (located in the css folder of your theme's folder):
ul.sub-menu li a { padding: 0 !important; }Hope this helps. :)
Regards,
IsmaelPosted 5 months ago # -
Thanks that worked great, although FYI, adding it to the Quick CSS area didn't work, but changing adding it to my child themes' style.css file did,
Thanks again,
David.
Posted 5 months ago # -
Hi David,
Sorry I didn't notice that you used a child theme for that. Anyway, Glad we could help. :)
Cheers,
IsmaelPosted 5 months ago # -
That's OK; I didn't say! Thanks for your help.
Posted 5 months ago #
Topic Closed
This topic has been closed to new replies.














