Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #166981

    Daniel S
    Participant

    Hi,

    Just wondering if you could tell me how do decrease the line spacing between the menu items in the dropdown menus (sub-menus) of the main nav bar menu?

    You help is greatly appreciated.

    Dan

    #167074

    Daniel S
    Participant
    This reply has been marked as private.
    #167320

    Darshana
    Moderator

    Hi there,

    Please add the following CSS workaround into your Customizer, Custom > CSS section to adjust the sub menu item spacing.

    
    .x-navbar .sub-menu {
        margin-top: 1em;
    }
    

    Hope that helps.

    #167430

    Daniel S
    Participant

    Perfect! Thank you!

    #167786

    Zeshan
    Member

    You’re welcome! 🙂

    #174457

    Daniel S
    Participant

    One more question.

    My client is saying that the top of the drop down menu is too close to the main nav menu bar (see screenshot here: http://topm.temp5.straliaweb.com.au/wp-content/uploads/2015/01/Screen-Shot-2015-01-01-at-9.14.42-pm.png ). Would it be possible to drop it down a bit?

    #174514

    Darshana
    Moderator

    Hi there,

    Could you please add the following CSS workaround into your Customizer, Custom > CSS section using the menu Appearance -> Customize.

    
    .x-navbar .sub-menu {
        margin-top: 1em;
    }
    

    Hope that helps.

    #180137

    Daniel S
    Participant

    Hi,

    For some reason, the above code worked for a while, but now it has stopped working. I changed the code slightly to this,

    .x-navbar .sub-menu {
        margin-top: 1em !important;
    }

    but it’s still not working. Can you please look into this?

    #180314

    Christopher
    Moderator

    Hi there,

    Upon checking your site, The code works fine, Please check : http://prntscr.com/5qqh9u

    Please clear browser cache and test again.

    Thank you.

    #342038

    learningbp
    Participant

    This code worked wonders! Thanks!

    #342141

    Prasant Rai
    Moderator

    You are most welcome 🙂 .