- Posts: 4
COMMUNITY FORUM
Font Awesome Icons
- Florent Chehab
- Topic Author
- Offline
- New Member
I have been using this template for several years now, and since few months I have experienced issues with all the Font Awesome Icons on my website. I've looked on the internet but didn't find any helpfull post.
I manually managed to force some icons to work, but it works only in specific cases.
I'm no expert however when I "inspect" my webpage, this error shows up :
Font from origin 'http://cdn.joomlaworks.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.mydomain.com' is therefore not allowed access.
Link to my website : goo.gl/6EXIXK
Thanks for your help in this matter.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Which version of the the template are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Florent Chehab
- Topic Author
- Offline
- New Member
- Posts: 4
I think I am using the latest version of the template (1.0.6 says template.css) (weirdly, when I inspect the code it says 1.0.5 and I don’t know why).
I have tried to update the template, the menus/navigation icons were back, however all the font awesome icons were showing either as square or Chinese characters, and the alert message concerning the cdn was still there.
I have made very few tweaks to template.css and custom.css only. But it shouldn’t interfere.
Here is a screenshot of the template parameters and the non-working font awesome characters.
imgur.com/GbjPSQr
Please Log in or Create an account to join the conversation.
- Florent Chehab
- Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
I will work on it, and an update will be posted.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Florent Chehab
- Topic Author
- Offline
- New Member
- Posts: 4
PS : I manage to make it work in the frontend by adding :
i.icon-fa-search-minus:before {
font-family:'nufontawesome';display:inline-block;font-style:normal;text-align:center;vertical-align:top;font-weight:400;color:#62b9b0; content: "\f010";
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- oleg
- Offline
- New Member
- Posts: 1
Krikor wrote: Thank you for reporting this.
I will work on it, and an update will be posted.
I have the same problem.
downloadable font: download failed (font-family: "fontawesome" style:normal weight:normal stretch:normal src index:2): bad URI or cross-site access not allowed source: cdn.joomlaworks.org/webfonts/fontawesome/font/fontawesome.ttf?60182405
It seems that yours server not allows download font from other domains.
Please Log in or Create an account to join the conversation.
- Robert
- Offline
- New Member
- Posts: 1
Krikor wrote: Hahaha yes there will be an easier method.
Hi Krikor,
I would be very grateful if you could tell this secret :)
Please Log in or Create an account to join the conversation.
- Davide Casillo
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.