I need to disable fancybox on small screens. I read your FAQ and see where you recommended using:
That did not work for me. I was confused by the gform_post_render as I don't use gravity forms, so I removed that and changed that line to:
That didn't work either. I also found a version that added
var pixelRatio = window.devicePixelRatio || 1;
But none of the combinations I tried will work.
Do you have any advice?