14.7.3.3 Specifying CSS classes for index components

You can specify CSS class names for index entries, for the links from the index into the HTML content, and for an entry for the index in the table of contents. The default names are IndexEntry, IndexRef, and IndexTOC, respectively:

[Index]
; IndexLevelClass = class to use for index item <ul>s
IndexLevelClass = IndexEntry
; IndexRefClass = class to use for index reference <ul>s
IndexRefClass = IndexRef
; IndexTOCClass = class to use for index reference <ul>s
IndexTOCClass = IndexTOC

If you want a different appearance for index entries at each level:

[Index]
; UseIndexLevelNum = No (default) or Yes (include level number
; in IndexLevelClass and IndexRefClass, requires editing CSS).
UseIndexLevelNum = Yes

You must also edit the appropriate idx*.css file in \local\htmlidx to include a definition for each level.

Previous Topic:  14.7.3.2 Specifying index file name and heading

Next Topic:  14.7.3.4 Including heading letters in the index

Parent Topic:  14.7.3 Configuring index features for HTML output

Sibling Topics:

14.7.3.1 Choosing the type of index to generate for HTML

14.7.3.2 Specifying index file name and heading

14.7.3.4 Including heading letters in the index

14.7.3.5 Customizing and linking to the index file