Svg icon not displayed

AI-generated summary

The issue of Svg icon not displayed is being discussed. Bcat explains that all icons on their website version 2.8.0.beta2 disappear after 1 second, with no console errors. pmusaraj suggests trying multiple browsers and sharing the site link. After inspecting the site, pmusaraj discovers that a custom theme or plugin is removing the icons from the DOM, replacing the class="fontawesome" element with other content. Bcat thanks pmusaraj for finding the problem and will fix it.

The icons show up for the first 1s then don’t show up. All icons on the website.

Version: 2.8.0.beta2
No console error

Have you tried multiple browsers? If the site is public, can you post the link?

Tried on another browser, the icon will show for 1s and then it disappears Or when turning pages.
Looks like a conflict, but I can’t find the error. This Link

Ok, so something in your custom theme/plugin is removing the icons from the DOM. If you inspect the page source of any Discourse site, you will see this towards the end of the page:

image

That class="fontawesome" element contains the icons. In your site, something removes that element and replaces it with some other stuff. Here’s a screenshot from your site’s page source:

You need to figure out what specifically does this, and modify it so it doesn’t wipe out the icons.

Thank you for finding the problem. I will fix it. thank you very much.