Delete multiple imported global classes... possible?

After importing a template made with ACSS classes, all the classes have been duplicated but with __imported added to the name.

Is there a way to delete them in bulk? Or is it only possible to go one by one?

Or are there any other ways like going into a style sheet and deleting manually from there?

I think it might be possible to delete them by dropping the row holding all these classes in the database. I think that might only be the solution until Bricks introduces a class manager which will come later as per Thomas. Let’s wait for team to suggest a better solution.

Thanks omega, I’ll check out that possibility.

I had a look at the database row holding the global classes, but couldn’t see any way to extract only the imported ones (I’ve created some plus there’s the ACSS ones in there).

So currently it’ll be a week’s work to individually delete the 700+ classes… Not a task I relish! :unamused:

You can run a sql query to remove all classes having imported in their name. I’ll prepare a query for you if you promise to take a db backup before running it.

:grimacing: I promise I will!!!

Ok. I will take a look at the structure and get back to you.