Jump to content

Change scroll distance in Products Category Module


Recommended Posts

edit the productscategory.js in the productscategpry module folder (inside js folder)

 

and find this

 

$(document).ready(function()
{
$('#productscategory_list').serialScroll({
items: 'li',
prev: 'a#productscategory_scroll_left',
next: 'a#productscategory_scroll_right',
axis: 'x',
offset: 0,
stop: true,
onBefore: pc_serialScrollFixLock,
duration: 300,
step: 1,
lazy: true,
lock: false,
force: false,
cycle: false });
$('#productscategory_list').trigger( 'goto', 0);
});
 
change step by the number that you want
Link to comment
Share on other sites

Thanks Shacker.  I tried editing the file in the main Module folder.  No change.  I looked in the theme Module folder.  No JS file.  Then I found it!  It was in the Theme -> JS -> Module -> productcategories -> JS.  I changed the step and the transition speed.  Works so much better thanks!

Edited by nbarnum (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...