• Resolved Abhishek

    (@abhishekyesankar)


    So i need to add official swiper js in my site but if i add the js the section i made previously with the help of this plugin is not working.
    can you tell me how can i add swiper js and still use this plugin
    thank you.

    • This topic was modified 2 years, 8 months ago by Abhishek.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Hardik Sharma

    (@hardiksharma)

    Hi @abhishekyesankar,
    I am not getting what you want to explain. I think you have posted this on the wrong forum.

    Thread Starter Abhishek

    (@abhishekyesankar)

    Soo sorry if you don’t understand my question let me explain it more clearly
    So I created a Thumbnail slider with help of this plugin and after that i want to make a custom slider using Swiper slider so i added Swiper JS in my site once i added the JS the previously created Thumbnail slider is not working (there might be a JS conflict).
    so in this case how can i use Swiper JS in my site without breaking Thumbnail slider.

    Plugin Contributor Hardik Sharma

    (@hardiksharma)

    Thanks for the further explanation.
    We use the swiper js library available within Elementor. So in our widgets, we define it as a dependency, and Elementor loads it wherever required.
    If you are loading swipers from your own then it might be conflicting with the one already loaded by Elementor and breaking all its implementations.
    You can either try to load swiper js conditionally or load only if no other instance is loaded.
    Also make sure to load the same library version that is loaded by Elementor. Version mismatch also causes such conflicts.

    Thread Starter Abhishek

    (@abhishekyesankar)

    Ok Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘swiper js conflict’ is closed to new replies.