- This topic has 14 replies, 5 voices, and was last updated 3 years, 7 months ago by Tom.
February 6, 2018 at 4:02 am #489270Juan Carlos
I have a problem. Im trying to add the icon of facebook in the secondary menu, but the icon dont appear.
I have even installed plugins to do it, but it still doesnt work.
Where is the problem?GeneratePress 2.0.2GP Premium 1.5.6February 6, 2018 at 8:39 am #489570LeoStaffCustomer Support
Did you use FontAwesome icons like suggested here? https://docs.generatepress.com/article/adding-icons-to-menu-items/
If so can you make sure load essential icons option is not checked?
If those are not the problem can you disable the coming soon page?February 6, 2018 at 9:01 am #489608Juan Carlos
Now is ok.
With the new Fontawesome code didnt appear… (<i class=”fab fa-facebook”></i>)
Thanks!February 6, 2018 at 9:03 am #489615LeoStaffCustomer SupportFebruary 8, 2018 at 11:24 am #491541Tanya
I have similar issue with Font Awesome.
I am using <i class=”fas fa-home”>Test1</i> and getting empty square instead of the image (or question mark on mobile).
“load essential icons option” was checked and I was not getting anything at all (empty space). Now I unchecked it and I get square/question mark, but not the icon. My coming soon page is disabled.
Any ideas what else could I try?
I am running WP4.9.4February 8, 2018 at 11:35 am #491557Tanya
Hi Leo. Please disregard question above. I figured out that I had to use deprecated “fa”, not “fas” as prefix.February 8, 2018 at 1:09 pm #491626LeoStaffCustomer SupportFebruary 21, 2018 at 12:25 am #501682Thierry
load essential icons isn’t checked but don’t work.
the website : https://www.hotel-muette.com
thxFebruary 21, 2018 at 8:58 am #502114LeoStaffCustomer SupportMarch 5, 2018 at 5:37 am #511904Thierry
yes wp-rocket desactived it’s the same.
the code <i class=”fa fa-facebook” aria-hidden=”true”></i> or <i class=”fas fa-facebook” aria-hidden=”true”></i>
I think that’s the problem is with WPML because i have this message on console :
downloadable font: download failed (font-family: “FontAwesome” style:normal weight:normal stretch:normal src index:3): bad URI or cross-site access not allowed source: https://translate.domain/wp-content/themes/generatepress/fonts/fontawesome-webfont.ttf
downloadable font: no supported format found (font-family: “FontAwesome” style:normal weight:normal stretch:normal src index:5) source: (end of source list)March 5, 2018 at 9:27 am #512164LeoStaffCustomer SupportMarch 6, 2018 at 12:18 am #512636Thierry
it’s the same thing.March 6, 2018 at 8:47 am #513048TomLead DeveloperLead Developer
You either need to make sure the URL you’re serving the font files from matches the URL you’re using in your browser, or you need to do something like this: https://stackoverflow.com/questions/13421463/htaccess-access-control-allow-originMarch 14, 2018 at 11:38 am #519981Thierry
Thanks, but why it’s works on all website and don’t work for this ?March 14, 2018 at 9:14 pm #520321TomLead DeveloperLead Developer
I’m not sure what you mean?
This is a browser setting, which helps prevent unsafe files from being served on your website from a different URL.
- You must be logged in to reply to this topic.