Comments Robin started the conversationMay 11, 2020 at 2:31pmHi Clapat support theme, I would like to ask you some support into disabling the movement on the .hero-bg-image upon mouse movement. Could I know if I need to disable any function to do so? Or if is a matter of adding extra code?ThanksRobin 1,973Support repliedMay 11, 2020 at 3:07pmHello Robin,try to remove or comment out the following line in /js/scripts.js:$('#hero').mousemove(function(e){ if(timeout) clearTimeout(timeout); setTimeout(callParallaxHero.bind(null, e)); });line 566 and then hard refresh the page (Ctrl+F5) to see the changesThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyRobin repliedMay 11, 2020 at 3:47pmHey Great work Clapat support, I couldn't identify the tilt function but now I managed to disable it! Thank youRobin 1,973Support repliedMay 11, 2020 at 3:49pmThat's great!Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Hi Clapat support theme,
I would like to ask you some support into disabling the movement on the .hero-bg-image upon mouse movement.
Could I know if I need to disable any function to do so? Or if is a matter of adding extra code?
Thanks
Robin
Hello Robin,
try to remove or comment out the following line in /js/scripts.js:
$('#hero').mousemove(function(e){
if(timeout) clearTimeout(timeout);
setTimeout(callParallaxHero.bind(null, e));
});
line 566 and then hard refresh the page (Ctrl+F5) to see the changes
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hey Great work Clapat support,
I couldn't identify the tilt function but now I managed to disable it!
Thank you
Robin
That's great!
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy