-
-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop sliding when only having 1 image? #158
Comments
I too am looking for this solution. Using this to display images on a news article. Will only need functionality when more than one item is in the slideshow. Did you ever figure something out zruu? |
I found this thread digging through older posts: #54 However, the code has likely been updated since because I can't figure out where that snippet of code goes. Maybe admin has some ideas? |
Issue you mentioning applies to version 1.^, not current. You can't apply it in version 2.^. Solution is pretty straightforward. We need to escape eailer from Added to milestone, but pull requests are welcome :) |
Fixed with 040feee. |
Hi! Thank you for the recent commit. It stops the slide effect with just one image. But it still shows the Prev/Next control buttons. Any idea how to not show these? Thanks in advance for your help! |
Hi! I want to check in and see if you had a solution to prevent the Prev/Next controls from showing when there is only one image? |
The arrow gets a "disabled" class. So just apply custom CSS to hide it. |
@marcwieland95 I can't believe I missed that! Thanks! Simple solution. |
How can I make the Glide.js stop sliding when only having one image? Is it possible?
The text was updated successfully, but these errors were encountered: