• Resolved FAUCHERD

    (@faucherd)


    Is it possible to have the pop-up image responsive?

    Il a cellphone, the pop-up image is too large.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi, you can either activate the option “Scale large content down to fit in the browser viewport.” on Settings > Media or you can try this work-around to disable the popup effect on smaller devices:

    
    <script type="text/javascript">
    var pixelRatio = window.devicePixelRatio || 1;
    if(window.innerWidth/pixelRatio < 641 ) {
      easy_fancybox_handler = null;
    };
    </script>
    

    Put this in an HTML widget in your sidebar or footer. You can adapt the number 641 to another screen width (in pixels) if you like.

Viewing 1 replies (of 1 total)
  • The topic ‘Pop-up responsive’ is closed to new replies.