Skip to content

Header Layouts

The theme ships with every header layout used on the demo site. Edit them as they are, or create your own.

Header Layouts admin

Browser cache

Saved changes may not show immediately because of browser caching. Press Ctrl + F5 to force a refresh.


The 9-Grid Area

The header is divided into 3 rows of 3 columns each — 9 cells in total. Add controls to any cell.

The 9-grid area


Header Settings

Click the edit icon to open the header settings.

Header Settings

SettingDescription
Header PositionWhether the header floats above the banner or page title
Sticky HeaderWhether the header stays fixed at the top while the page scrolls
Sticky Header TypeThe look of the sticky header
Header Top / Middle / Bottom SettingsThe top and bottom rows are hidden by default. Click the eye icon to enable them, or the edit button to configure them

Header Top / Middle / Bottom

General

SettingDescription
Row Height (px)Height of the header area
LayoutWidth of the header content: full width or fixed width
Area Space (px)Spacing between the left, middle, and right columns
Distance Between Controls (px)Distance between the controls inside a column
Split Line Between GridsShow divider lines between cells
Bottom LineShow a divider line at the bottom of each area
Display ShadowShow the gray shadow under each area
Accent ColorAccent color of each area — generally the color used when controls are hovered or clicked
Extra class nameAppend a custom CSS class to each area

General settings

Bottom Line

Display Shadow

Accent Color

Background Settings

Set a background color and background image for the header area.

Background Settings

Typography

Set the text style of the header area — size, color, font family, and so on.

Typography

Decide separately whether each header area appears in the sticky header, and set the sticky header's style.

Sticky Header


Header Column Settings

General

SettingDescription
Column widthWidth of the column
ArrangementHow controls inside the column are arranged: vertically or horizontally
Text AlignText alignment

Background Settings

Set a background color and background image for the column.


Mobile Header Settings

Click the mobile icon to switch to the mobile header layout. The mobile header has left, middle, and right areas, each accepting controls and panes.

Mobile Header


Controls

Controls are pre-built functional modules — drag them anywhere in the header.

Drag controls

Click the edit button next to a control to open its settings.

Control settings

Displays your logo image in the header.

Logo control

The settings page has two parts: the main logo and the sticky header logo.

Logo settings

Main Logo:

SettingDescription
SourceWhere the logo comes from: the DNN site logo or a custom logo. The DNN site logo is set in Admin > Site Settings
Logo URLThe custom logo image
High-DPI (retina) Logo URLThe logo for high-density screens. The file name must end with -2x, for example logo-d-2x.png
Max WidthMaximum width of the logo
Max HeightMaximum height of the logo

Sticky Header Logo:

SettingDescription
SourceWhere the sticky header logo comes from

Horizontal Menu

Displays the navigation menu in the header.

Horizontal Menu

The settings are divided into three parts: the main menu, the flyout menu, and the mega menu.

Horizontal Menu settings

Main Menu:

SettingDescription
Menu TypographyText style of first-level menu items — size, color, font family, and so on
Menu Item SpacingSpacing around menu items, on all four sides
Menu Hover StyleThe look of a menu item on hover — 4 styles to choose from
Menu Item Hover Font ColorText color of the hovered menu item
Menu Item Hover Accent ColorAccent color of the hovered menu item
Menu Item Border-radiusCorner radius of menu items
Display Middle LogoShow the logo in the middle of the menu

Menu Item Spacing

Menu Hover Style

Display Middle Logo

Flyout Menu:

SettingDescription
Menu TypographyText style of the pop-up menu
Display ShadowShow a shadow
BackgroundBackground of the sub-menus

Flyout Typography

Flyout Background

Mega Menu:

SettingDescription
Menu TypographyText style of the mega menu
Menu Title TypographyText style of the mega menu titles
Display ShadowShow a shadow
Line ColorColor of the vertical divider lines

Mega Menu Typography

Mega Menu Title Typography

Mega Menu Shadow

Mega menu content

Which menus appear in the mega menu, how many columns it uses, and what custom content it holds are configured on the Mega Menu page.

Login User

Displays the login and register links in the header.

Login User

TIP

The text color of the login user is set under Header Settings > Typography.

Language

Displays the language selector in the header.

Language control

There are 7 display types:

TypeEffect
Display NameDisplay name
English NameEnglish name
NameName
Native NameName in the local language
Two LetterTwo-letter code (e.g. en)
Three LetterThree-letter code (e.g. eng)
FlagsFlag icons

Language display types

Language display types

Language display types

Language display types

Language display types

Language display types

Language display types

Google Translate

Displays a Google Translate selector in the header so visitors can translate the page.

Google Translate

SettingDescription
Default Language TextText shown for the default language
Google Translate LanguageAdd language options to the control

Not available in edit mode

The control does not work while the page is in edit mode — view the page normally to see it.

Displays a search box in the header.

SettingDescription
PlaceholderDefault hint text in the search box
StyleLook of the search panel
Accent ColorAccent color of the search control

Vertical Separator Line

Displays a vertical divider line in the header.

Vertical Separator Line

TIP

The line's color is set under Header Settings > Typography.

Text Box

Enter text or HTML code.

Text Box

SettingDescription
Text BoxThe editing area for text or code

Text Box editing

Mobile Menu

A control reserved for the mobile header.

Mobile Menu

Tapping the hamburger icon opens the menu.

Mobile Menu in action

SettingDescription
Level 1 Menu TypographyText style of level-1 menu items
Level 2 Menu TypographyText style of level-2 menu items
Level 3 Menu TypographyText style of level-3 menu items
Current ColorText color of the currently selected menu item