New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Font Awesome Pro SVG support #11772
Comments
I did some more research, going from using web fonts to SVG saves 54 KB, which is a lot. The main problem is that the widgets use "fill" as the CSS attribute to change color if that switches to "color" instead, everything works. Currently, I have switched to SVG to save the 54 kilobytes, and manually write the CSS to change the color of all the icons I use, but that's a big hassle. I don't think it would be a big change to give the option to use "color" instead of "fill" for icons, which would solve the problem. |
As in my thread, could you automatically replace all icons with individual svgs instead of loading the whole font library? Lots of unnecessary icons downloaded if you download the whole font file. Only icons that are used should be loaded |
When are you releasing it? |
In the next Core version (v3.4.0) |
Nice, will the SVG option become the new default eventually? |
@DorShahar ETA on this available yet? still having issues when using FA-Pro SVG icons, the icon color are changed to the global link color site-wide.. |
Prerequisites
What problem is your feature request going to solve? Please describe.
Currently, elementor only supports the Web Fonts options I Font awesome 5 Kits. Per https://docs.elementor.com/article/585-icon-library . Please add support for the SVG options, it's more flexible and gives smaller file sizes, which will increase pagespeed.
Describe the solution you'd like
Make elementor compatible with Font Awesome 5 Pro SVG kit's instead of only Web Fonts.
The text was updated successfully, but these errors were encountered: