Header Layouts

This theme includes all the header layouts used in the demo site, you can edit them, and also create your own layouts.

Reminder Since browser cache exists, your page probably won’t display the setting result properly after saving. Therefore, you need to press Ctrl+F5 to refresh your page.

9 Grids Area

We divide the header in 3 rows, every row has 3 columns. You can add controls to every row.

Header Settings

Clicking the edit icon can go to the header settings interface.

Header Position

Set whether to float the header above banner or page title.

Sticky Header

When you scroll down the page, header will remain fixed at the top of the page.

Sticky Header Type

Set the display style of Sticky Header.

Header (Top Middle Bottom) Settings

By default, header top and header bottom are hidden. You need to click the eye icon to enable these 2 areas, you can also click the edit button to set these areas.

General

Row Height (px) – Set the height of the header area.

Layout – Set the width of the header content area. It can be set to full width or fixed width.

Area Space (px): – Set the spacing between the left, middle and right columns.

Distance Between Controls (px): – Set the distance between the controls of column area.

Split Line Between Grids – Set whether to display the split line between every grid.

Bottom Line – Set whether to display the split line at the bottom of every area.

Display Shadow – Set whether to display the gray shadow at the bottom of every area.

Accent Color – Set the accent color of every area. In general, it means the color when you hover or click the controls.

Extra class name – Extra CSS can be added to every area.

Design Options

You can set the padding, margin, border, background color and background image for the header area.

Typography

You can set the text style of the header area. Such as: text size, color, font family and etc.

Sticky Header

You can set whether to display the header area in Sticky Header individually, as well as the style of the Sticky Header.

Header Column Settings

General

Column width – Set the width of columns.

Arrangement – Set the arrangement between the controls, vertical display or horizontal display.

Text Align – Set how to align text.

Design Options

You can set the padding, margin, border, background color and background image for columns.

Mobile Header Settings

Click the mobile icon to switch to the setting interface of mobile header layout. The mobile header is divided into left, middle and right 3 areas. You can add controls and panes to the areas separately.

Controls

The controls are some modules we customized, you can drag them to wherever you want.

You can go to the setting interface of all controls by clicking the edit button beside them.

Logo

Use the logo control, you can display the logo image in header.

There are 2 areas included in the setting interface of the logo, one is the settings for the main logo and the other is the settings for the sticky header logo.

Main Logo

Source – Set the source of the logo image comes from the DNN site logo or the custom logo. The DNN site logo needs to be set in admin > site settings.

Logo URL – Set the custom logo image.

High-DPI (retina) Logo URL – Set the logo image on HD screens, there has to be a -2x suffix at the end of the image name. Such as: logo-d-2x.png

Max Width – The maximum width of the logo.

Max Height – The maximum height of the logo.

Sticky Header Logo

Source – Set the source of the logo image.

Horizontal Menu

With the Horizontal Menu control, you can display menu in the header.

There are 3 areas included in the setting interface of the Horizontal menu, one is the settings of the main menu, one is the settings of the flyout menu, and the other is the settings of the mega menu.

Main Menu

Menu Typography – It can set the text style of the 1st level menus. Such as: text size, color, font family and etc.

Menu Item Spacing – Set the spacing between items at up, down, left and right.

Menu Hover Style – Set the appearance style of the menu when hovering it, there are 4 styles can be chosen from.

Menu Item Hover Font Color – Set the text color of the menu when hovering it.

Menu Item Hover Accent Color – Set the accent color of the menu when hovering it.

Menu Item Border-radius – Set the border radius of the menu items.

Display Middle Logo – Set whether to display the logo at the middle of menus.

Flyout Menu

Menu Typography – You can set the text style of the pop up menu.

Display Shadow – Set whether to display shadow.

Background – Set the background of sub menus.

Mega Menu

Menu Typography – Set the text style of the mega menu.

Menu Title Typography – Set the text style of the title.

Display Shadow – Set whether to display shadow.

Line Color – Set the color of the vertical split line.

Login User

With the Login User control, you can display the login and register links in header.

The text color of the login user can be set in Header Settings > Typography.

Language

With the Language control, you can display the language selector in header.

There are 7 types in total, as follows:

Display Name:

English Name:

Name:

Native Name:

Two Letter:

Three Letter:

Flags:

Search

With the search control, you can display the search input box in header.

Placeholder – The default text of the search box.

Style – Set the style of the search panel.

Accent Color – Accent color.

Vertical Separator Line

With Vertical Separator Line control, you can display the vertical split line in header.

The color of the Vertical separator line control can be set in Header Settings > Typography.

Text Box

With Text Box control, you can input text or HTML code.

Text Box – The area of editing code.

Mobile Menu

The Mobile Menu control belongs to the controls of the mobile header.

Clicking the nav icon of the mobile menu can pop up the menu.

Level 1 Menu Typography – Set the text style of level 1 menu.

Level 2 Menu Typography – Set the text style of level 2 menu.

Level 3 Menu Typography – Set the text style of level 3 menu.

Current Color – Set the text color of the current menu item.

Copyright 2021 by DNNGo Corp