Option to update/replace existing styles when pasting a class between projects

Currently, if you paste a class from the source project that has the same name as an existing class in the destination project, Webflow:

  • Compares the style properties for the two classes to see if they are the same
  • If so, it uses the existing class in the destination site rather than create a new one
  • If not, it creates a new class in the destination site with the pasted style properties and a unique name

 

However, in some cases -- such as using one project as a 'master component template' that you paste items from into different projects for use -- you might actually want to override the styles with that same class name in the destination sites when pasting, to update them for all elements that already have them in the site.

When there is a class name conflict with different style properties, it would be nice to have the flexibility to choose whether to add a new class or update/replace the existing class' styles when pasting between projects

  • Kyle Kilat
  • Apr 10 2018
  • D2C commented
    April 18, 2018 13:02

    Wow, you need that a lot. I thought they would already do with this option.

    for us, we need to have 3 options:
    1. maintain the attributes of the existing class
    2. replace with attributes of the copied class
    3. create a new class (current)