Title: resize pdf insertion (Gutenberg)
Last modified: March 19, 2024

---

# resize pdf insertion (Gutenberg)

 *  Resolved [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/)
 * When I paste a pdf file through Gutenberg, I get a
   visible part:width 600pxheight
   450px
 * How to change width to 100% and height to 600px?

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

 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17513963)
 * Hi [proguid](https://wordpress.org/support/users/procarmanuals/),
   Greetings. 
   Sorry for any inconvenience.If you’re using the **Gutenberg editor**, we have
   a block for **EmbedPress PDF**. Please check the demonstration here: [https://d.pr/v/wXPfUD](https://d.pr/v/wXPfUD)
   on how to set 100% width from the Gutenberg Editor.
 * Alternatively, you can utilize the shortcode below:
   `[embedpress width="1200"
   height="600"] Your PDF link [/embedpress]`**Note**: Adjust the width and height
   according to your own preferences.
 * Please check and let us know how it goes.
   Thank you.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17514088)
 *     ```wp-block-code
       [embedpress width="1200" height="600"] Your PDF link [/embedpress]
       ```
   
 * I can’t set the width to 100%, only px?
 * Can I implement this by replacing a function that I can put in my theme’s functions.
   php?
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17514245)
 * Hi [proguid](https://wordpress.org/support/users/procarmanuals/),
   For shortcode,
   100% width is currently unavailable. However, you can utilize the custom CSS 
   below:
 * `.embedpress-document-embed {
   width: 100%!important;}.embedpress-document-embed
   iframe{width: 100%!important;}
 * You can simply add custom CSS by navigating to your WordPress **Dashboard -> 
   Appearance -> Customize**.
   After you are on the Customizer page, search for the“**
   Additional CSS**” option. You can then go ahead and insert CSS Code. Please check
   this screencast to learn more – [https://d.pr/v/QrrfTw](https://d.pr/v/QrrfTw)
   Hope it might help you.Thank you.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17514850)
 * [https://procarowners.com/uncategorised/hello-world/](https://procarowners.com/uncategorised/hello-world/)
 * The code doesn’t work, above is the test page.
   If I specify manually, everything
   works as it should.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17514864)
 * It would be nice to implement in the plugin support for overriding the size, 
   position of elements.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17523584)
 * Hi [proguid](https://wordpress.org/support/users/procarmanuals/),
   Greetings. 
   Sorry for not getting back to you sooner.Could you please try this below shortcode
   and the above CSS again? `[embedpress_pdf] PDF URL [/embedpress_pdf]We’ve rechecked
   that on my end, and it appears to be functioning perfectly. Please check that
   out **[here](https://d.pr/v/cIZbqh).****Note**: We’ve attempted to access your
   page but were unable to locate the issue.Thank you.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17524060)
 * [https://procarowners.com/uncategorised/hello-world/](https://procarowners.com/uncategorised/hello-world/)
 * Your plugin has been turned off. Now it is enabled and the page is available 
   for checking.
   I’ve inserted different variants. It seems to be always 100% width
   via shortcode. With Gutenberg editor there is no change.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17527017)
 * Hi [proguid](https://wordpress.org/support/users/procarmanuals/),
   Greetings. 
   Thanks for letting us know.Since you’re using the Gutenberg editor, I recommend
   you to utilize the **EmbedPress PDF** block instead of shortcode, which has the
   option of 100% width. You can check the demonstration here: [https://d.pr/v/wXPfUD](https://d.pr/v/wXPfUD).
 * However, we will also try to improve the shortcode functionality as well.
   Thank
   you.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17528040)
 * Yeah, that’s what I did.
   The question is to insert through EmbedPress PDF and
   the parameters were inserted:width 100%height 600px.Such parameters are usually
   default on all similar plugins.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/#post-17531097)
 * Hi [proguid](https://wordpress.org/support/users/procarmanuals/),
 * Thanks for letting us know that.
   I will forward your query to the Development
   team for further improvements and will update you if there are any changes.Best
   regards
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/page/2/#post-17544747)
 * Do not change the status of the ticket as the problem has not been resolved.
 *  Thread Starter [proguid](https://wordpress.org/support/users/procarmanuals/)
 * (@procarmanuals)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/page/2/#post-17552737)
 * Fixed in the latest update.
   Width at insertion is now 100%.Great!

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

The topic ‘resize pdf insertion (Gutenberg)’ is closed to new replies.

 * ![](https://ps.w.org/embedpress/assets/icon-128x128.gif?rev=3419899)
 * [EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents](https://wordpress.org/plugins/embedpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embedpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embedpress/)
 * [Active Topics](https://wordpress.org/support/plugin/embedpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embedpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embedpress/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [proguid](https://wordpress.org/support/users/procarmanuals/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/resize-pdf-insertion-gutenberg/page/2/#post-17552737)
 * Status: resolved