The most common way to customize WebHelp Responsive output is to use custom CSS styling. This method can be used to make small, simple styling changes or more advanced, precise changes. To implement the styling in your WebHelp output, you simply need to create the custom CSS file and reference it in your transformation scenario (using an Oxygen Publishing Template or a transformation parameter). This custom file will be the final CSS to be applied so its content will override the styles in the other pre-existing CSS files.
You can use your browser's CSS inspector to identify the pertinent code in the current CSS files and you can even make changes directly in the CSS inspector to test the results so that you know exactly what content to use in your custom CSS file.
.wh_footer {
font-size: 15px;
line-height: 1.7em;
background-color: #000;
}
background-color attribute. After you find a suitable color, copy
that new code. .wh_footer {
background-color: #255890;
}
args.css parameter.<publishing-template>
...
<webhelp>
...
<resources>
...
<css file="resources/MyCustom.css"/>Result: Your custom CSS will be applied as a final layer on top of any existing CSS rules and the output will reflect the changes you made.
args.css parameter to the path of your custom CSS file.args.copycss parameter to yes to
automatically copy your custom CSS in the output folder when the transformation scenario
is processed.Result: Your custom CSS will be applied as a final layer on top of any existing CSS rules and the output will reflect the changes you made.