Support » Plugin: Easy FancyBox » Fancybox Iphone Theme images not scaling

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH


    It’s probably some CSS thing but I have no way of debugging that. Maybe you’ll be better off disabling fancybox for small screens. For this, you need to upgrade to the development version available on and then insert this code in a text widget or in the footer.php of your theme:

    <script type="text/javascript">
    var pixelRatio = window.devicePixelRatio || 1;
    if(window.innerWidth < 500 || window.innerHeight < 500 || window.outerWidth < 500 || window.outerHeight < 500 ) {
      jQuery(document).off('ready gform_post_render', easy_fancybox_handler);

    (change the values 500 of you want to switch fancybox off at a different max window size)

Viewing 1 replies (of 1 total)
  • The topic ‘Fancybox Iphone Theme images not scaling’ is closed to new replies.