Skip to main content
Participant
November 27, 2023
Question

SVG - Map Export - .st class

  • November 27, 2023
  • 1 reply
  • 238 views

Hi,

 

I recentrly had to make multiple svg Maps for a building.

When i was exporting the map i got these classes:

<style type="text/css">
.st0{fill:#8E8E8E;}
.st1{fill:#9C9C9C;}
.st2{fill:#A8A8A8;}
.st3{fill:#8F8F8F;}
.st4{fill:#DED9C3;}
.st5{fill:#F4F4F4;}

...
</style>

 

My problem is that if i upload all the maps, the colors for the map underneath the first one will change, because every class is overwrited.

My solution was to change each class for each 5 individual maps. 

The problem starts when i want to change something on that SVG. e.g.: to add a new recangle or remove one, because the class name will change back to .st0, .st1, .st2 and so on. 

 

Is there something i can to keep the classes the way i changed them, after i open that svg and save it?

This topic has been closed for replies.

1 reply

Monika Gause
Community Expert
Community Expert
November 27, 2023

In Illustrator you cannot roundtrip SVGs.