Search
Search
Layout of primary navigation menu, colors…
Offcanvas is the default layout.
/config/default/params.yaml
header:
layout: modal
modal:
size: fullscreen # default, or lg, xl
centered: true # default, or false
Modal layout requires hugolify-theme-bootstrap. Make sure you have not disabled the corresponding Bootstrap JS component.
/config/default/params.yaml
header:
layout: offcanvas
offcanvas:
position: end # default, or start, top, bottom
Offcanvas layout requires hugolify-theme-bootstrap. Make sure you have not disabled the corresponding Bootstrap JS component.
This variable is provided by hugolify-theme-bootstrap. Override it in your project’s _variables.sass.
$navbar-expand: lg // false to disable
Override menu colors in your project’s _variables.sass (or site.sass for scoped overrides):
$menu-background-color: // $header-background-color !default
$menu-color: // $header-color !default