diff --git a/themes/finc/scss/_customVariables.scss b/themes/finc/scss/_customVariables.scss index 29aefe2da29293483fb25f8be1228433990c0953..a70c9bb2316b4b409339e177f1e281c64ed764d9 100644 --- a/themes/finc/scss/_customVariables.scss +++ b/themes/finc/scss/_customVariables.scss @@ -663,6 +663,9 @@ $navbar-bg-color-xs: $navbar-default-toggle-hover-bg !default; $navbar-xs-openend-margin-bottom: 1rem !default; $navbar-fixed-bg-color: $header-bg-color !default; +// Bootstrap theme gives '.navbar-fixed-top' and '.navbar-fixed-bottom' a top or bottom border of 1px: +// set this variable in your theme according to your preferences +$navbar-fixed-top-border-bottom-width: 0 !default; // Header, navbar and breadcrumbs default margin for centered design - change here for full width $header-navbar-breadcrumbs-margin: 0 auto !default; diff --git a/themes/finc/scss/components/_header-navbar.scss b/themes/finc/scss/components/_header-navbar.scss index 2cffc9ceda3d679eca5326d651e3047f62ee739e..7658f33f31edb59d54d2c90e202f8ef85d831dc0 100644 --- a/themes/finc/scss/components/_header-navbar.scss +++ b/themes/finc/scss/components/_header-navbar.scss @@ -54,6 +54,9 @@ header, // Keep navbar on left, when off-canvas is active, and give it the same appearance as ever // the '.active' class is set on body when the user hits the button to display the sidebar .navbar-fixed-top { + border-bottom: $navbar-fixed-top-border-bottom-width; + + .offcanvas.active & { margin-top: -$navbar-height-xs; position: relative;