简体   繁体   中英

Wordpress Navigation Sub Menu Spacing

I have used the plugin Superfly Menu - to create a sidebar menu with a sub menu. There is a space / gap in between the sub menu and main menu which I cannot remove.

Where in the CSS would I find the space or padding to allow me to remove it ?

I have tried resizing the menu, however this only changes the width of the menu "panel"and not the padding. There is also no option within Screenfly settings which causes this spacing.

.sfm-view.sfm-view-level-1.sfm-current-526 {
    margin-left: 0px!important;
    margin-right: 0px!important;
    padding: 0px!important;
}

I expected that to remove the space / gap between the main menu and sub menu panel, however it does not seem to be the correct selector

Link to Site

The fixed width here is causing the trouble:

#sfm-sidebar, .sfm-sidebar-bg, #sfm-sidebar .sfm-nav, #sfm-sidebar .sfm-logo, #sfm-sidebar .sfm-social, .sfm-style-toolbar .sfm-copy {
      width: 255px!important;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM