Font-Awesome version 5
Font-Awesome version 5
- このトピックには9件の返信、2人の参加者があり、最後に
syouei-brandingにより6年、 5ヶ月前に更新されました。
-
投稿者投稿
-
2019年6月11日 3:37 PM #16814
Hi,
My theme: Lighting Pro 0.8.0
I want to add icons which have the medium size, so i added
far fa-angle-double-rightand choosed Font-Awesome as 5 Web Fonts with CSS, but it didn’t work (the attached image).
How can I fix theme?2019年6月11日 3:42 PM #16815Sorry, uploaded file was fail. I upload it again.
my page: https://sanshinj.dreamhive.site/
Attachments:
You must be logged in to view attached files.2019年6月11日 4:03 PM #16817
DRILL LANCERモデレーターHi.
On The site, the CSS of Font Awesome is overridden by bellows-accordion-menu.
bellows-accordion-menu uses Font Awesome 4.4.0.Can you change plugin for accordion menu?
2019年6月11日 4:07 PM #16818Hi @RICK,
I uninstalled Bellows-accordion-menu, it still hasn’t worked yet.
2019年6月11日 4:14 PM #16819
DRILL LANCERモデレーターHi. @syouei-branding.
Did you delete cache of browser, server, and WordPress?
2019年6月11日 4:26 PM #16820Hi @RICK,
I cleared cache and I think Bellows is not the reason. I also has another website (https://webtan.jp/) and I cannot use
farwith Awssome version 5.Attachments:
You must be logged in to view attached files.2019年6月11日 4:27 PM #16822
DRILL LANCERモデレーターfar, Font Awesome Regular, is for Font Awesome Pro.
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#changesLightning contains Font Awesome Free.
So, you can not use
far fa-angle-double-right.
Insted, you can usefas fa-angle-double-rightorfab fa-angle-double-right.2019年6月11日 4:43 PM #16823Hi @RICK,
I’m so sad because Lighting just support Font Awesome Free version, so I only can use
fasand the appearance is not quite friendly, look so bold.Thanks for your support.
Attachments:
You must be logged in to view attached files.2019年6月12日 7:03 AM #16835
DRILL LANCERモデレーターIf you can buy Font Awesome Pro and use legally, you can use it by the code under this sentence.
function change_font_awesome() { // Deregister Font Awesome Free. wp_deregister_style( 'font-awesome' ); wp_deregister_script( 'font-awesome-js' ); //Enqueue Font Awesome Pro CSS (example). wp_enqueue_style( 'font-awesome-pro', get_stylesheet_directory_uri() . '/library/font-awesome-pro/all.min.css', array(), '5.9.0' ); } add_action( 'wp_enqueue_scripts', 'change_font_awesome' );2019年6月13日 10:02 AM #16852I will try it,
Thanks for your kindly support!
-
投稿者投稿
- このトピックに返信するにはログインが必要です。

