You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  Monday, 02 October 2023
  4 Replies
  377 Visits
Hi, I would like to use the facebook and instagram awesome icons - I can select, see the icon in the editing page - but they show as not found in production; whereas if I select awesome font icon such as phone, envelope, etc - they show fine.
Is it that sociale media icons no longer work ?
I am using JCE Editor last versione - even installed to beta1 released today
as well as plg_jce_editor_fontawesome_111
but even though all is updated to the last - I cannot get it working - I would like to use the font instead of making images.
Examples of what is not showing in production: <span class="fa fab fa-facebook"><span class="fa fab fa-facebook-square">
thanks in advance
Rita
more than a month ago
·
#114782
Accepted Answer
Thank you very much for your prompt solution for me.
kind regards
Rita
rital selected the reply #114782 as the answer for this post — 4 months ago
more than a month ago
·
#114782
Accepted Answer
Thank you very much for your prompt solution for me.
kind regards
Rita
more than a month ago
·
#114781
It looks like the CDN version of Font Awesome declares the "Brands" css rules first, then the regular css rules, so any brand icon that also use the "fa" css class will be overwritten by the regular icon font, eg:


<span class="fa fab fa-facebook-square"></span>


includes the "fa" class name, and removing it will show the icon, but including the fa class name is required to get the icons to show in the editor.

I will have to look into a solution for this, but you could try adding the following to your template stylesheet's custom.css file (or user.css file):


.fa.fab {
font-family: "Font Awesome 5 Brands";
}

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#114780
Hi Ryan,
the site is https://test.rossignoli.net/ (just started - so no formatting done so far)
I have just made the site online for your purpose
k regards
Rita
more than a month ago
·
#114778
Please post a link to an example article on your site.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!