Page 1 of 1
print webhelp footer
Posted: Sun Sep 06, 2015 9:56 pm
by urbanrobots
Hello,
We use the webhelp.footer.file parameter to add a footer to each HTML topic. However, this footer does not print. We need copyright information on each printed page. Can you explain how to do this?
Thanks!
Take care,
- Nick
Re: print webhelp footer
Posted: Mon Sep 07, 2015 12:24 pm
by bogdan_cercelaru
Hello,
If you want the footer of your HTML file to be printed, you should use a custom CSS file (custom.css) with the following content:
Code: Select all
@media print{
/**
* Display footer
*/
.footer{
display:block;
}
}
After creating the "custom.css" file, edit your transformation scenario, go to "Parameters" tab, set the "args.copycss" parameter to "yes" and set the "args.css" parameter to point to your "custom.css" file.
Please let me know if you need any further assistance.
Regards,
Bogdan
Re: print webhelp footer
Posted: Mon Sep 07, 2015 6:01 pm
by urbanrobots
Thanks for the reply, Bogdan.
This works for printing the copyright footer in the ToC area, but does not work for the footer that appears under the content itself. Is JavaScript limiting the CSS functionality?
Thanks,
- Nick
Re: print webhelp footer
Posted: Tue Sep 08, 2015 4:49 pm
by bogdan_cercelaru
Hello,
What browser you are using and how did you print the page?
I've tried Chrome, IE and Firefox, using the print button from WebHelp page (right side of the header) and all pages print the footer if the custom CSS is set.
Regards,
Bogdan
Re: print webhelp footer
Posted: Wed Sep 09, 2015 12:23 am
by urbanrobots
Oops. I had a typo in the file. This CSS works perfectly. Thanks!