Not sure i understand the issue as the fontawesome file is loading in Salient from the Theme folder. If you wish to load it from a CDN you can use the Official Fontawesome Plugin: https://wordpress.org/plugins/font-awesome/ .
Hi Tahir, thank you for the quick response. That’s not what I mean. I want host the font awesome locally on my server. But for this I need to change the path, that the theme icons in the footer use the local path and not the original font awesome path. I copied font awesome css-and font-folder already to my theme.
thank you very much for the code. I think it works, but two fonts (fa-brands, fa-solid) are still loaded directly from font awesome. Please check the screenshot. Do you have an idea?
I want to change the path of used font Awesome from salient theme. The theme should get the fonts from local Font Awsome.
Hey Again,
Not sure i understand the issue as the fontawesome file is loading in Salient from the Theme folder. If you wish to load it from a CDN you can use the Official Fontawesome Plugin: https://wordpress.org/plugins/font-awesome/ .
Thanks
ThemeNectar Support Team
Hi Tahir, thank you for the quick response. That’s not what I mean. I want host the font awesome locally on my server. But for this I need to change the path, that the theme icons in the footer use the local path and not the original font awesome path. I copied font awesome css-and font-folder already to my theme.
Do you have an idea?
Please add this to your child Theme Functions.php :
So the Child Theme Code Looks Like This:
Thanks
ThemeNectar Support Team
Hey Tahir,
thank you very much for the code. I think it works, but two fonts (fa-brands, fa-solid) are still loaded directly from font awesome. Please check the screenshot. Do you have an idea?
Hey Again,
Try using the "Query Monitor" Plugin to check which plugin is adding that as its not coming from the Salient Theme .
Thanks
ThemeNectar Support Team
Hi Tahir,
so far I could figure out font awesome is still loaded by the header. Please check the photo. How can I change this icons to local path?
Please check which plugin is loading the "bfa-fontawesome" file. Do you have a Third Party Plugin with the bfa initials ?.
Thanks
ThemeNectar Support Team