Title: Multiple Size and Look Documents
Last modified: August 22, 2016

---

# Multiple Size and Look Documents

 *  Resolved [kirkward](https://wordpress.org/support/users/kirkward/)
 * (@kirkward)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/multiple-size-and-look-documents/)
 * How do I create multiple templates for PDF’s so that I can create a 5.5 x 8.5
   inch book, or a 8.5 x 11.0 inch report, using different first page, right page,
   left page, and break type attributes for each document?
 * Can I use those attributes?
 * [https://wordpress.org/plugins/wp-pdf-templates/](https://wordpress.org/plugins/wp-pdf-templates/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [kirkward](https://wordpress.org/support/users/kirkward/)
 * (@kirkward)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/multiple-size-and-look-documents/#post-5313390)
 * Refining or editing the question.
 * (1) I found that a custom stylesheet caan be called in index-pdf.php, so creating
   custom styles seems quite possible.
 * (2) Which leaves the first part of the question rewritten as: “How can I use 
   a different stylesheet for each different post or page?”
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-size-and-look-documents/#post-5313547)
 * Hi!
 * Sorry for the late response.
 * You can use default WordPress functions to conditionally include stylesheets 
   into your templates.
 * Example:
 *     ```
       <?php if(is_page('sample-page')) : ?>
       <style>body { background:black }</style>
       <?php endif; ?>
       ```
   
 * Let me know if you would like further assistance.
 * Cheers!
 *  Thread Starter [kirkward](https://wordpress.org/support/users/kirkward/)
 * (@kirkward)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-size-and-look-documents/#post-5313549)
 * Great news.
 * As I said in the other thread, it will be two weeks minimum before I get back
   to testing.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple Size and Look Documents’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-pdf-templates_ffffff.svg)
 * [WordPress PDF Templates](https://wordpress.org/plugins/wp-pdf-templates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pdf-templates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pdf-templates/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pdf-templates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pdf-templates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pdf-templates/reviews/)

## Tags

 * [dompdf](https://wordpress.org/support/topic-tag/dompdf/)
 * [media](https://wordpress.org/support/topic-tag/media/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [pdf](https://wordpress.org/support/topic-tag/pdf/)

 * 3 replies
 * 2 participants
 * Last reply from: [kirkward](https://wordpress.org/support/users/kirkward/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-size-and-look-documents/#post-5313549)
 * Status: resolved