Hey man, hope you're still active and willing to help, but I'm having trouble with fill colors in the cities when importing SVGs. I've attempted to change the fill color from the typical orange to grey for cities such as The Ruhr, but when I import the SVG, the color reverts back to the normal orange. Any help would be great, thanks.
Using the dot placer, we use the zoomable-circle class to colour the dots because it's much more efficient on space. This means any manual colouring is overwritten. You have three options really:
1) fill in the Ruhr using styles instead, so inside the style attribute do "fill: colour !important". The important tag will override the orange (this won't work for the fill attribute normally, only inside style).
2) add a class to everything you want to be grey, e.g. "grey-circle", then in the style text node at the very top of the svg in the xml editor (where the zoomable-circle colouring is held), add a fill property for ".zoomable-circle.grey-circle { fill: colour }". The lack of space between the two classes means they're both on the same object (and the former is needed to change circle size when zooming).
3) remove the zoomable-circle class from the Ruhr to prevent discolouring, but then the circle will look bad when zooming in so.
Thanks so much. I wasn't sure what you meant in the first option, although it did sound the simplest. After a lot of trial and error, I did get the second way to work. I really do appreciate your help. :)
1) fill in the Ruhr using styles instead, so inside the style attribute do "fill: colour !important". The important tag will override the orange (this won't work for the fill attribute normally, only inside style).
2) add a class to everything you want to be grey, e.g. "grey-circle", then in the style text node at the very top of the svg in the xml editor (where the zoomable-circle colouring is held), add a fill property for ".zoomable-circle.grey-circle { fill: colour }". The lack of space between the two classes means they're both on the same object (and the former is needed to change circle size when zooming).
3) remove the zoomable-circle class from the Ruhr to prevent discolouring, but then the circle will look bad when zooming in so.
I’m sorry to write this on one of your quiz.
I wanted to thank you for allowing the merger of my two accounts, and apologize for the inconvenience caused.
Thank you very much.
UzumakiNaruto
Thank you for contacting Poirot regarding the matter.
Thanks :)