Commonwealth Banner

Follow these steps to add the new Commonwealth Banner (28px) to your official Virginia government website. For technical problems, please contact developer@vita.virginia.gov.

  1. Choose the color and text of the Commonwealth Banner:
    • Color:
    • Descriptive Text:
    • Optional: Change the maximum width of the Commonwealth Banner text

    • Advanced: Set the html parent ID where the banner should be inserted (defaults to the body tag)

      HTML Element ID (without #):
  2. Copy the following block of html:
    <script type="text/javascript" src="//www.developer.virginia.gov/media/developer/resources/brand/banner/latest/commonwealthbanner.min.js" data-id="vaCommonBanner" data-theme="dark" data-type="agency" data-width="full" ></script>
    Copy to clipboard
  3. Paste the block of html from step 2 on a new line above the closing
    </head>
    tag in your HTML.