Overview
A header helps users identify where they are and provides a quick, organized way to reach the main sections of a website.
Most websites require header navigation to help users find the information they need.
Formatting
Anatomy
Enterprise header
The enterprise header is a collection of three components: the official banner, the navigation bar, and the navigation menu.
- Official website banner: This banner to identifies your site as an official Pennsylvania government site.
- Navigation bar: Includes the Commonwealth of Pennsylvania logo and a right panel containing a language selection button and search.
- Navigation menu: Series of navigation labels that inform the user what type of content they will find in the menu or link.
Official website banner
Banners identify official websites of government organizations in Commonwealth of Pennsylvania. They also help assure visitors that a website is official and secure.
- Pennsylvania flag
- Banner header: Displays message from the Commonwealth of Pennsylvania.
- Banner action: Displays modal explaining how to identify an official Commonwealth of Pennsylvania government website.
Navigation bar
- Commonwealth of Pennsylvania logo: Links to the PA.gov homepage and is a required piece of the header. The logo should not be altered.
- Language selector: Allow users to select their preferred language when visiting a website in two languages.
- Search bar: Supports global search for PA.gov.
Navigation menu
- Navigation link: Links to a webpage.
- Navigation dropdown: Opens a dropdown menu for a navigation label.
Behavior
The header spans the full width of the viewport and is the top-most element in the browser window. Header elements are persistent throughout the online experience.
- The header supports a maximum of 8 navigation labels.
- The header supports search and language selection.
The header is fully responsive and changes what is displayed based on the browser size. At the small and x-small breakpoints, a hamburger menu will appear to house all navigation labels.
Mobile
All navigation labels will collapse into a right panel hamburger menu on any browser size below 992px wide.