• Sydney v2.35 has changed the handling of padding for sub menu entries.

    Under “Customise -> Header -> Main header” I have Style “Enable top level menu items typography options” set and I set the font size to 16.

    The padding has now changed to have very little padding around the sub-menu items.

    1). How can I set the sub-menu font-size? There is presumably a CSS element I can use.

    2). How can I set the padding between sub-menu items?

    Thx in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter andyjefferson

    (@andyjefferson)

    Ok the answer to 1). is

    mainnav .sub-menu li {font-size: 16px;}

    The padding seems to be overridden

    Thread Starter andyjefferson

    (@andyjefferson)

    for 2). what I have done is

    nav .menu li > ul.sub-menu li {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    }

    • This reply was modified 8 months, 2 weeks ago by andyjefferson.

    Hi @andyjefferson,

    Sorry for the delay.

    Upon checking, I saw you have successfully updated the padding. However the font size remains a little smaller. To change your submenu links font size, try this CSS code:

    .header-col #mainnav .sub-menu li a {
        font-size: 16px;
    }

    Once the code applied, you may need to flush cache in case you have caching system enabled.

    Hope that code helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sydney 2.35 Sub-menu padding’ is closed to new replies.