By default, the menu component is displayed in all WebHelp Responsive pages. However, you might want to hide it completely, or only display some of its menu entries.
There are two methods for doing this. One of them involves editing the DITA map and marking the topics that do not need to be included in the menu, and another one that uses a small CSS customization.
topicref element (or
any of its specializations) for each topic you do not want to be displayed in the
menu:<topicmeta>
<data name="wh-menu">
<data name="hide" value="yes"/>
</data>
</topicmeta>growing-flowers in the
following example). The CSS file should have content that is similar to
this:.wh_top_menu *[data-id='growing-flowers'] {
display:none;
}args.css parameter.If you do not want to include a main menu in the pages of the WebHelp Responsive output, you can instruct the transformation scenario to skip the menu generation completely.
Using a Publishing Templatewebhelp.show.top.menu parameter in the parameters
section with its value set to
no.<publishing-template>
...
<webhelp>
...
<parameters>
<parameter name="webhelp.show.top.menu" value="no"/>
</parameters>
</webhelp>Using a Transformation Scenario in Oxygen XML Editor/Author
webhelp.show.top.menu parameter to no.