# Uploading a white SVG logo gets it styles removed and becomes black

**URL:** <https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575>\
**Category:** Bug\
**Created:** [February 7, 2019, 8:46am UTC](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575 "2019-02-07T08:46:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![viktorsmari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktorsmari/32/130959_2.png) [@viktorsmari](https://meta.discourse.org/u/viktorsmari)\
**Post date:** [February 7, 2019, 8:46am UTC](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575/1 "2019-02-07T08:46:10Z")

</div>

I am uploading an SVG logo which has these styles included:

```plaintext
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>

```

When I view the image after upload I don’t see this section, and the logo becomes black.

(The previous SVG logo was black, but I want it now to become white.)

I tried uploading another random image and that worked, then I tried again uploading the white image, and it again, becomes black.

Is the styles section being removed when uploading the SVG?

This is the forum: [https://forum.smartcitizen.me/](https://forum.smartcitizen.me/) and the logo **after** upload: [https://forum.smartcitizen.me/uploads/default/original/1X/83af5c7ecbd0eafe044b00537945b2ef4bdef1a2.svg](https://forum.smartcitizen.me/uploads/default/original/1X/83af5c7ecbd0eafe044b00537945b2ef4bdef1a2.svg)

---

_[View the full topic](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575)._
