# Remove Mobile Logo With CSS

**URL:** <https://meta.discourse.org/t/remove-mobile-logo-with-css/123693>\
**Category:** UX\
**Created:** [July 23, 2019, 12:03am UTC](https://meta.discourse.org/t/remove-mobile-logo-with-css/123693 "2019-07-23T00:03:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.noom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin.noom/32/147907_2.png) [@justin.noom](https://meta.discourse.org/u/justin.noom)\
**Post date:** [July 23, 2019, 12:03am UTC](https://meta.discourse.org/t/remove-mobile-logo-with-css/123693/1 "2019-07-23T00:03:46Z")

</div>

How easy would it be to remove the logo in the `mobile` version while retaining it in the `desktop` version? I understand that it is feasible to just “delete” the uploaded file for the mobile logo, but it would then default to the desktop.

I had tried

```plaintext
#logo {
display: none;
}

```

as well as

```plaintext
.logo-pane {
display: none;
}

```

and neither seemed to do the job - both placed in the `Mobile` section. Granted, I’m not the most proficient in CSS. 😉

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [July 23, 2019, 12:39am UTC](https://meta.discourse.org/t/remove-mobile-logo-with-css/123693/2 "2019-07-23T00:39:15Z")

</div>

If you add your first CSS rule to your theme’s Mobile CSS tab, it should work to remove the logo. If you are testing this on a desktop computer, add `mobile_view=1` to the site’s URL to load the mobile CSS.

I don’t think that removing the logo from mobile will be a great experience for your users. What is the problem that you are trying to solve?

---

<div class="post-metadata">

**Author:** ![justin.noom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin.noom/32/147907_2.png) [@justin.noom](https://meta.discourse.org/u/justin.noom)\
**Post date:** [July 23, 2019, 1:45am UTC](https://meta.discourse.org/t/remove-mobile-logo-with-css/123693/3 "2019-07-23T01:45:26Z")

</div>

It doesn’t seem to be working, I’m afraid. I attempted `site-logo` and `logo-big` as well.

In theory, I agree with you 150% - our Discourse instance exists in `WebView` with external surrounding UI elements that make certain default aspects of the UI redundant.

(most, if not all, of our users are mobile ones)

**edit:** retried with `site-logo` and worked perfectly!

---

<div class="post-metadata">

**Author:** ![EmilyLewis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emilylewis/32/151941_2.png) [@EmilyLewis](https://meta.discourse.org/u/EmilyLewis)\
**Post date:** [August 7, 2019, 9:53am UTC](https://meta.discourse.org/t/remove-mobile-logo-with-css/123693/4 "2019-08-07T09:53:35Z")

</div>

Hi,

You can try adding the following code to your Admin Panel \> Appearance \> Customize \> Additional CSS field:

div#logo {  
display: none;  
}

Thanks!
