• I have created a Post that includes just a File Block with a PDF. I have also a Page that includes a Latest Posts block set to include Post Content.

    In the Editor, this displays as expected — the PDF preview renders full width with the link and Download button wrapped below.

    When viewing the site, the link and Download button do not wrap below the PDF preview. I have tracked this down to the flex-wrap: wrap style not included outside the editor. I was able to work-around this by adding an Additional CSS .wp-block-file { flex-wrap: wrap; }

    Additionally, in the Editor, the PDF Preview’s initial zoom fits the document width. However, when viewing the site, the zoom is very small.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter burtonrodman

    (@burtonrodman)

    After re-saving Permalinks, the PDF initial zoom was fixed.

    However, the link and Download button failing to wrap is not fixed by re-saving Permalinks

    Hi @burtonrodman,

    I was able to replicate the issue on a fresh install, and the issue only seems to appear when the Go theme is used, indicating a theme issue.

    Thanks for reporting this!


    As you’ve noted, the temporary fix is adding

    .wp-block-file { flex-wrap: wrap; }

    to Customize>Additional CSS.

    I’ve opened a bug report in our GitHub repository and you can track its progress here: https://github.com/godaddy-wordpress/go/issues/873

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘File Block styles missing, PDF Zoom’ is closed to new replies.