Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons from "Font Awesome" not showing #397

Open
FortBlissFamily opened this issue Jan 29, 2025 · 1 comment
Open

Icons from "Font Awesome" not showing #397

FortBlissFamily opened this issue Jan 29, 2025 · 1 comment

Comments

@FortBlissFamily
Copy link

FortBlissFamily commented Jan 29, 2025

Hello,
We migrated the website to Wordpress and transferred our domain. After doing so, we have noticed that some icons in the widget are not showing properly. I asked this to the Wordpress help chat, and they informed me that the theme "Understrap" has font called "Font Awesome" is not showing in the website.

When I enter the theme edit page, the icons show fine. Yet in the actual website, I don't see them. Where should I look into to fix the issue? I have attached the picture of the missing icons on the website and a view from theme edit page. Thank you.

Image
Image

Image

@jholmes-dev
Copy link

Hello,

It looks like your website is blocking the font files from loading due to them being on a separate domain:

Image

The domain looks like a staging URL, so it's possible that an automated deploy did not search and replace the static CSS files properly.

I'd start by checking that your font awesome source paths in this file are correct:
https://github.com/understrap/understrap-child/blob/main/src/sass/assets/fontawesome/_path.scss#L6-L11

and the path variable in this file is correct:
https://github.com/understrap/understrap-child/blob/main/src/sass/assets/fontawesome/_variables.scss#L4

You can also try disabling your Autoptimize plugin, which may be causing problems with WordPress' build process.

All else fails you can try to install the Font Awesome WordPress plugin, which should Band-aid your issue while you work on the underlying problem.

Also, that's a handsome looking website! Whoever designed and built it should be proud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants