If I copy the code that you posted to a file and open that file in my browser, will it demonstrate the problem?
Because I see several classes with no corresponding CSS, I doubt that it will. Which means that we do not have access to all of the code affecting the slider.
You can remedy this in one of three ways:
(1) post a link to your test site.
(2) create a CodePen that demonstrates the problem.
(3) create a “working page” and attach or include it in a post so we can copy it to our computers and see the problem in action.
With access to the complete code, we can help you troubleshoot the issue.
Personally, I prefer a “working page” because I have to create one anyway to work on your code, but the choice is up to you. Complete, relevent code, is the key.
If you have not read our posting guidelines, please do.
Forum guidelines:
https://www.sitepoint.com/community/faq#civil
Forum POSTING BASICS: (Help us help you!)