WordPress.org

Forums

Shortcodes Ultimate
PDF doesn't size (6 posts)

  1. lmilesw
    Member
    Posted 1 year ago #

    No matter what I set the size attributes to the PDF shows the same.
    Here is an example on my sandbox site. It is set to 600 wide by 1100 high.

    http://wordpress.org/plugins/shortcodes-ultimate/

  2. Lisa
    Member
    Posted 1 year ago #

    Make sure you are using latest version and Set to responsive=no (unselect green in the shortcodes editor)

  3. lmilesw
    Member
    Posted 1 year ago #

    Duh... Should have seen that in the shortcode dialog. I guess my real question should have been is there a way to make the responsive window a different size?

  4. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Larry,

    try to use next code

    [document url="http://example.com/file.pdf" width="500" height="500"]
  5. Vladimir Anokhin
    Member
    Plugin Author

    Posted 1 year ago #

    Responsive means - fluid, 100% width.
    You can specify custom width instead of 100%.

    Try to add next bit of css to the Custom CSS editor:

    .su-document.su-responsive-media-yes { max-width: 500px }
  6. lmilesw
    Member
    Posted 1 year ago #

    I understand responsive but what I would like is the window my PDF shows in to match the aspect ration of the PDF. I just put in a vertical PDF and would like the responsive window to be vertical as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Ultimate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.