Configuring the appearance of your console search results

You can use a cascading style sheet (CSS) to configure the appearance of the search results that appear in the Ivanti Console. To do this, you can modify the KnowledgeResults.css file in the LANDesk\Service Desk\Console directory.

We recommend that you do not modify this file unless you have a good understanding of modifying CSS files.

The items that you can configure are:

  • .paginglabel – the font properties of the paging label that displays how many results are returned for your search.
  • .cell – any of the standard CSS properties for a table cell. For example, you can specify that the cell has a border, a background color or has spacing (padding) within the cell.
  • .image – if you have associated an image with a business object that you have included in a knowledge search, then you can specify the size of the image. For example: 16px x 16px.

The image is specified using Object Designer.

For the following styles, you can modify the general CSS font properties:

  • .type – the type of business object in which the relevant words have been found. For example, Note, Article and so on.
  • .subjecttext – the styling applied to the first attribute name and value in the knowledge search. For example, Title Error Message.

This style is not applied to taxonomy searches.

  • .attributename – this maps to the names of all the attributes in the search (apart from the first one, which uses the .subjecttext style) and highlights the attribute name, so you can easily see which attribute value is being displayed.
  • .attributevalue – the style for all of the values/data returned for all attributes in your knowledge results (apart from the first one, which uses .subjecttext).
  • .effectiveness – the style of the Effectiveness label.
  • a.linkstyle and a.linkstyle:hover – the styles for the Create Article and Open links on the results page. You can choose to specify a style that changes when the mouse pointer hovers over the link, or you can keep the styles the same.