Support » Plugin: PDF Embedder » embed not working properly with twenty nineteen theme

  • Resolved tuf08694

    (@tuf08694)


    Hello, I was testing the plugin in my multisite environment and noticed that the pdf embed does not work properly in the twenty nineteen theme. I tested a few other themes, and the plugin works great. I just wanted to bring this to the developer’s attention since twenty nineteen is WordPress’ main theme.

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

    (@tuf08694)

    The main issue I see while using this theme is that all pdfs are significantly cut off to the right.

    Plugin Support WP-PDF Support

    (@wppdfsupport)

    Hi @tuf08694,

    The Twenty Nineteen uses a different manner for calculating responsive dimensions which trips up the embedded viewer width calculation. The following tiny bit of CSS fixes this. You can add this to the Appearance > Customize > Additional CSS field:

    /* FIX 2019 WIDTH CALCULATION */
    .entry .entry-content > .pdfemb-viewer {
        max-width: 100%;
    }

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.