Page 1 of 1

Modify webhelp mobile

Posted: Sat Oct 04, 2014 4:39 am
by tcwriter553
Hello,

We are evaluating Oxygen 16.0 for the webhelp mobile output. However, we'd like to customize a few items. We'd like to change the colors of the Contents, Search, and Index buttons from white to another color. What file/code controls that?

Also, there are some navigation buttons on each topic that scrolls through the topics in the map. Can those be removed?

Thanks for your help.

Re: Modify webhelp mobile

Posted: Mon Oct 06, 2014 11:36 am
by sorin_ristache
Hello,
tcwriter553 wrote:We'd like to change the colors of the Contents, Search, and Index buttons from white to another color. What file/code controls that?
Please create your own custom theme of type C, download the result CSS stylesheet and set it in the args.css parameter of the WebHelp-Mobile transformation. You should set also the args.copycss parameter to value yes.
tcwriter553 wrote:Also, there are some navigation buttons on each topic that scrolls through the topics in the map. Can those be removed?
The simplest way in this version is (I think) to comment out or remove the two xsl:template elements in the file: OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/com.oxygenxml.webhelp/xsl/dita/mobile/addLinks.xsl.

We will consider adding a parameter for removing the navigation links. We thought they were useful for navigation while a Table of Contents is (still) missing in the WebHelp-Mobile output.

Does it make no sense for your WebHelp content to navigate between consecutive help topics?