Toggle Switch With Text in Webflow

Поделиться
HTML-код
  • Опубликовано: 15 май 2023
  • In this video tutorial, I’ll teach you how to create a working toggle switch (with text) using Webflow. After this tutorial, you will be able to add an interaction to the toggle to do whatever you would like.
    Intro:
    00:00
    Example sites:
    00:07
    Webflow Walkthrough:
    01:11
    Closing Remarks
    16:02
    📢 Connect With Me
    - Website: www.dereksiu.com.au/
    - Fiverr: www.fiverr.com/dereksiu
    👇 Affiliate Links:
    Hire a Freelancer: fiverr.grsm.io/k8bhq1js4hmx
    Try Webflow: webflow.grsm.io/4brsncjjm7ge

Комментарии • 26

  • @aurimatrix_medical_solutions
    @aurimatrix_medical_solutions Месяц назад +1

    Thank you very much. It was very helpful !

  • @ErikaK003
    @ErikaK003 9 месяцев назад +1

    great tutorial, thank you very much!

  • @dezhiww
    @dezhiww 3 месяца назад

    super helpful, thank you!!

    • @dereksiuau
      @dereksiuau  3 месяца назад

      Glad it was helpful :) Thanks for watching!

  • @amolkairamkonda9270
    @amolkairamkonda9270 9 месяцев назад

    Really helped! thankyou 🙌

    • @dereksiuau
      @dereksiuau  9 месяцев назад

      Glad it helped 🙌

  • @malekz3atreh495
    @malekz3atreh495 Год назад +1

    thanks man that was helpful

    • @dereksiuau
      @dereksiuau  Год назад

      Glad you found it helpful :)

  • @teapotradio
    @teapotradio 3 месяца назад +1

    thanks man

    • @dereksiuau
      @dereksiuau  3 месяца назад

      Happy to help man :)

  • @michaelgray8542
    @michaelgray8542 4 месяца назад +1

    Hi, thank you for the content. Was just wondering if a toggle switch animation can be used in tandem with a page transition. Say if I wanted to style my nav menu like an on/off switch with one side being the home page and upon clicking the toggle, it animates to the other side and brings the user to another page?

    • @dereksiuau
      @dereksiuau  4 месяца назад +1

      Great question - if this wasn't a page transition then that would be quite simple and can be done natively in Webflow.
      As for the page transition that is quite hard to do natively - probably can be achieved through custom code.
      The easiest way (not the best) is to have 2 duplicated page:
      1/ Navbar #1
      2/ Navbar #2
      So when user clicks toggle it takes them to the appropriate page.
      Hope this helped
      - Derek

    • @michaelgray8542
      @michaelgray8542 4 месяца назад

      @@dereksiuau thank you I think that pointed me in the right direction. Going to try it out tomorrow 🙏🏽

  • @daarongonzalez1650
    @daarongonzalez1650 Год назад

    Great tutorial, it was exactly what I was looking for! I do have one question, when I hit the toggle off button the ON text goes white to black, but the OFF text just stays black. I double checked my animations, and the toggle off interaction has the current text-toggle going from black to white. Any ideas on what other issues could be causing this? Appreciate it.

    • @dereksiuau
      @dereksiuau  Год назад +1

      Hey, thanks for watching and commenting. I suspect you may have not targeted the unique combo class for the OFF text. Otherwise I can investigate further if you provide a read only link :)

    • @daarongonzalez1650
      @daarongonzalez1650 Год назад

      @@dereksiuau Thank you for replying! I'll take a look and check my unique combo class and make sure I have it targeted! I know it's something simple that I'm over looking!

    • @dereksiuau
      @dereksiuau  Год назад

      @@daarongonzalez1650 Yeah - give it a double check, I'm sure it's something simple :)

  • @suebinmoon8173
    @suebinmoon8173 Год назад

    Hi! I have successfully built the toggle! Thank you. I just have a one question. When I duplicated the page which has the same toggles, the texts color in the toggle would change and wouldnt work all the same. Even if I make changes again, the other page toggle changes the color and wouldnt work the way I created. Do you know why?:0

    • @dereksiuau
      @dereksiuau  Год назад

      Hey! Thanks for the comment - did you make sure the toggle affects the class (Blue Paint Brush Icon) and not interaction (green lightning bolt Icon)?

    • @suebinmoon8173
      @suebinmoon8173 Год назад

      @@dereksiuau Thank you for the reply! Yes! I made the toggle switch affect > class and texts effect > Selected element

    • @suebinmoon8173
      @suebinmoon8173 Год назад

      @@dereksiuau Thanks!!! I also changed the texts affect > class. Now it works!!! Thank you so much:)

    • @dereksiuau
      @dereksiuau  Год назад

      @@suebinmoon8173 Awesome stuff! - Glad it worked, great job on making everything work, it's a great satisfying feeling 😁

  • @tatsianavaleri
    @tatsianavaleri 8 месяцев назад

    great tutorial, thank you very much!

    • @dereksiuau
      @dereksiuau  8 месяцев назад

      Thanks for watching and glad you found it helpful :D