Comments darren started the conversationAugust 16, 2019 at 3:19pmI was wondering why the main slider can't be controlled by cursor key? It's seems that you have to drag left or right with the mouse.Is this correct?thanks 1,974Support repliedAugust 17, 2019 at 7:31amHello Darren,you can try enabling keyboard control in /js/scripts.js in function Portfolio(){ ... }where the swiper options are initialised depending on the slider type:using keyboard parametervar swiperOptions = {... keyboard: { enabled: true, onlyInViewport: false },...}but you also may want to look over this issue here:https://github.com/nolimits4web/swiper/issues/2380Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policydarren repliedAugust 17, 2019 at 10:37pmTryed that. I presume i just the code to what is already there, rather than replace the code? 1,974Support repliedAugust 19, 2019 at 6:55amYes, that's right however make sure you are using the options corresponding to the right slider type - in the screenshot it's the split slider (so you can have full, split and centered sliders)Also hard refresh the page ( Ctrl+F5 )Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
I was wondering why the main slider can't be controlled by cursor key? It's seems that you have to drag left or right with the mouse.
Is this correct?
thanks
Hello Darren,
you can try enabling keyboard control in /js/scripts.js in function Portfolio(){ ... }
where the swiper options are initialised depending on the slider type:
using keyboard parameter
var swiperOptions = {
...
...
}
but you also may want to look over this issue here:
https://github.com/nolimits4web/swiper/issues/2380
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Tryed that. I presume i just the code to what is already there, rather than replace the code?
Yes, that's right however make sure you are using the options corresponding to the right slider type - in the screenshot it's the split slider (so you can have full, split and centered sliders)
Also hard refresh the page ( Ctrl+F5 )
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy