-
How can I fix the following code so that when there are less than 4 slides available the slider disables or somehow just centers the 1 to 3 slides in the viewport? This is really frustrating, I thought this would be built in functionality. |
Beta Was this translation helpful? Give feedback.
Answered by
whynotadv
Aug 3, 2023
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
whynotadv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
echo '</div>';
is all I had to add to line 42 just before theelse:
realized I missed the closing div tag for the slider itself inside the php foreach statement.