Skip to content

Header Layouts

This theme includes all header layouts used in the demo site. You can edit them or create your own layouts.

Note

Due to browser caching, the page may not immediately display the settings after saving. Please press Ctrl+F5 to refresh the page.

Header Layouts List

9-Grid Areas

The header is divided into 3 rows, each with 3 columns. You can add controls in each row.

9-Grid Areas

Header Settings

Click the edit icon to enter the header settings interface.

Header Settings

  • Header Position — Set whether the header floats above the Banner or page title
  • Sticky Header — When scrolling the page, the header is fixed at the top
  • Sticky Header Type — Set the display style of the sticky header

Header (Top / Middle / Bottom) Settings

By default, the header top and header bottom are hidden. You need to click the eye icon to enable these two areas, or click the edit button to configure them.

Header Area Settings

General

  • Row Height (px) — Set the height of the header area
  • Layout — Set the width of the header content area, full width or fixed width
  • Area Spacing (px) — Set the spacing between the left, center, and right columns
  • Control Spacing (px) — Set the distance between controls within a column area
  • Grid Divider — Set whether to display a divider line between each grid

Divider Settings

  • Bottom Line — Set whether to display a divider line at the bottom of each area

Bottom Line Settings

  • Show Shadow — Set whether to display a gray shadow at the bottom of each area

Shadow Settings

  • Accent Color — Set the accent color for each area, usually the color when hovering or clicking a control

Accent Color Settings

  • Extra Class — Add extra CSS class names for each area

Background Settings

You can set the background color and background image for the header area.

Background Settings

Typography

You can set the text style for the header area, such as text size, color, font, etc.

Typography Settings

You can independently set whether to display this header area in the sticky header, and the style of the sticky header.

Sticky Header Settings

Header Column Settings

General

  • Column Width — Set the width of the column
  • Alignment — Set the alignment of controls, vertical or horizontal
  • Text Alignment — Set the text alignment

Background Settings

You can set the background color and background image for the column.

Mobile Header Settings

Click the phone icon to switch to the mobile header layout settings interface. The mobile header is divided into three areas: left, center, and right. You can add controls and panes in each area.

Mobile Header Settings

Controls

Controls are custom modules that you can drag and drop to any position.

Controls Drag

You can click the edit button next to a control to enter the settings interface for all controls.

Controls Edit

Use the Logo control to display a logo image in the header.

Logo Control

The Logo settings interface contains 2 areas: Main Logo settings and Sticky Header Logo settings.

Logo Settings Interface

  • Source — Set the source of the logo image, from the DNN site logo or a custom logo. The DNN site logo needs to be configured in Admin > Site Settings
  • Logo URL — Set the custom logo image
  • Retina Logo URL — Set the logo image for high-resolution screens. The image name must have a -2x suffix, for example: logo-d-2x.png
  • Max Width — The maximum width of the logo
  • Max Height — The maximum height of the logo
  • Source — Set the source of the logo image in the sticky header

Horizontal Menu

Use the Horizontal Menu control to display a navigation menu in the header.

Horizontal Menu Control

The Horizontal Menu settings interface contains 3 areas: Main Menu settings, Flyout Menu settings, and Mega Menu settings.

Horizontal Menu Settings Interface

  • Menu Typography — Set the text style of the first-level menu, such as text size, color, font, etc.
  • Menu Item Spacing — Set the top, bottom, left, and right spacing of menu items

Menu Item Spacing

  • Menu Hover Style — Set the appearance style when hovering over the menu. There are 4 styles available

Menu Hover Style

  • Menu Item Hover Font Color — Set the text color when hovering over a menu item
  • Menu Item Hover Accent Color — Set the accent color when hovering over a menu item
  • Menu Item Border Radius — Set the border radius of menu items
  • Show Middle Logo — Set whether to display a logo in the middle of the menu

Show Middle Logo

Flyout Menu

  • Menu Typography — Set the text style of the flyout menu

Flyout Menu Typography

  • Show Shadow — Set whether to display a shadow

Flyout Menu Shadow

  • Background — Set the background of submenus

Mega Menu

  • Menu Typography — Set the text style of the Mega Menu

Mega Menu Typography

  • Menu Title Typography — Set the text style of menu titles

Mega Menu Title Typography

  • Show Shadow — Set whether to display a shadow

Mega Menu Shadow

  • Line Color — Set the color of the vertical divider line

Login User

Use the Login User control to display login and registration links in the header.

Login User Control

The text color of logged-in users can be set in Header Settings > Typography.

Language

Use the Language control to display a language selector in the header.

Language Control

There are 7 language selector styles:

StylePreview
Style 1Language Style 1
Style 2Language Style 2
Style 3Language Style 3
Style 4Language Style 4
Style 5Language Style 5
Style 6Language Style 6
Style 7Language Style 7

Google Translate

Use the Google Translate control to display a language translation selector in the header, allowing users to translate page content.

Google Translate Control

  • Default Language Text — Set the default language
  • Google Translate Languages — Add language options

Note

In edit mode, this control will not be available.

Use the Search control to display a search input box in the header.

  • Placeholder — The default placeholder text for the search box
  • Style — Set the style of the search panel
  • Accent Color — Set the accent color

Vertical Separator

Use the Vertical Separator control to display a vertical divider line in the header.

Vertical Separator Control

The color of the vertical separator can be set in Header Settings > Typography.

Text Box

Use the Text Box control to enter text or HTML code.

Text Box Control

  • Text Box — Code editing area

Text Box Edit

Mobile Menu

The Mobile Menu control is a mobile header control.

Mobile Menu Control

Click the navigation icon to open the menu.

Mobile Menu Popup

  • First Level Menu Typography — Set the text style of first-level menu items
  • Second Level Menu Typography — Set the text style of second-level menu items
  • Third Level Menu Typography — Set the text style of third-level menu items
  • Active Color — Set the text color of the current menu item

Fiwetis DNN Roofing Theme Documentation