Is it possible to make those sliders styled like "slider1" appear one below the other? It only works if i use the different designed sliders, so 1 and 2 in this example, but not if i only want my sliders to be all styled like "slider1": The second one of them is not even appearing there, it is simply showing all the pictures that should be inside the silder. I was symply trying to copy and paste this part of the code:
(I deleted the names of the pictures cause Im not sure if the one who needs my help for his website would like to find them over here.)
As Paulie D said - a CodePen would be super helpful so we can figure the problem.
However, my gut says that if you're trying to run two sliders and one isn't working then it's related to the Javascript in your probably only setup to run #slider1 rather than both.
It only works if i use the different designed sliders, so 1 and 2 in this example, but not if i only want my sliders to be all styled like "slider1": The second one of them is not even appearing there, it is simply showing all the pictures that should be inside the silder.
I was symply trying to copy and paste this part of the code:
(I deleted the names of the pictures cause Im not sure if the one who needs my help for his website would like to find them over here.)
I have not changed a lot about the page.css and so on, and everything works fine as long as there is only one "slider1". Where could the problem be?
Hopefully you have some suggestions.
At the end of the code, of course
A link would be best or re-create the structure (HTML/CSS/JS) in Codepen
I'm assuming that you have given the 2nd slider an ID of 'slider2' and updated the css to style it the same as 'slider1'?
However, my gut says that if you're trying to run two sliders and one isn't working then it's related to the Javascript in your probably only setup to run #slider1 rather than both.