Home › Forums › Themes Support › Gecko › font-awesome loading
- This topic has 6 replies, 2 voices, and was last updated 9 years ago by
seppi.
-
AuthorPosts
-
-
July 13, 2017 at 3:35 pm #6419
I want to load font awesome from an external source. where can I find the code in the theme where I can edit/deactive the source /loading?
I already placed the external source in the header, but still the file is loaded from the theme folder.
thx
(when using a cdn it gets blocked because of CORS)
-
July 13, 2017 at 4:19 pm #6422
Hi Seppi,
Thank you for choosing our theme.
You can go to fontawesome page input your email and get CDN link http://fontawesome.io/get-started/
https://monosnap.com/file/ACWCP6srqobDvhsUSkVgdst69pFo5u#
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 13, 2017 at 4:22 pm #6424
thx already know that, question again: I need to deactivate font awesome from loading from the theme folder. because it gets loaded from the external source and the theme folder.
-
July 13, 2017 at 4:42 pm #6428
Hi,
Could you tell me which theme you’re using? you’re using helpdesk?
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 13, 2017 at 4:42 pm #6429
gecko
-
July 13, 2017 at 4:59 pm #6433
Hi,
You can go to gecko-child > functions.php and change code to
function jas_gecko_enqueue_script() { wp_enqueue_style( 'jas-gecko-parent-style', get_template_directory_uri() . '/style.css' ); wp_dequeue_style( 'fontawesome'); } add_action( 'wp_enqueue_scripts', 'jas_gecko_enqueue_script', 11 );Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 14, 2017 at 9:28 pm #6493
thx
-
-
AuthorPosts
You must be logged in to reply to this topic.