Online Help | Desktop App

Customizing Announcement styles

Updated in 2022.1

This article describes how to customize the appearance, such as the font, color, size, etc., of Announcements via Cascading Style Sheets (CSS).

Alloy Navigator Express displays Announcements in several modules, and every module has its own Announcement stylesheet. To customize styles for a target module, go to the corresponding section in Settings:

  • Desktop App: Customization > General > CSS Styles >Announcement > Desktop App

  • Web App: Customization > General > CSS Styles >Announcement > Web App

  • Self Service Portal: Customization > General > CSS Styles >Announcement > Self Service Portal

  • Alloy mobile apps: Customization > General > CSS Styles >Announcement > Mobile Apps

INFO: For additional information about CSS, see, for example, CSSĀ Reference at https://www.w3schools.com/cssref/default.asp.

To customize the current style:

  1. Customize CSS style definitions as you need. Make sure not to delete or modify existing CSS class names and selectors.

  2. Click Save on the Standard toolbar.

IMPORTANT: When customizing styles for web or mobile applications, make sure that you precede each CSS style definition with the special parent selector #announcement. The parent selector guarantees that your custom style definitions apply only to the user content, not the entire web page. For details, see Customizing style sheets for web and mobile apps.

To save the current styleshteet to a .css file:

  1. Click Save To File. The Save Stylesheet to window opens.

  2. Browse for the location to save the file to, then enter the file name and click Save.

To import the stylesheet from an external .css file:

  1. Click Load From File. The Load Stylesheet from window opens.

  2. Browse for the .css file and click Open.

  3. Click Save on the Standard toolbar.

TIP: When you import styles from an external file, you replace the current style definitions with the external ones. You may want to export your current stylesheet for backup purposes before importing the external stylesheet.