Carousel: Change body css on swipe
-
Hey there,
is it possible to change a general body css class while swiping on a mobile carousel image pool?
That would help me a lot.All the best
Phil -
Hi Phil,
sure. That is possible with a little jQuery or Javascript.
But there is no default option included. So you need to somehow fire the new class when the carousel gets turned.
You are familiar with jQuery?
Best!
Marius
-
Thanks, Marius, I got it working with jQuery.
Try this to fix issues before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it