Webflow Unlocks Class Attribute

Поделиться
HTML-код
  • Опубликовано: 14 апр 2024
  • Get the cloneable for this project (affiliate link)
    webflow.grsm.io/tricks?path=c...
    Join my Webflow Wizards Community
    / timothyricks
    Try Webflow using my affiliate link below.
    webflow.grsm.io/4840096
  • ХоббиХобби

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

  • @davidfitcher2953
    @davidfitcher2953 3 месяца назад +17

    If there was a golden crown with the shape of the Webflow logo, we all know who deserves to wear it. 😎

    • @austinandriese
      @austinandriese Месяц назад

      This is beautiful, please, someone make this happen 😂

  • @jordan.g
    @jordan.g 3 месяца назад +8

    The CMS collection use case is amazing. Thanks for sharing, Tim!

  • @ericschenkenberger6118
    @ericschenkenberger6118 3 месяца назад +2

    Dang, wish I'd seen this yesterday! I just built a collection list with options like "Photos Position: Left or Right" (next to a rich text element) and "Logo Position: Above or Below Portrait" to give the user 4 options on layout, and I was just hiding/showing content depending on which options they chose. This is probably a much more page-speed-friendly way of doing that.

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

    Rewatched for a refresher!

  • @saschatribula2650
    @saschatribula2650 3 месяца назад +2

    That is amazing! Thanks again Timothy!

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

    brilliant use case of this new freature. thanks for sharing this with us!

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

    This is a great tip. Thank you Timothy!

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

    Wow. This is amazing. Thanks for sharing!

  • @paulocardoso8519
    @paulocardoso8519 3 месяца назад +2

    Timothy you're a Wizard! Thank you for sharing

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

    Great explainer of a super powerful improvement here Tim. Can’t wait for your stream with Corey!

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

    You are the master of webflow!

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

    Thanks for sharing!

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

    I knew you were gonna be the first to make a video about it! 💪

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

    Wow this is huge, thanks for the update! As always it arrives right as I'm wrapping up a complex CMS project that would have been so streamlined with this haha. I had to rely on custom CSS in the HTML embed to target items with custom attributes applied. Looking forward to how smooth this should make that kind of thing in future though and glad to see Webflow still improving features for power users.

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

      Better late than never I guess. I’m really glad they added this one also!

  • @rikodou808
    @rikodou808 2 месяца назад +1

    Ahh this is so amazing! By the way, what program do you use to record your videos? I love how the screen zooms in when you're typing in text fields and the mouse is larger to help us follow along.

    • @timothyricks
      @timothyricks  2 месяца назад

      Thanks so much! I use www.screen.studio/

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

    Stellar Tip!

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

    This is good.

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

    Hello T. Ricks. I noticed that a video was missing from your list of videos and I think your website. I once practiced with your video on how to make a Liquid Nav Anchor links. But, I noticed today when I wanted to use it as a reference that I couldn't find it anymore. Just want to know if you deliberately removed it and added it to patreon or it somehow isn't there anymore. Thanks

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

    🔥🔥🔥

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

    We can finally use BEM as it was designed.

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

    Hi, Timothy! What software do you use to create your tutorials? I see you mouse cursor moving smoothly and camera zooming in at times. Cool stuff!

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

      Thank you! I'm using Screen.Studio

  • @LeonardoAntunes-kv7mt
    @LeonardoAntunes-kv7mt 3 месяца назад

    Tim, any tips for importing the lumos framework into a huge existent project?

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

      Hi, I created a Figma file that can be used with the Figma to Webflow app to import most variables. But it requires some manual cleanup work since the plugin doesn’t support font families, unit types, or cross referenced variables
      www.figma.com/community/file/1342629820752129716/bulk-import-variable-starters-into-webflow
      For copying the utility classes, copying the entire page_wrap of the Lumos styleguide and pasting it into your project should bring them all over. xAtom created a chrome extension that can prevent classes from getting duplicated when we copy and paste
      chrome.google.com/webstore/detail/xsync-by-xatom/pdefeeiifpfkkoeppdjnhefenadjbanj

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

    Cool, thansk.
    Is it possible for the client to add 'blocks' and 'sections' by triggering visibility or something? For the cases in which the client needs to add something to their website without having to hire a dev. Can they add a another page and choose a Section component, and blocks within that section?

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

      Yes, it’s totally possible! This is how I’m training my clients currently. We can build a whole searchable system with components that makes it easy and safe for anyone to build new pages. I have a more in depth video on it here. ruclips.net/video/y4oTdCa4jSA/видео.htmlsi=HtA9rhdgmGBwMR65

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

      @@timothyricks Love it, Webflow is getting better and better. I hope to see a video of you showing your workflow for that specific system, like a use-case video.

  • @kylepitocchelli1738
    @kylepitocchelli1738 Месяц назад

    Do you recommend using this technique to achieve component-based styling changes over adding a data-attribute? I'm using data-padding="none", "top", "bottom" to allow clients the flexibility but just using a combo class with this method seems uch more straight forward and more broadly applicable.

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

      I still use data attributes for theme and section padding. If we tried to use section padding with the class attribute, we would likely need two classes in one component field which isn't very user friendly. class="padding-top-small padding-bottom-large" We can only apply the class attribute once per element, so I like to keep that attribute freed up for adjusting multiple elements from one field like the "is-reversed" example in this tutorial.

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

      @@timothyricks That makes total sense. Thank you for the reply Tim!

    • @timothyricks
      @timothyricks  Месяц назад

      Glad to help! Thank you for asking!

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

    If I clear unused styles that might break these components? 🤔

    • @timothyricks
      @timothyricks  3 месяца назад +2

      Yes, unless we save the classes on a styleguide page

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

    How does this differ to just using the class 'is-reversed' in the first place? Is this for a giving a client more power using the CMS?

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

      Yes, this is so we can change classes from component fields and CMS fields. I setup every section I built as a component which is important for larger sites. If we need to adjust the section structure, add attributes, or other optional elements later on, those changes can be made globally if we use components. It also benefits the developer in not having to keep track of every child that needs the is-reversed class manually.

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

    How are you aware of those tiny updates? 😂

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

      Webflow posted about it on their socials and website. 🙂 webflow.com/updates/add-classes-as-custom-attributes-to-elements

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

    A true Wizard! 🪄