Jump to content

Homeslider width broke on Chrome when zooming


brandonc503

Recommended Posts

  • 4 weeks later...

i have changed widths in css and in module to 535px. in chrome, when i zoom in or out, the left position that is used to slide is not calculated right.. should be left: -1070px, but at different zoom distances its different amounts..

 

There is a problem with the jquery animate method and chrome zoom. If you dont mind the transition effect, it works fine using fade mode. Change 'homeslider.js' (<prestashop-path>/modules/homeslider/js/homeslider.js):

 

 

$('#homeslider').bxSlider({

mode: 'fade',

infiniteLoop: homeslider_loop,

hideControlOnEnd: true,

pager: true,

autoHover: true,

auto: homeslider_loop,

speed: homeslider_speed,

pause: homeslider_pause,

controls: false

});

 

Fernando

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...