Webflow Multi Image CMS
I have a CMS slider of multi images for each of the cms items. Used swiper js for this. Though I am able to slide through respective slides of the slider by dragging but the navigation arrows slides each and every slide of the sliders.
7 Replies
https://preview.webflow.com/preview/nicoenmenorcamain?utm_medium=preview_link&utm_source=designer&utm_content=nicoenmenorcamain&preview=ebcf954fe5ad5e296be41a775a06d46d&pageId=6569beec18d91dfe24470071&workflow=preview - preview link
inside the 'Je pars en vacances' page and custom code is inside the page.
Please help with this or to apply any different approach @Web Bae
@Sushant Dhiwar can you send a live link
Putting this script in the
<head>
tag makes it execute before the DOM is built. So your querySelector functions won't work.
Try moving the logic inside the loop in your </body> tag, before instantiating each Swiper instance.Hey @Web Bae trying to execute and understand the above code, the live link:https://nicoenmenorcamain.webflow.io/je-pars-en-vacances
Thanks @Web Bae I was able to crack it!
Hi @Sushant Dhiwar did you later implement it with swiper, I did similar stuff with splide because I couldn’t get swiper to work
Yes I was able to implement it with swiper by targeting each of my cms item
Nice 👍🏽