In the codepen example you have 2 sliders because you are calling the functions twice. You have script in your HTML editor and also in the script editor.
So if you get rid of all the script in the HTML view and just stick to the script in the script view it will probably be fine.
I see lightslider being called on the element with selector #content-slider, which doesn’t exist by the way.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Design’ is closed to new topics and replies.