Archive Speeches Template

A one-column page used for archive speech page, which lists present and past speeches of Fed officials.

Resize window to see mobile.

page screenshot
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  1. Section Header

    Wrap header with <header class="section-header">. Define section further with <h3> and <a id="x">, where x = section header id; color is from section header class. On scroll on desktop and tablet, JavaScript will affix header to top (with Menu and Search). (See scripts.js.)
  2. Main body

    Define body content with a wrapper <main id="main" class="m-all t-all d-all cf" role="main">. Define inner wrapper with <article role="article" class="m-all t-10of12 d-10of12 t-o-1of12 d-o-1of12">. This functions as desktop and tablet layout.
  3. Headcrumb

    Connect the page to parent via a headcrumb, containing it in <header class="section-header">; and wrapping the link in <h1> and <a id="page-title-ourdistrict-press">.
  4. Header

    Use <h1 class="padding-bottom-add desktop"> for desktop; and <h1 class="mobile"> for mobile.
  5. Current president sub-header

    Code the template to pull taxonomy terms under the appropriate category. Then, style the title with <h1 class="h2 section-title">. section-title creates the horizontal line.
  6. Article

    Enclose each article (speech) with <article class="margin-bottom-add">. Style the elements with the following:
    Title link: <header><h1 class="h5">
    Date: <p class="meta date">
    Teaser or short description: <p>.
  7. Past presidents

    Style sub-header same as current president's (see annotation 5). Add link to taxonomy term ("Read speeches").