WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Custom height not working correctly (5 posts)

  1. swaldner
    Member
    Posted 1 year ago #

    I have two iframe links with custom width and height:

    <a href="page1.html" class="fancybox-iframe {width:800,height:1100}">Page 1</a><br />
    <a href="page2.html" class="fancybox-iframe {width:800,height:800}">Page 2</a>

    When I click on the second link, the fancybox window is 1100px tall. If I remove the first link, then it correctly displays 800px tall. Fix or workaround?

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    There is a fix in the development version. You can try that one or wait for the final release :)

  3. swaldner
    Member
    Posted 1 year ago #

    I loaded the development version. The height works but now the width is being ignored (width of 800 displays 1200).

  4. swaldner
    Member
    Posted 1 year ago #

    Let me clarify: the custom width is ignored and the height displays the custom height only if it fits in the view window. So if I set height at 1100 but the view window is only 800 high, it will constrain to 800.

  5. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Have you tried disabling the option "Scale large content down to fit in the browser viewport"?

    Do you have a link to your site so I can take a look?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic