Skip to main content

Make Topics Non-clickable Labels (HTML5)

If you want to use an empty topic as a non-clickable label to categorize subtopics in the Table of Contents (HTML5), you can turn it into a topichead. It means that its title will show in the TOC sidebar, but it will only serve as a label for its child topics.

By adding the role attribute with its value set to topichead to the main section element, the topic becomes:

Non-clickable_Topics_small.jpg

The main topics (Batteries, Fans, Motors and Solar Panels) in this image are "topicheads". In other words, empty topics that only serve as non-clickable labels in the TOC sidebar.

Important

If you publish and the child topics are not showing for a non-clickable label, try increasing the Chunk section depth. You can find this setting in the TOC and Chunking category on your HTML5 Layout.

Note

This type of label is only for navigation in the TOC sidebar and is not the same as branch labels or labels added with the phrase element.

To turn a topic into a non-clickable label for HTML5 output:

  1. Select the topic or component in the Content Manager to open it in the Editor.

    Content Manager in Paligo. It shows the Documents section contains an Acme 100 Topics folder. Inside the folder there is a publication and many topics, including "Connect to Network (100).

    Alternatively, you can Create a Topic and edit that.

  2. Select the section element in the Element Structure Menu.

    Close up of Element Structure Menu. It shows the section element is selected and the Go to element option is selected.
  3. Select Go to element.

  4. Add role attribute in the Element Attributes Panel and set the value to topichead.

    Role_Topichead.png
  5. Select Save. Save icon.

  6. Repeat this procedure for all topics that are to be non-clickable.