Layout

Header

The site header with logo, main menu with dropdown and actions. Includes top bar, transparent, dark and sticky options.

Examples

Default

From 992 px the menu shows in the bar. Below that a menu button opens the mobile navigation. Each header here has its own button and offcanvas (#mobileNav1, #mobileNav2 and so on): give every header on a page a unique id.

Multi-level dropdown

The Default header above shows it: Properties opens a 2nd level (Apartments, Houses), and Apartments → By size opens a 3rd level. Hover on desktop, click or tap on touch screens, and the arrow keys work. Nest .dropdown-submenu as deep as you need.

With top bar

Transparent over a hero

Use on the home page. Add data-sticky and the header turns solid after scrolling.

Dark

Classes

Class / attributePurpose
.site-headerWrapper. Holds the optional top bar and the navbar.
.is-transparent / .is-darkVariants for use over a hero image or on a dark bar.
data-stickyKeeps the header at the top. site.js adds .is-scrolled for the shadow.
.site-topbarSlim strip for phone, email and social links.
.site-logo + .site-logo-markText logo. Swap for your own SVG or image.
.site-menuDesktop menu. Dropdowns use Bootstrap's dropdown JS.
.dropdown-submenuPut on an li inside a .dropdown-menu to add a 2nd (or 3rd) level. It holds a a.dropdown-item.submenu-toggle and a nested ul.dropdown-menu. Opens on hover or click and flips sides near the screen edge.
.site-actionsButtons on the right: language dropdown, wishlist, sign in, Add property and the mobile menu button.