Webflow Unlocks Class Attribute

Поділитися
Вставка
  • Опубліковано 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!

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

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

  • @saschatribula2650
    @saschatribula2650 3 місяці тому +2

    That is amazing! Thanks again Timothy!

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

    This is a great tip. Thank you Timothy!

  • @paulocardoso8519
    @paulocardoso8519 3 місяці тому +2

    Timothy you're a Wizard! Thank you for sharing

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

    Wow. This is amazing. Thanks 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!

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

    Stellar Tip!

  • @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/

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

    We can finally use BEM as it was designed.

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

    This is good.

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

    🔥🔥🔥

  • @benjamintenyson2668
    @benjamintenyson2668 2 місяці тому

    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

  • @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 2 місяці тому

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

    • @timothyricks
      @timothyricks  2 місяці тому

      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

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

  • @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. ua-cam.com/video/y4oTdCa4jSA/v-deo.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.

  • @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.

  • @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!

  • @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! 🪄