/
Drupal: Add Statistics block to a page

Drupal: Add Statistics block to a page

Examples of Statistics block

Example of a Statistics block using Big Text at https://www.fredonia.edu/admissions-aid

Statistics block using Big Text
Statistics block using Big Text

Example of a Statistics block using Icons at https://www.fredonia.edu/admissions-aid/tuition-fees

Statistics block using Icons
Statistics block using Icons

How to add a Statistics block above the Body section:

To add a Statistics block to a page above the Body section, click the Add New Statistics button.

c-add-statistics-block.png

Complete all the fields for Heading, Statistic Type, Big Text/Icon Class, Title, URL and Supporting Text for all three items to appear on the page.

d-edit-statistics-block.png

To get the Icon Class code to use for an Icon:

  1. Visit: https://fontawesome.com/icons in another browser tab.

  2. Search FontAwesome for an icon you want to use.

    search for an icon on fontawesome.com
    Search for an icon on http://fontawesome.com

     

     

  3. Copy the name of the icon from the upper left. The icon name also appears in the HTML code, with an fa- prefix. You only need the name of the icon.

    fontawesome icon details

     

     

  4. In Drupal, click the button for "Icon" in Statistic Type.

  5. Paste the name of the icon - no quotes or other code, just the name.

    m-icon-name.png