Support » Plugin: Easy FancyBox » Custom height not working correctly

  • Resolved swaldner


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RavanH


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

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

    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.

    Plugin Author RavanH


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom height not working correctly’ is closed to new replies.