[Resolved] line-height sidebar menu

Home Forums Support line-height sidebar menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1191733
    Kévin

    Hello,

    I’m trying to change the line-height of my sidebar sub-menu. I succeed to change it, but the lines who is to long are written on themselves. Maybe, i did wrong on CSS code.

    Do you know how to fix it ?

    Thank you.

    Kévin Didot

    #1191748
    David
    Staff
    Customer Support

    Hi there,

    its because of this CSS:

    #menu-menu li li a {
        line-height: 1px !important;
    }

    Change the line-height to a greater value or at least 1em to solve the problem

    #1191761
    Kévin

    Hey David,

    Thank’s ! Yeah it’s better.
    In fact, I try to bring closer the sub-menu’s items

    Trodat Professional
    Trodat Printy
    Tampons Trodat prédéfinis (formules de bureau et comptabilité)
    Tampons bois
    Trodat Classic
    Tampons spéciaux

    I don’t know how to.

    #1191765
    David
    Staff
    Customer Support

    You can adjust the top and bottom padding with this CSS:

    .secondary-navigation .main-nav ul ul li a {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
    #1191797
    Kévin

    Really thank you dude !

    It helped a lot.

    Kévin

    #1192004
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.