Adding Icons to Portal Levels

How to:

You can further customize your portal by adding icons to pages and folders.

Procedure: How to Add Icons to Folders and Pages Inside a Portal

  1. Create a WebFOCUS Portal, as described in Creating Portals.
  2. Select the level to which you want to add icons, and locate its parent level.

    In our example, we are enabling icons for the top level of navigation, so we will be configuring the portal folder itself.

  3. Right-click the portal folder and then click Properties.

    The Properties panel opens.

  4. Navigate to the Advanced tab, select the Show menu icons for children check box, and click Save.

    Now, any icons added to the top level pages and folders are visible.

  5. Without closing the Properties panel, click the page or folder to which you want to add an icon.
  6. In the Menu Icon field, type the CSS class of an icon you want to add.

    The following image shows an example of adding an icon to the Marketing folder.

    You can reference available icons and their CSS classes in the following websites:
    • https://fontawesome.com/v4.7.0/icons/
    • https://material.io/tools/icons/?style=baseline
    Click an icon that you want to use in your portal and copy its CSS class. If you are using icons from the fontawesome.com website, your CSS class should look similar to the following:
    fa fa-circle

    Note: If you have a license for the Font Awesome Pro icon packs, you can use CSS classes for your Pro icons instead.

    If you are using icons from the metrial.io website, your CSS class should look similar to the following:
    material_icons pie-chart
  7. Repeat the process for other folders and pages of your choice, making sure that the parent folder has the Show menu icons for children property selected.

    Note: Depending on the type of your navigation layout, certain levels do not display icons. The second level of the two-level side navigation layout does not display icons. The third level of the three-level navigation layout does not display icons. All layouts display icons for the top level of navigation. Responsive menus on mobile devices display icons for all levels of navigation.

  8. To see the icons applied, run your portal.

    The following image shows the three-level navigation layout with icons added to the top and second levels.

    When you resize the window, the same icons display in the side menu, as shown in the following images.