diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 3b67c895e0d..2ec97ec7a9d 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1205,6 +1205,13 @@ td.showDragHandle { .side-nav-vert { margin-left: 228px; } +global->THEME_DISABLE_STICKY_TOPMENU)) { ?> +.side-nav-vert { + position: sticky; + top: 0px; + z-index: 210; +} + /* For smartphone (testmenuhider is on) */ browser->layout, array('phone','tablet')) && ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>