Skip to content

Site Navbar

Ann Greazel edited this page Sep 21, 2021 · 8 revisions

Per the ISU Theme components, this theme includes the Site Navbar. The Site Navbar is the red header at the top of every page and includes the ISU wordmark, site title, search, and Site Links menu.

Regions and Blocks

This Site Navbar contains two Regions which should contain the required Blocks.

  • Header First
    • Site Branding (System Block)
  • Header Second - appears on the left
    • Search (Forms - comes with Drupal 8 installation)
    • Site Links (Menu - must be created)

Site Branding

This is a System block. The styling comes from the theme and the content is collected in Configuration > System > Basic site settings

Search

This Block is included with Drupal 8.

Site Links

This is a Menu Block, and intended to highlight 1-3 important utility links. This menu is optional and is not configured by default.

To create a menu:

  1. Structure > Menus > + Add Menu
  2. Name the menu Site Links. The machine name must be "site-links"
  3. 'Add Link'. No more than three links are recommended

To place the menu:

  1. Structure > Block Layout
  2. Click on 'Place Block' next to Header Second
  3. Find 'Site Links' and 'Place Block'
  4. Uncheck 'Display title' and 'Save block'

The Site Links menu does not support child links.