WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
PDF doesn't size (6 posts)

  1. lmilesw
    Member
    Posted 8 months 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 8 months ago #

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

  3. lmilesw
    Member
    Posted 8 months 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 8 months 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 8 months 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 8 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.