Custom Icon Font support

Home Forums Jevelin Theme Custom Icon Font support

Home Forums Jevelin Theme Custom Icon Font support

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    RESOLVED Posts
  • Is there a way to use custom icon fonts outside of the predetermined ones (Font Awesome, Pixeden, Themify…)? Could I use Fontastic and utilize a custom icon font as described here?

    I figured part of it out, but still missing something. Here are a couple screens of code that I modified. I can get the labels to show up in the options, but icons to do not appear. Obviously missing something.

    Screen 1

    Screen 2

    Hi there,

     

    You need to add icons one by one, or at least those icons that you will use for your project.

     

    Here is a example:

     

    ‘fa fa-flickr’ => array( ‘group’ => ‘fa’ ),

    fa fa-flickr is for icon name and font, group should be icon pack or tti.

     

    Best regards,

    Shufflehound Team

    Thanks. I am still missing something. Probably syntax error I’m not seeing. I have this called in helpers_extended.php seen in screen 2 above:

    ‘tti-arrow-target’ => array( ‘group’ => ‘tti’ ),

    Hi there,

     

    Sorry for delay.

     

    This code looks correct and should work.

    Do you have any improvements regarding to this issue?

     

    Best regards,

    Shufflehound Team

    Thanks.

     

    It appears to just be the preview in the page builder that is not showing up. I can select that icon and update the page. It loads properly with the test icon. Previewer just shows up blank. Any ideas on that?

    Looks like you need to load that CSS file also in back end (administration panel).
    Here you can find few ways to do that.

    Perfect, Thanks. Add this code to functions.php and all better.

    function admin_style() {
      wp_enqueue_style('admin-styles', get_template_directory_uri().'/css/clc-icons.css');
    }
    add_action('admin_enqueue_scripts', 'admin_style');

    Nice to hear that. 🙂

Viewing 9 posts - 1 through 9 (of 9 total)