- This topic has 14 replies, 5 voices, and was last updated 6 years, 1 month ago by Tom.
-
AuthorPosts
-
February 6, 2018 at 4:02 am #489270Juan Carlos
Hi!
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?
February 6, 2018 at 8:39 am #489570LeoStaffCustomer SupportHi there,
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?
https://docs.generatepress.com/article/general-settings-overview/If those are not the problem can you disable the coming soon page?
February 6, 2018 at 9:01 am #489608Juan CarlosNow is ok.
With the new Fontawesome code didnt appear… (<i class=”fab fa-facebook”></i>)
Thanks!
February 6, 2018 at 9:03 am #489615LeoStaffCustomer SupportGlad I could help!
February 8, 2018 at 11:24 am #491541TanyaHi Leo.
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 #491557TanyaHi 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 SupportGlad you figured out 🙂
February 21, 2018 at 12:25 am #501682ThierryHello,
I follow this https://docs.generatepress.com/article/adding-icons-to-menu-items/
load essential icons isn’t checked but don’t work.
the website : https://www.hotel-muette.com
thx
February 21, 2018 at 8:58 am #502114LeoStaffCustomer SupportWhich item did you add it to?
What was the CSS you are using?
Did you clear WP Rocket cache?
March 5, 2018 at 5:37 am #511904ThierryHello,
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 SupportSo when you deactivate WPML it works?
March 6, 2018 at 12:18 am #512636Thierryit’s the same thing.
March 6, 2018 at 8:47 am #513048TomLead DeveloperLead DeveloperYou 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-origin
March 14, 2018 at 11:38 am #519981ThierryThanks, but why it’s works on all website and don’t work for this ?
March 14, 2018 at 9:14 pm #520321TomLead DeveloperLead DeveloperI’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.
-
AuthorPosts
- You must be logged in to reply to this topic.