Creating a CMS-powered basic slider in Webflow using Swiper

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 68

  • @mateusvidal3187
    @mateusvidal3187 2 місяці тому +1

    I've tried so many times through other tutorials, but yours is the best one man. Thanks a lot for sharing this amazing video!

  • @РусланНикитин-к9с
    @РусланНикитин-к9с 4 місяці тому +1

    Hi! Watched through 4 or 5 different tutorials, couldn’t make anything and then found this. Watched your video one time, just one time and made my slider work. Everything is so clear. Thank you a lot!!!

    • @iljavaneck
      @iljavaneck  3 місяці тому

      I'm so glad to hear, glad it was helpful!!

  • @patrick_foley
    @patrick_foley Рік тому +2

    big shout-out for pointing out that Finsweet custom code cookie I never noticed before. Huge time saver.

  • @weezyf775
    @weezyf775 Рік тому +9

    i'd love to see a video showing how you're able to use code sandbox. i watched and followed along to your codesand box video, but you don't seem to cover how to get your webflow site to show up.
    You mention you're using the FinSweet plug-in to add the code to the site settings - does that mean without the Finsweet plug-in you wouldn't add the code to the page, but rather site settings?
    I've tried both to no avail, but I'm trying to understand what I'm doing wrong.
    Thanks

    • @daneqvl
      @daneqvl 7 місяців тому

      I ran into the same issue. I got it working after i replaced all the single quotation marks (') with double quotation marks (") in the "Initialize Swiper" code provided by the Swiper website.

  • @jamesmac7071
    @jamesmac7071 6 місяців тому

    That tidbit about changing the class name for the button elements is a lifesaver, was going crazy trying to figure out why they kept disappearing when I'd publish. What a weird quirk, thank you.

  • @OSANDA_Design
    @OSANDA_Design Рік тому +2

    This is Super Helpful man. First Teaching The Basics and Then The Badass Thing.

  • @jaisandhu26
    @jaisandhu26 5 місяців тому

    Thanks! This just saved a lot of time researching and figuring out how to make it work

  • @RashedKhanMenon-u4w
    @RashedKhanMenon-u4w 2 місяці тому +1

    You are awesome! Please upload more videos.

  • @mariawungsung
    @mariawungsung 9 місяців тому

    Thank you! This was just what I was looking for! :)

  • @duncanprince
    @duncanprince Рік тому +1

    Fantastic tutorial, love how easy you make it all look :D Thank you, Ilja 🔥

  • @Samuel-abadie
    @Samuel-abadie 3 місяці тому +1

    Thank you, that was really helpful !

  • @kelly_browning
    @kelly_browning 6 місяців тому

    AMAZING!! Thank you so much for explaining the responsive code too. Instant sub!!

  • @jansleyreal
    @jansleyreal Рік тому

    Super well done, I plan on implementing this soon!

  • @02foreva
    @02foreva Рік тому +1

    Great explanation! I come from a design background. And with your tutorials this sandbox-swiper-GSAP-thing is less intimidating. 💪

    • @iljavaneck
      @iljavaneck  Рік тому

      Ahh that's great to hear, appreciate your comment!

  • @armansalehi
    @armansalehi Рік тому +1

    Damn... now it really feels like it'll a piece of cake haha 👌💪

  • @HarjapnSingh
    @HarjapnSingh 29 днів тому +1

    Much love

  • @ThaoHuynh-sh5vn
    @ThaoHuynh-sh5vn 2 місяці тому +1

    Can we have the horizontal scroll effect for the cms slider?

    • @iljavaneck
      @iljavaneck  Місяць тому

      You mean using trackpad and/or horizontal mousewheel? Yes, Swiper's got an option for it: swiperjs.com/swiper-api#mousewheel-control

  • @ben-celinski
    @ben-celinski Рік тому

    Fantastic explanation again!

  • @moremekimangmolai119
    @moremekimangmolai119 4 місяці тому +1

    Thank you, bro!

  • @thomasboury6840
    @thomasboury6840 Рік тому +1

    Is there something special with the arrows that you didn't mention? I try to create some links block with icon inside, with the "swiper-btn-prev" class on them. But nothing happens when I click on them... :(

    • @iljavaneck
      @iljavaneck  Рік тому

      Make sure you target the correct class names in your navigation parameter in Swiper, like I'm doing at around 11:50. If you have those set correctly, double check that there is no elements overlapping the buttons which prevent the user from clicking the buttons

  • @dianaatobe7995
    @dianaatobe7995 Рік тому +1

    loved the video! But I have a question, does the webflow site need to be published for the slider to work? And the codesandbox, is it just a vanilla javascript template?

    • @shanmc777
      @shanmc777 Рік тому +1

      did you find it out, same problem here.

    • @iljavaneck
      @iljavaneck  Рік тому

      @dianaatobe @shanmc777 Yes, the site has to be published for the slider to work. Custom JS doesn't work inside of the Webflow designer. And also yes, it's a vanillaJS template! You can check out my last video to learn more about how I use CodeSandbox

  • @tioass
    @tioass Рік тому +1

    awesome video!

  • @goldenant9450
    @goldenant9450 Рік тому

    i just want to add a link block insider the slide to wrap everything, - however, doing so breaks the design. it's so frustrating when you want a div to do NOTHING, yet can'tseem to make that happen.
    Also, if you didn't style the slides, such as making them 20rem and addingthe gaps , would that effect the final results? or did you just do that so the desing on the webflow canvas would match the live version

  • @sykowhite9465
    @sykowhite9465 9 місяців тому

    how do you connect navigation to swiperjs? for me it shows basic ones, and shows only previous button

  • @Sergy_Kondrashin
    @Sergy_Kondrashin Рік тому +1

    Nice and simple! 🔥🔥🔥

  • @coralineoscar546
    @coralineoscar546 11 місяців тому

    Nice job mate!

  • @garethellison01
    @garethellison01 Рік тому +1

    Jumped to Codesandbox which for those who have never used before becomes too difficult to follow along. Looked good up until that point.

    • @iljavaneck
      @iljavaneck  5 місяців тому

      Sorry about that - will not take this for granted in following videos. I have a guide on how to setup a codesandbox on my channel now!

  • @jverdin
    @jverdin Рік тому +1

    This was awesome! Do you have any tutorials on how to add a scroll bar and connect the buttons to the code? Didn't see them in your channel :(

  • @ZhukAcademy
    @ZhukAcademy Рік тому +1

    Like it bro! Thanks!

  • @eli.alcaraz
    @eli.alcaraz Рік тому +3

    This was super helpful. Hit like! Thank you.
    Question - what is codesandbox? What do you use it in conjunction with Webflow? Can achieve the same effect without using it?

    • @eli.alcaraz
      @eli.alcaraz Рік тому +1

      I see pros like Timothy Ricks use this too. But it all looks very intimidating. Maybe one video suggestion would be a Webflow+Codesandbox101 Overview.

    • @iljavaneck
      @iljavaneck  Рік тому +9

      @@eli.alcaraz You can definitely achieve the same with just using the Webflow custom code section. The reason for Codesandbox is that you don't have to hit 'publish' in Webflow after every edit (and then wait for it to publish), But rather hit save in codesandbox, and immediately refresh your site to see the changes - this works much faster during the build process.
      When done, you take the code from csb and paste it in Webflow (or host them somewhere else if you like).
      I'll definitely create a short video soon that quickly covers how it works!

    • @jgustafe
      @jgustafe Рік тому +1

      How do you create the codesandbox though. Which do you start with, react, vanilla, etc? That's where I'm stuck. @@iljavaneck

    • @iljavaneck
      @iljavaneck  Рік тому

      @@jgustafe check out the latest video on my channel! It goes through all of those steps.

  • @wearestudiotonic
    @wearestudiotonic Рік тому +1

    Good combo class tip 🤔

  • @emmanuelolowookere3623
    @emmanuelolowookere3623 Рік тому +1

    Thanks for this ✨✨

  • @joaomob.
    @joaomob. 5 місяців тому

    Sorry, it's not clear to me. At the end, what we need to do with the code we just created? You didn't say.

  • @prodbydissa
    @prodbydissa 9 місяців тому

    Amazing dawg

  • @akinolaolayinka4065
    @akinolaolayinka4065 Рік тому +1

    This is dope Ilja!
    Were you a developer before picking up webflow?

    • @iljavaneck
      @iljavaneck  Рік тому

      Thanks! Had some basic knowledge on HTML, CSS and some JS from university :)

  • @neha-gupta-smitch
    @neha-gupta-smitch 11 місяців тому

    Amazing tutorial, love how you explained each bit so that I can customise the code myself. Just one question, how do I get this code on webflow. I see you used the sandbox, but is there a way to do this without the sandbox. i.e. where do I paste this code in webflow

    • @iljavaneck
      @iljavaneck  5 місяців тому

      hey! Glad it was helpful :) You would open up the page settings, and scroll to the bottom. There's a code section that is called 'before '.
      Copy and paste the following:
      // Paste your code below this line
      And then paste the code on the empty line, between the tags!

  • @timallen4367
    @timallen4367 Рік тому

    @iljavaneck, After cloning to my site i run into an issue where the slider stops once i hit the last item. Any thoughts on a fix for that? Thanks!

    • @iljavaneck
      @iljavaneck  Рік тому

      To have a looping slider, I believe your total number of slides should be more than double the amount of slidesPerView. If this is not the case, the loop will probably behave in weird ways

  • @tIoading
    @tIoading 3 місяці тому +1

    what was using swiper for?

    • @iljavaneck
      @iljavaneck  3 місяці тому

      Building customisable sliders! Its a great library.

  • @Hman911999
    @Hman911999 Місяць тому +1

    Does it work without cm/s?

    • @iljavaneck
      @iljavaneck  Місяць тому +1

      Yep! Technically each layer of a collection list is just a div. So just replace your collection list and list wrapper with divs, and manually add slides to your slider by duplicating divs as well!
      Could be nice to make the whole thing a component. Replace your list (direct parent of all slides) with a slot, so you cane easily add slide components

    • @Hman911999
      @Hman911999 Місяць тому

      @@iljavaneck Thanks for the reply. tried the tutorial, you do an amazing job but you lost me with the external coding program. Don't know how i can open and connect this

    • @Hman911999
      @Hman911999 Місяць тому

      @@iljavaneck just saw the codesandbox tutorial on your channel :D Gonna watch this. Your amazing

    • @Hman911999
      @Hman911999 Місяць тому

      @@iljavaneck Well I don't know what i do wrong but it doesnt work for me. I'll try again tomorrow

  • @developermsmahadi
    @developermsmahadi Рік тому

    Thank you so much

  • @MartinsOlaniyan
    @MartinsOlaniyan Рік тому +2

    I love this sss

  • @dennissnellenberg
    @dennissnellenberg Рік тому +1

    🔥🔥🔥🔥🔥

  • @fazlu3706
    @fazlu3706 Рік тому +1

    Swiper slider at its purest form 🤌

  • @quentinboulestin4501
    @quentinboulestin4501 8 місяців тому

    @ilja Van Eck it does'nt work with my code ! Probably not plugged in correctly but don't know why ;(

  • @coterie_black
    @coterie_black 5 місяців тому +1

    this is a convoluted mess, holy hell