Ability to "lock" classes

Often I create utility classes such as ".text-center", ".img-right" etc but I often go back to edit an object and mistakenly edit some other property such as color or padding and it applies it to my utility class which then affects all items using that class. I know I can manually change the selector in the pane, but it's just so easy to forget and overlook.

For example, if I had an element with .main-text | .text-center and go back later to edit the text color on the element, it would add it to .text-center.

It would be awesome if we could just "lock" classes or tag them as a "utility class" to prevent accidentally adding unwanted definitions to those classes on the fly. So for the example above, if I were able to "lock" .text-center from being edited, Webflow would instead add the definition to .main-text and not .text-center.

 

  • Ronnie Duke
  • Jun 6 2019
  • Neekey Ni commented
    June 21, 2023 12:37

    This annoys me so much! Especially when you are bootstraping a small side project without a complete class / style system setup beforehand, changing styles here and there is the norm, and I also sometimes just copy elements or blocks and tweak from them, it very easy to forget about that each element has a shared class attached, and as a no code platform, you will just naturally want to change attributes on the style panel right away without thinking too much the change you are going to make is directly to the class not just on the element you are working on atm.

  • Designer commented
    November 09, 2022 20:20

    Webflow is not at all collaborative, creating updates like this would really help our team in allowing multiple users to edit our site without letting simple human errors potential break live designs and styles.

    Please create a lock!!!!

  • Ryan Higgins commented
    September 27, 2022 17:28

    +1 we would really benefit from this feature

  • Chris Moore commented
    August 28, 2022 20:24

    I can't believe this isn't a thing yet!


    You really need to be able to lock classes to prevent accidental edits, especially with preset utility classes.

  • Peter Kisters commented
    July 29, 2020 14:30

    Really need this for classes being used throughout the site, ie. containers or other frequently used ones.

    Maybe it's time to start make distinction between individually styled elements and by class styled elements. These to now too easily blend together, making them vulnerable for human errors.

  • +20