Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18727

    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?

    #100629

    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,

    Ismael

    #100630

    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.

    #100631

    Hi David,

    Sorry I didn’t notice that you used a child theme for that. Anyway, Glad we could help. :)

    Cheers,

    Ismael

    #100632

    That’s OK; I didn’t say! Thanks for your help.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Reduce height of sub menu items’ is closed to new replies.