Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #567306

    Hey there,

    Thanks again for the amazing theme.

    As you can see in the private link below, I’ve created a custom icon font and, with the help of Fontello, am using it in my site header.

    I’d like to continue using the entypo-fontello icon font on the av-share-box on the link attached but it seems to automatically use my uploaded font for Facebook, Twitter and Google.

    On the same page, you may also notice that my social icons in the footer are failing to animate in (see screenshot attached). I’ve had this problem on another site in the past. Any ideas?

    Thanks,
    Laurence

    #567876

    Hi AboveDigital!

    I’m not sure i understood what you are trying to say but are these the icons you have issue with ? This is a png image and I do not see any other icons on the page which i can relate to entypo icon sets. Please elaborate the issue…

    Cheers!
    Vinay

    #567989

    Hi Vinay,

    Please see the screenshot attached. The Facebook, Twitter and G+ icons in the av-share-box are using the font I uploaded which I only wished to use in the header. They should instead be still using the default font (which the Pinterest LinkedIn and Reddit links still are).

    Please ignore the footer icon issue for now as it only happens occasionally and isn’t critical.

    Thanks,
    Laurence

    #568612

    Hey!

    It should not be the case you can try re-uploading the original icons by following the steps below
    http://kriesi.at/documentation/enfold/adding-your-own-icon-fonts/

    Then download the custom icons you like by giving it a different font name so it wont get overwritten when you upload them to enfold.

    If you still have any issue please get back to us with your admin login details in a private message so we can take a closer look.

    Regards,
    Vinay

    #568794

    Hi Vinay,

    I’ve tried the above steps to no avail. I’ve attached admin login details below.

    Thanks for your help!

    #569669

    Hi!

    The issue comes from the code you’re using, it is replacing the default social icons (avf_default_icons) with your custom ones, what you need to do is create new icons entries instead of replacing them, and select those for the header social icons, that way the default share ones remain unaffected:

    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    
    $icons['custom_twitter']	 = array( 'font' =>'olliconfont', 'icon' => 'ue802');
    $icons['custom_facebook']	 = array( 'font' =>'olliconfont', 'icon' => 'ue801');
    $icons['custom_instagram']	 = array( 'font' =>'olliconfont', 'icon' => 'ue803');
    $icons['custom_gplus']	 = array( 'font' =>'olliconfont', 'icon' => 'ue804');
    return $icons;
    
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    
    $icons['custom_twitter'] = 'custom_twitter';
    $icons['custom_facebook'] = 'custom_facebook';
    $icons['custom_instagram'] = 'custom_instagram';
    $icons['custom_gplus'] = 'custom_gplus';
    return $icons;
    
    }

    Best regards,
    Josue

    #570192

    Thanks a lot Josue. Worked a charm.

    #570372

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘AV Share Box Loading Wrong Icon Font’ is closed to new replies.