How to Add Missing Font Awesome Icons?
Hello UNA Team.
The google-pay icon is missing in UNA 13.1.0. I would like to use and display it as my accepted payment method along with other digital wallets.
I've added the following css code to template/css/icons.css and modules/fontawesome/template/css/icons.css:
.sys-icon.google-pay:before, .fa-google-pay:before {
content: "\e079"; }
and used this code to display the icon:
<i class="sys-icon fab far google-pay"></i>
But it didn't work.
Am I missing something?
Probably Font Awesome icons were updated in UNA 14.0.0 but I am using UNA 13.1.0.
Please help!
Thanks
-
-
·
Alex T⚜️
- ·
It's better to upgrade to UNA 14, if you can't upgrade you can copy files from UNA 14 to your UNA 13.1, files list can be taken from this commit:
https://github.com/unacms/UNA/commit/f7eb537e1cce55779fb5314ef6447ba6646c5594
-
·
Alex T⚜️
-
- · OneEagle
-
·
In reply to Alex T⚜️
- ·
Dear @Alex T⚜️
I did what you suggested and I updated all the files from the commit link you provided. Unfortunately it doesn't work. The google-pay icon still doesn't show.
I am using the following code
<i class="sys-icon fab far google-pay"></i>
Any idea? Thanks
-
-
·
Alex T⚜️
-
·
In reply to OneEagle
- ·
it should work, please try to clear UNA cache and your browser cache, you can also try to increase revision number in UNA to revalidate all caches.
-
·
Alex T⚜️
-
- · OneEagle
-
·
In reply to Alex T⚜️
- ·
It works now. The problem was the cache. After clearing both UNA and browser cache, the missing icon is showing now. Thanks a lot for your assistance.