Page 1 of 1

Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 5:05 pm
by courriere
Hello
Using WB18 I have an issue with Awesome Icon. The file "font-awesome.min.css" generated is a V4 version instead of V5.
The font-family in css file must be set to "FontAwesome" (V4) and not to "Font Awesome" (V5) to display the icon.

Maybe I have a wrong setting somewhere and I don't find "font-awesome.min.css" version V5 on the web.

Thanks for your help

Re: Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 5:51 pm
by courriere
If I use a new and clean project there no "fontAwesome.min.css" file.
The V4 version of "fontAwesome.min.css" was already in my project before upgrading to W18

Re: Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 6:36 pm
by Pablo
We are not allowed to distribute FontAwesome 5 with the software, so that is why version 4 is included.
But you can download version 5 separately :
http://www.wysiwygwebbuilder.com/free_extras.html

Re: Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 8:26 pm
by courriere
Thank you Pablo,

I don't really want Font Awesome v5, but the problem is in the css code generated by W18 witch is designed for V5 as you can see below (in my system)
.icon2
{
position: relative;
left: 0;
top: 0;
display: inline-block;
font-family: "Font Awesome";
font-style: normal;
font-weight: normal;
line-height: 1;
}

With version V4 of "fontAwesome.min.css" file, it works if font-family: "FontAwesome";

Maybe I miss some setting ?

Re: Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 8:46 pm
by courriere
After installing Font Awesome Regular V5 and selected an icon from the normal Font Awesome library ... it works
The css is now for version 4 :
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
...
I don't understand why but the problem is closed;

Thank you very much Pablo

Re: Icon Awesome version V4 - V5

Posted: Wed Dec 07, 2022 8:49 pm
by Pablo
The fontAwesome.min.css file that comes with WB18 is for 4.7, not for version 5.