Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Justin Call
1,553 PointsBootstrap carousel not working on mobile devices
Hello,
The site is here: www.idoolocal.com
It works great on desktop but when viewed on a mobile device the carousel does not show at all. I have added all img-responsive tags as noted in the bootstrap documentation.
Any thoughts?
2 Answers
Justin Call
1,553 PointsHi Jennifer - Sorry, should have specified. I've tried on iphones and android phones. Yes, appears to be working on tablets. Justin
Mark Wilkowske
Courses Plus Student 18,131 PointsHey Justin, in each carousel <li> check the syntax of the data-slide-to attributes. No spaces needed before/after "=". Validating your page here https://validator.w3.org/ reveals a couple other errors. Cheers!
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHow many mobile devices have you tried? And have you made sure JavaScript is not deactivated on them?
Btw, I'm looking at it on my iPad Air 2 running iOS 9.3.2 with Safari, and the carousel not only works, but looks very nice