Creating a CMS-powered basic slider in Webflow using Swiper

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ค. 2023
  • [ Get the cloneable ]
    webflow.com/made-in-webflow/w...
    After asking around on Twitter, a lot of people seem to struggle a bit with creating CMS-powered (basic) custom sliders in Webflow. So I'm making two videos on how to do so. In this first one, we'll cover a very basic setup for a looping team slider, with custom buttons. Tomorrow I'll post a video on a slightly more advanced but very cool image gallery with a parallax effect.
    ** Edit: realized that I forgot to talk about the sorting of the slider items after mentioning the number CMS field. You can do so by entering the CMS List settings in your settings panel, and sort the list by your number field. **
    [ Links 👇 ]
    Swiper: swiperjs.com/
    Finsweet Extension: chrome.google.com/webstore/de...
    Codesandbox: codesandbox.io/
    How I record my screen: www.screen.studio/
    [ Do you speak Dutch? 🇳🇱 🇧🇪 ]
    Join the largest and most vibrant no-code community!
    www.nocodecommunity.nl/
    [ My socials ✌️ ]
    Twitter: / iljavaneck
    Instagram: / by.ilja
    Awwwards: www.awwwards.com/ilja-van-eck/
    Webflow profile: webflow.com/@iljavaneck
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 51

  • @jaisandhu26
    @jaisandhu26 14 ชั่วโมงที่ผ่านมา

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

  • @jamesmac7071
    @jamesmac7071 28 วันที่ผ่านมา

    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.

  • @duncanprince
    @duncanprince ปีที่แล้ว +1

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

  • @patrick_foley
    @patrick_foley 10 หลายเดือนก่อน +2

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

  • @OSANDA_Design
    @OSANDA_Design ปีที่แล้ว +2

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

  • @jansleyreal
    @jansleyreal 7 หลายเดือนก่อน

    Super well done, I plan on implementing this soon!

  • @Sergy_Kondrashin
    @Sergy_Kondrashin ปีที่แล้ว +1

    Nice and simple! 🔥🔥🔥

  • @ben-celinski
    @ben-celinski 8 หลายเดือนก่อน

    Fantastic explanation again!

  • @mariawungsung
    @mariawungsung 4 หลายเดือนก่อน

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

  • @coralineoscar546
    @coralineoscar546 6 หลายเดือนก่อน

    Nice job mate!

  • @tioass
    @tioass ปีที่แล้ว +1

    awesome video!

  • @kelly_browning
    @kelly_browning หลายเดือนก่อน

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

  • @armansalehi
    @armansalehi ปีที่แล้ว +1

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

  • @ZhukAcademy
    @ZhukAcademy ปีที่แล้ว +1

    Like it bro! Thanks!

  • @emmanuelolowookere3623
    @emmanuelolowookere3623 ปีที่แล้ว +1

    Thanks for this ✨✨

  • @prodbydissa
    @prodbydissa 3 หลายเดือนก่อน

    Amazing dawg

  • @wearestudiotonic
    @wearestudiotonic 10 หลายเดือนก่อน +1

    Good combo class tip 🤔

  • @02foreva
    @02foreva 9 หลายเดือนก่อน +1

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

    • @iljavaneck
      @iljavaneck  8 หลายเดือนก่อน

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

  • @jverdin
    @jverdin 10 หลายเดือนก่อน +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 :(

  • @developermsmahadi
    @developermsmahadi 7 หลายเดือนก่อน

    Thank you so much

  • @weezyf775
    @weezyf775 10 หลายเดือนก่อน +8

    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 2 หลายเดือนก่อน

      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.

  • @user-xo4jj5nf8n
    @user-xo4jj5nf8n ปีที่แล้ว +2

    I love this sss

  • @goldenant9450
    @goldenant9450 10 หลายเดือนก่อน

    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

  • @dennissnellenberg
    @dennissnellenberg ปีที่แล้ว +1

    🔥🔥🔥🔥🔥

  • @sykowhite9465
    @sykowhite9465 4 หลายเดือนก่อน

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

  • @joaomob.
    @joaomob. 6 วันที่ผ่านมา

    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.

  • @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  ปีที่แล้ว +8

      @@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 10 หลายเดือนก่อน +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  9 หลายเดือนก่อน

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

  • @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 :)

  • @timallen4367
    @timallen4367 11 หลายเดือนก่อน

    @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  10 หลายเดือนก่อน

      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

  • @garethellison01
    @garethellison01 6 หลายเดือนก่อน +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  16 ชั่วโมงที่ผ่านมา

      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!

  • @dickyafisena8595
    @dickyafisena8595 ปีที่แล้ว +1

    This is awesome turtorial for me!
    I'am a UI designer and new in webflow, and want to become expert like what you did, so i want to ask.. how to become an expert webflow? whats programing language should i learn to make like what you did in ur instagram works. Thank you.

    • @iljavaneck
      @iljavaneck  ปีที่แล้ว +1

      glad you like it! Webflow allows you to visually manipulate HTML and CSS, so understanding that is key. I've heard good things about Flux Academy courses!
      When you have the basics covered, you can get more and more advanced by diving into custom coded interactions and animations

  • @dianaatobe7995
    @dianaatobe7995 8 หลายเดือนก่อน +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 8 หลายเดือนก่อน +1

      did you find it out, same problem here.

    • @iljavaneck
      @iljavaneck  8 หลายเดือนก่อน

      @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

  • @thomasboury6840
    @thomasboury6840 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

      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

  • @neha-gupta-smitch
    @neha-gupta-smitch 5 หลายเดือนก่อน

    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  16 ชั่วโมงที่ผ่านมา

      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!

  • @quentinboulestin4501
    @quentinboulestin4501 3 หลายเดือนก่อน

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

  • @coterie_black
    @coterie_black 11 วันที่ผ่านมา

    this is a convoluted mess, holy hell

  • @fazlu3706
    @fazlu3706 ปีที่แล้ว +1

    Swiper slider at its purest form 🤌