We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Fontawesome : wrong class called

Featured Lock Resolved Issue
Hi,
I have a problem with some icons, specially with the euro sign.

I'm using the icon addon and to show the euro sign (see screenshot fontawesome-euro-0)
fontawesome-euro-0.jpg
The html code call the classes "fas fa-eur" but this code doesn't work (nothing on the screen ; see screenshot fontawesome-euro-1)
fontawesome-euro-1.jpg

As you can see on the fontawesome website (https://fontawesome.com/icons/euro-sign?style=solid) the right classes must be :

<i class="fas fa-euro-sign"></i>

(see screenshot fontawesome-euro-2)
fontawesome-euro-2.jpg

Is it possible to update the classes used by SPPB ?

Note : I'm using SPPB 3.7.2, Ultimate Helix framework 1.1.2 and Joomla 3.9.18

Regards,

Attachments (3)

  • fontawesome-euro-0.jpg
    fontawesome-euro-0.jpg 2.1 KB
  • fontawesome-euro-1.jpg
    fontawesome-euro-1.jpg 8 KB
  • fontawesome-euro-2.jpg
    fontawesome-euro-2.jpg 9.4 KB

6 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
Sometimes, the problem is caused by font-weight.
Yes, FA developer made this "JOKE" not we.

try (it may help)
.fas.fa-euro-sign {font-weight: 900;}

foto_4119_2020.png

Attachments (1)

  • foto_4119_2020.png
    foto_4119_2020.png 42.4 KB

dolmenhir

More than a month ago #Permalink
Hi Paul,
The problem isn't about the font-weight attribute (and it's already set to 900).
It come from SPPB that use "fa-euro" instead "fa-euro-sign".
"fas fa-euro" doesn't exist in FA 5. It has been replaced by "fas fa-euro-sign", but "fa-euro-sign" is not in the list of available icons from SPPB. There's only "fa-euro".

Paul Frankowski - Staff

More than a month ago #Permalink
Sorry, indeed it's a mistake from our side.
In that case, you have two options, before the official SPPB Pro update.

1) Override icon code with custom CSS, a single line fix is needed.
OR
2) Use proper code inside RAW HTML addon

Martin Finn

More than a month ago #Permalink
There are more issues that this one with FontAwesome. It seems that current version of SPPB Pro is somewhere between version 4 and 5 of FontAwesome and there are lots of errors.

For example - try to render fa fa-usb and its incorrectly detected as a brand and rendered as fab fa-usb which doesn't work. There are lots of others that fail. We need an update

Paul Frankowski - Staff

More than a month ago #Permalink
Yes, I noticed as well, I talked about it with a developer, he promised to fix it in SPPB 3.7.4

---
Yes, we had to keep legacy with FA4.7, but it's more problems that to cut off old and focus on new. The big mess made for all of us FA developer.

Rein

4 weeks ago #Permalink
Yes, I noticed as well, I talked about it with a developer, he promised to fix it in SPPB 3.7.4

---
Yes, we had to keep legacy with FA4.7, but it's more problems that to cut off old and focus on new. The big mess made for all of us FA developer.


Hi Paul,

I hope this annoying problem can be finally fixed. It exists since the introduction of FA5 into SPPB.
I mentioned it several times earlier on the board and every next update this still isn't solved.

In my latest reply to Ofi early april I even attached a zip with the corrected definitions. https://www.joomshaper.com/forums/not-displayed-icon-fa-mobile-phone#reply-237196

Please review and stream into the next release it should not be that hard.

Thanks,

Rein


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

124

Templates

331347

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us