Hello @Dracostar,
What you have in mind will require you to edit the Smooth Scroll plugin. Go to Plugins > Plugin Editor > Smooth Scroll. Find the views/site/smooth-scroll.php and update the code into this:
<?php
// =============================================================================
// VIEWS/SITE/SMOOTH-SCROLL.PHP
// -----------------------------------------------------------------------------
// Plugin site output.
// =============================================================================
// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
// 01. Output
// =============================================================================
// Require Options
// =============================================================================
require( TCO_SMOOTH_SCROLL_PATH . '/functions/options.php' );
// Output
// =============================================================================
?>
<script id="tco-smooth-scroll">
jQuery(document).ready(function($) {
var W = $(window).width();
if ( W > 979 ) {
$('html').addClass('tco-smooth-scroll').niceScroll({
touchbehavior : false,
grabcursorenabled : false,
preservenativescrolling : true,
// zindex : 99999,
// cursoropacitymin : 0,
// cursoropacitymax : 1,
// cursorwidth : 10,
// cursorcolor : '#444',
// cursorborder : '0',
// cursorborderradius : '0',
// hidecursordelay : 250,
scrollspeed : <?php echo $tco_smooth_scroll_speed; ?>,
mousescrollstep : <?php echo $tco_smooth_scroll_step; ?>,
});
}
});
</script>
This code will make sure that the smooth scroll will only be implemented in screens bigger than 979 pixels.
Best Regards.