-
AuthorPosts
-
February 21, 2018 at 4:27 am #1092840
Hi,
I’m using Ja Shoe Store and I would update FontAwesome but I don’t know how to do….I’m trying to add IconFonts in FONTS folder but it’s not working also
Can you help me ?
Best regards
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 22, 2018 at 7:00 am #1093162Hi,
JA Shoe template already uses FontAwesome, could you clarify of how you want to update here? You can check this guide for how to work with fonts in T3 based templates: http://www.t3-framework.org/documentation/bs3-customization#add-fonts
Regards
February 22, 2018 at 11:43 am #1093233Hi,
Thanks for your answer-> For IconFont I’m adding fonts/icofont/css/icofont.css in assets.xml and now it’s working 🙂
-> For FontAwesome the file font-awesome.css in template/mytemplate/fonts/font-awesome/css the version is 4.7.0 and would update to the last version 5.0.6 from the official website (the beginning is little different ….)
Best regards
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 22, 2018 at 2:08 pm #1093270Hi,
You can integrate FontAwesome 5 to template with this way:
1) Download the latest version of Font Awesome from its official site: https://fontawesome.com/
2) Follow steps described here: https://fontawesome.com/get-started/web-fonts-with-cssFor example, after you download the zip file, unzip it. You may see several folders inside, copy the ‘web-fonts-with-css’ folder and paste into this directory in JA Shoe template: root/templates/ja_shoe/fonts/
You can rename it to ‘font-awesome5’ (just for easier recognization) so you will have: root/templates/ja_shoe/fonts/font-awesome5
Now you load into template by opening the XML file: root/templates/ja_shoe/etc/assets.xml
Put this line:
<file>fonts/font-awesome5/css/fontawesome-all.css</file>
under stylesheets tag: http://prntscr.com/iiaycr
Now you can use new icons from FontAwesome 5.
Hope this helps.
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by bullitt 6 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum