• Resolved dplittle

    (@dplittle)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 [email protected] as we may not see the forum posts in a timely fashion.

    Emma

    Thread Starter dplittle

    (@dplittle)

    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.