# Material Design 主题图标缺失

**URL:** https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031
**Category:** Support
**Created:** [2018年十一月28日 22:34 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031 "2018-11-28T22:34:38Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月28日 22:34 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/1 "2018-11-28T22:34:38Z")

</div>

Just rebuild my forum and some icons are missing, including Material Designs icons from another theme. Anyone has a idea for what happened?

[![](https://global.discourse-cdn.com/meta/original/3X/1/8/1870b4ac84f214e90d26cdd8af69dec3a90b5491.png) ](https://i.imgur.com/4GJrYyJ.png)

[![](https://global.discourse-cdn.com/meta/original/3X/2/1/21ac726183d4a12f2fa192fb6ccacc12f15f7293.png) ](https://i.imgur.com/flCss9T.png)

[![](https://global.discourse-cdn.com/meta/original/3X/4/8/488325d9d73cd8ee8b9bcb79025c6969e0fee117.png) ](https://i.imgur.com/TrXUWAs.png)

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月28日 22:36 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/2 "2018-11-28T22:36:37Z")

</div>

I had this plugin installed, and removed it.

> [@Formatting toolbar](https://meta.discourse.org/t/formatting-toolbar/40649?fbclid=IwAR2Yk4HpxA4WPr5w49G8U541IkaybzBRPgYBDeFhAlW6p69VUVsmgN2lh64):
>
> Add some formatting options to your discourse posts : center a text or an image, align to the right, justify, colors, underline, etc. It’s easy to use and it will provide some options to embellish your posts.

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [2018年十一月28日 23:14 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/3 "2018-11-28T23:14:05Z")

</div>

I’ll update it asap, I checked this weekend, didn’t seem to have an issue, the fontawesome update must have come since then

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月28日 23:29 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/4 "2018-11-28T23:29:15Z")

</div>

Oh god, thank you. I was thinking it was something wrong I made.

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月28日 23:32 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/5 "2018-11-28T23:32:07Z")

</div>

@Steven I removed your plugin, but some icons are missing on my theme. Do you know what I can do to bring them back?

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [2018年十一月28日 23:37 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/6 "2018-11-28T23:37:04Z")

</div>

You should have a new option in the admin panel : svg\_icon\_subset

Add the name of the icons you have to fix, and I think it might fix your other issue

I didn’t have time to test this at the moment tho

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [2018年十一月29日 00:08 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/7 "2018-11-29T00:08:56Z")

</div>

I fixed my plugin, thanks for reporting the issue

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月29日 00:35 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/8 "2018-11-29T00:35:36Z")

</div>

It didn’t worked for me ☹

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [2018年十一月29日 00:39 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/9 "2018-11-29T00:39:26Z")

</div>

You use a imported full theme ?

It might be best to wait for an upgrade. If it’s a heavily customized theme, it might need some other tweaks on the html

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月29日 00:47 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/10 "2018-11-29T00:47:26Z")

</div>

> [@Steven](#):
>
> You use a imported full theme ?

Yes, it is. This one, and I believe that this one won’t be upgraded. I worked and paid to fix a lot of issues, now this happens… I feel so unlucky

> [@Daemonite Material Theme](https://meta.discourse.org/t/daemonite-material-theme/64521/44):
>
> This is likely because I just merged FontAwesome 5 into master and now the core icons are no longer in :befores (more [here](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643)). I tried removing the :before on the browser console, and it seems to do the trick.

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月29日 01:07 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/11 "2018-11-29T01:07:56Z")

</div>

It was probably cause by this on last Discourse updated.

| package.json | Upgrade to FontAwesome 5 (take two) (#6673) | 2 days ago |
| --- | --- | --- |
| yarn.lock | Upgrade to FontAwesome 5 (take two) (#6673) | 2 days ago |

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2018年十一月29日 03:26 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/12 "2018-11-29T03:26:38Z")

</div>

This isn’t really a bug, it’s just a consequence of Discourse being upgraded and the impact on third party code.

Your experience is precisely why anyone who is serious about hosting a community should have some form of test or integration environment. You need somewhere to test upgrades before they hit your public site to know whether it’s safe to upgrade. It’s still very early days for the FA5 upgrade, some of what you’ve seen may be fixed elsewhere if you give the developers time.

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月29日 03:30 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/13 "2018-11-29T03:30:30Z")

</div>

Thank you for your advice. 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年十一月29日 03:59 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/14 "2018-11-29T03:59:38Z")

</div>

Yes, we should be able to give advice and assist, the priority at the moment is rolling it out as an official release and testing it against all our hosted customers. We’ll definitely share all that info as we get it.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年十一月29日 05:55 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/16 "2018-11-29T05:55:08Z")

</div>

@Merlls_Rizzini

I tried to reproduce this issue but I could not.

I used the [Formatting toolbar](https://meta.discourse.org/t/formatting-toolbar/40649?fbclid=IwAR2Yk4HpxA4WPr5w49G8U541IkaybzBRPgYBDeFhAlW6p69VUVsmgN2lh64) plugin and the [Daemonite Material Theme - #44 by pmusaraj](https://meta.discourse.org/t/daemonite-material-theme/64521/44) and here’s what I see:

 ![1308](https://global.discourse-cdn.com/meta/original/3X/0/0/0001e51828bfce61c70277032d6ef13e9b42d9f4.png)

Make sure that:

1. Your Discourse install is on the latest
2. You have the latest version of the the plugin
3. The theme is updated.

If the issue still persists, it would be a lot easier if you can share a link to your site so that we can check and see what’s wrong.

---

<div class="post-metadata">

### Author: ![Merlls\_Rizzini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merlls_rizzini/32/125604_2.png) [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)
#### Post date: [2018年十一月29日 06:05 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/17 "2018-11-29T06:05:59Z")

</div>

@Steven already fixed this on editor.

I was talking about how the last Discourse upgrade with FontAwesome 5 overridde Daemonite icon’s.

 ![](https://global.discourse-cdn.com/meta/original/3X/b/0/b06e63a85a2696df571e092e53e4e4605f0bf37f.png)

After last upgrade:

 ![48](https://global.discourse-cdn.com/meta/original/3X/1/e/1ee5633345cad58bb27de1a5b97985a62aec7208.png)

[![](https://global.discourse-cdn.com/meta/original/3X/8/c/8c4d94a109b63a3de01f3ceb0cf4c56a3c3fdaf0.png)  
 ](https://i.imgur.com/hx10ur0.png)

 ![59](https://global.discourse-cdn.com/meta/original/3X/3/0/30cc243146aba79ca70517c02276476105b9b09a.png)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年十一月29日 06:40 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/18 "2018-11-29T06:40:27Z")

</div>

No problem, I’m closing this topic since the issue in the OP is resolved. The issue in your post above is separate and you can follow-up with the maintainers of the theme here:

> [@Daemonite Material Theme](https://meta.discourse.org/t/daemonite-material-theme/64521/45):
>
> @sesemaya is taking a look at what we can do to preserve Material icons in light of the FontAwesome changes tomorrow.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年十一月29日 06:40 UTC](https://meta.discourse.org/t/material-design-theme-icons-are-missing/103031/19 "2018-11-29T06:40:30Z")

</div>


