Printing the sidebar TOC and keeping CSS styles
-
Hi, I’m looking for a print PDF option for a website. I’ve tried a few plugins and none seem to do what I need but yours looks like it has more customisations available.
I have a page built with page builder – it’s a product manual. Usually we design up a proper PDF but we’re trying to have the up-to-date content on the website and allow users to print the page rather than having a separate designed PDF that might go out of date quickly. It’s a long document so it has a sidebar that has a table of contents. No matter what I try, I cannot get the sidebar table of contents to be included in the PDF. It doesn’t need page numbers, just the order the info appears would be handy for the user. I’ve tried adding a class just to that column and adding the target=”.classname” in the shortcode and in the settings of the plugin, but still it prints the rest of the page and not the table of contents.
Another issue is on the page I have a bunch of tables that have red fontawesome icons and the table text is red with red borders. The PDF strips out the icon, the red colour and the borders. These are important as they are the safety warnings for using the product. I could use images instead of icons, which I assume would print as is, but I need the text and borders to be red.
My questions:
- Is there a way to include the table of contents?
- Is there a way to preserve page styling? I actually would prefer it to print in the styles I’ve set in the CSS if possible, but mainly the icons and red colours of the warning tables are important.
I can’t link to the page unfortunately but I could in a private email.
Thanks for any help you can give.
- The topic ‘Printing the sidebar TOC and keeping CSS styles’ is closed to new replies.