Swiper Js not working for CMS


Hi,

I have added a Swiper Js in my clients project. The Same code and structure is working on static elements but when i apply it to cms Then it is not working properly. I am attaching a structure screenshot and code of the Swiper JS. Can anyone help me with this.

1 Like

hi @Kamran_Ahmad as code is missing no one can check if is implemented correctly. Common practice required for help is sharing project link. If you can’t share link you can always create a secondary demo project which you can share. Anyway as Swiper with WF is common combination you can find many examples, articles or videos “how to”. Im not 100% sure but when using CMS you have to wait when all data are loaded. hope these hints will push you right direction to solve your issue.

1 Like

Hi @Stan,

Thank you for your reply. The issue was with the parent of the block class — when I moved the Swiper into a new parent class, it started working correctly. I’m not sure what the problem was with the previous class I had assigned to the div, but the issue is now resolved.

2 Likes