Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #372629

    Hello to the team!

    I would like to open an interactive PDF File and some html content in a modal popup from a button but I couldn´t find a solution.
    Could you maybe help me with this?

    As I have read in the support forum, there are many clients who would like to have this as an option in the theme.
    Others already offer that in their themes even with animations e.g. http://themes.damojothemes.com/?theme=miami_wp

    Is there any “hope” for us too in the near future?

    Best regards
    Asterios Georgiou

    • This topic was modified 9 years, 5 months ago by Asterios.

    Hey koelnermusikakademie!

    When you create your button or link add a “?iframe=true” to the end of it like so.

    <a href = "http://www.yoursite.com/sample.pdf?iframe=true">Click me</a>

    That should load the PDF into a popup when clicked on.

    Best regards,

    • This reply was modified 9 years, 5 months ago by Elliott.

    Hello Elliot,

    thanks for the reply.
    The popup works but there is no content visible. Any ideas?

    Best Regards
    Asterios Georgiou

    Site: http://test.koelner-musikakademie.de/anmeldung-und-gebuhren
    (Check the “Anmeldung” button)



    It’s loading fine on my end. What browser are you using?

    Try clearing your browser cache and view again.



    You are right, it does work.
    It was the cache…
    One more question:
    Would it be possible to change the size of the popup window, e.g. make it bigger?

    Thank you for your support and help.
    Asterios Georgiou



    Add this to a codeblock element in the page.

    <style type = "text/css">
    .mfp-iframe-holder .mfp-content { max-width: 1200px !important; }



    Now it is fine, thank you and all the best!

    Asterios Georgiou

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘PDF and HTML in modal Popup’ is closed to new replies.