Dinamiko / dk-pdf

WordPress to PDF made easy
https://wordpress.org/plugins/dk-pdf
26 stars 23 forks source link

CSS Classes and ID's? #72

Closed matchlessweb closed 5 years ago

matchlessweb commented 5 years ago

I don't see any information in the documentation regarding css classes and ID's. I'd like to customize the look of my PDFs but I don't believe I can even start without knowing the appropriate selectors. Am I missing something?

Dinamiko commented 5 years ago

Hi @matchlessweb,

You can use your own classes and IDs in the template, here you have more info about how to do a template customization: http://wp.dinamiko.com/demos/dkpdf/doc/how-to-use-dk-pdf-templates-in-your-theme/

Regarding which CSS currently supported in mPDF library (the library used to generate the PDF): https://mpdf.github.io/css-stylesheets/supported-css.html

Thanks, Emili