Header

This theme has a versatile header that can be fixed, animated on scroll, transparent (over images and backgrounds) and inverted.

Fixed header

# data/layout.yaml

header:
  headerFixed: false
  headerHeight: '60px' # recommended "60px"
  disableHamburgerMenu: false

Animate on scroll

SetheaderFixed: true`. The header will animate on scroll, changing the background from transparent to white and adding a boxshadow.

# data/layout.yaml

header:
  headerFixed: true

Transparent header

You can set a transparent header on a per page basis.

As an example, custom page 1 https://hugo-paradigm.netlify.app/custom-page-1/ has a transparent header because it looks stylish over the hero section’s blue background image.

You can set the header to be transparent from the front-matter of a markdown file. Just set headerTransparent: true

title: Custom Page Example 1
headerTransparent: true

Header height

Change the height of the header.

# data/layout.yaml

header:
  headerHeight: '60px' # recommended "60px"

Disable hamburger (mobile) menu

If you are building a single page site you can disable the hamburger menu on mobile.

# data/layout.yaml

header:
  disableHamburgerMenu: true