Include jquery on your site by including it on your page
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
Then write a small script as follows:
<script type="text/javascript"> $(document).ready( function() { if (screen.width <= 480) { $('.boxInner a').on('click', function (event) { event.preventDefault(); }); } }); </script>
This should check if the screen is <= 480, and disable links, if any.
source share