[Support request] Change the height of line-height / padding menu-topics of convas menu

Home Forums Support [Support request] Change the height of line-height / padding menu-topics of convas menu

Home Forums Support Change the height of line-height / padding menu-topics of convas menu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2325773
    Henk

    Hi,

    How can I change the line-height of the submenu topics of the canvas menu.
    See the following screenshot: https://ibb.co/g3VYhrr

    The red lines represent the space that I would like to make smaller.

    Thanks Henk.

    #2326171
    David
    Staff
    Customer Support

    Hi there,

    in your Simples CSS you have this:

    .main-navigation .main-nav ul ul li a {
        border-bottom: 3px solid transparent;
        line-height: 1.1em;
        font-weight: 500;
        margin: 25px 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 1em;
    }

    which also applies to the slideout nav.

    So if you want to override that additional margin on the slideout menu then add this CSS:

    #generate-slideout-menu.main-navigation .main-nav ul ul li a {
        margin-top: 10px;
        margin-bottom: 10px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.