Just documenting in case anyone else has a slider or carousel button issue.
I altered the default settings of the levels theme to show more items and to slide more items.
This led to a situation where the previous arrow button when clicked actually linked to the first displayed product in the slider.
It is purely a css issue. There are probably many ways to solve it.
My solution was to add a z-index to the slick-arrow css class
I have a custom.css in my levels theme css folder to keep my css separate from any updates to theme.
This is what I added to my custom.css
.slick-arrow {z-index: 20;} /** force the slider arrow to be infront of everything else **/
it's working both on desktop and mobile.
I set a pretty high z-index because don't want to have to revise this later.
I altered the default settings of the levels theme to show more items and to slide more items.
This led to a situation where the previous arrow button when clicked actually linked to the first displayed product in the slider.
It is purely a css issue. There are probably many ways to solve it.
My solution was to add a z-index to the slick-arrow css class
I have a custom.css in my levels theme css folder to keep my css separate from any updates to theme.
This is what I added to my custom.css
.slick-arrow {z-index: 20;} /** force the slider arrow to be infront of everything else **/
it's working both on desktop and mobile.
I set a pretty high z-index because don't want to have to revise this later.
Comment