I'm hoping there's a simple answer to this idiot question. I'm seeing this:

I've followed Getting Started to the letter, included everything that needs including in the right places, checked old answers, etc. "Inspect" hasn't helped.
I'm hoping there's a simple answer to this idiot question. I'm seeing this:
I've followed Getting Started to the letter, included everything that needs including in the right places, checked old answers, etc. "Inspect" hasn't helped.
Hi @CodeSculptor,
For some reason the Material icons font file is not loading. Looking at the screenshots it is hard to tell where the problem is, but here are the steps to troubleshoot:
wwwroot/fonts/MaterialIcons-Regular.woff
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url("../fonts/MaterialIcons-Regular.woff") format("woff")
}
And make sure the custom CSS property for icons is set to the proper font-face in the theme CSS file:
--rz-icon-font-family: Material Icons;
OK, so...
Strange...
In that case, please review the getting started guide again, especially steps 1 to 3. It looks like the resources are not loaded at all. If the nuget package is properly installed and the path to theme CSS file in step 3 is pointing to the Radzen.Blazor folder everything should be working as expected since all the CSS and font files are embedded in the package.
shouldBeWorking != working
I tried uninstalling and reinstalling the nuget package.
I tried going back over Getting Started, making sure of everything.
I tried cloning RadzenBlazorDemos, copying /css, /fonts and /js to my wwwroot.
I tried every combination of cleaning, rebuilding and restarting VS2022.
No change! I'm running out of ideas.
This is not needed. Your application probably has a problem with embedded assets for some reason. Check my reply here for further tips: Radzen Blazor Components don't respect "custom" environments - #2 by korchev
After a process of elimination, it seems to be caused by the CSS files I've inherited with this project. If I include either one of two of the files, the material icons disappear, and if I remove them then the icons work but the rest of the site doesn't. My problem is that they total 620kb of obfuscated CSS, most of which probably isn't needed, but I don't have the time or patience to work that out, so any keywords or elements to search for that might cause this would be doing me a really big favour!
You can inspect the CSS styles that apply to an icon to see where they are inherited from. Right-click the element and choose "Inspect".
Well, it took a while, but these were the offending rules:
span {
font-family: nunito,Arial,Verdana,sans-serif
}
.button > span {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%
}
Thanks for your help!
note that one way that this can come up is if you're upgrading to v5 and are using icons like "info_outline" ...the name of that has changed to "info", and the "_outline" bit ends up getting rendered.