Title: Fitting PDF to container
Last modified: December 18, 2018

---

# Fitting PDF to container

 *  Resolved [dplittle](https://wordpress.org/support/users/dplittle/)
 * (@dplittle)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fitting-pdf-to-container/)
 * I’m looking for a good PDF viewer for a new site and found this plugin. I wanted
   to test the plugin before purchasing the premium version. I like the premium 
   features but need to get the viewer working correctly first.
 * When I embed my PDF, the container window shows only the left part of the document.
   I have to shrink the view down to almost half to be able o see the whole page
   width. I can’t scroll the window either.
 * Is is possible to have the full page width display by default? I don’t mind users
   having to scroll down to read the page but scrolling side to side (if that were
   even possible) is a bad user experience.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffitting-pdf-to-container%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fitting-pdf-to-container/#post-11008072)
 * Hi dplittle,
 * It looks like the Twenty Nineteen theme is making a calculation on the content
   area that is causing the appearance of the embedded PDF to render incorrectly.
   You can add the following CSS to fix this:
 *     ```
       /* Fix 2019 width calculation */
       .entry .entry-content > .pdfemb-viewer {
           max-width: 100%;
       }
       ```
   
 * If you have any other questions, please do not hesitate to send us an email to
   [contact@wp-pdf.com](https://wordpress.org/support/topic/fitting-pdf-to-container/contact@wp-pdf.com?output_format=md)
   as we may not see the forum posts in a timely fashion.
 * Emma
 *  Thread Starter [dplittle](https://wordpress.org/support/users/dplittle/)
 * (@dplittle)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fitting-pdf-to-container/#post-11008937)
 * Ahhh. Much better. Thanks
 * That fixed it.

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

The topic ‘Fitting PDF to container’ is closed to new replies.

 * ![](https://ps.w.org/pdf-embedder/assets/icon.svg?rev=3227003)
 * [PDF Embedder](https://wordpress.org/plugins/pdf-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embedder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dplittle](https://wordpress.org/support/users/dplittle/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/fitting-pdf-to-container/#post-11008937)
 * Status: resolved