Home Forums Themes Support Gecko font-awesome loading

Topic Resolution: Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #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)

    • #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

    • #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.

    • #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

    • #6429

      gecko

    • #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

    • #6493

      thx

Viewing 6 reply threads

You must be logged in to reply to this topic.