Customize the Appearance of Selected Items in the Table of Contents
The appearance of selected items in the table of contents of WebHelp Classic output can be enhanced.
For example, to highlight the background of the selected item, follow these steps:
- Locate the
toc.css
file in the following directory:- For DITA transformations:
DITA_OT_DIR\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\css
. - For DocBook transformations:
[OXYGEN_INSTALL_DIR]\frameworks\docbook\xsl\com.oxygenxml.webhelp\oxygen-webhelp\resources\css
.
- For DITA transformations:
- Edit that CSS file, find the
menuItemSelected
class, and change the value of thebackground
property.
Note
You can also overwrite the same value from your own custom CSS and then specify the
path to your CSS in the transformation scenario (see step 3 in the Changing the Icons in a WebHelp Classic Table of Contents topic.