❔ ASP.NET Core Custom Font Not Applied
site.css
The fonts are copied to the output directory
However, the font is not applied to my body. It just falls back to the default. What's wrong?
Folder Structure:
7 Replies
try changing
Cheers
did it work? 😁
Yeah, /fonts and .../fonts worked :)
ah nice. You want the css to retrieve it from yourwebsite.com/fonts/.. and not yourwebsite.com/home/abou/fonts/...
Btw you can change to a wildcard pattern inside wwwroot
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.