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.
Jul 6, 2017, 9:20 AM
Jul 17, 2017, 2:12 PM
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com