-
AuthorPosts
-
January 18, 2016 at 6:34 pm #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,
LaurenceJanuary 19, 2016 at 3:51 pm #567876Hi 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!
VinayJanuary 19, 2016 at 5:41 pm #567989Hi 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,
LaurenceJanuary 20, 2016 at 2:14 pm #568612Hey!
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,
VinayJanuary 20, 2016 at 6:19 pm #568794Hi Vinay,
I’ve tried the above steps to no avail. I’ve attached admin login details below.
Thanks for your help!
January 22, 2016 at 2:09 am #569669Hi!
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,
JosueJanuary 22, 2016 at 4:28 pm #570192Thanks a lot Josue. Worked a charm.
January 22, 2016 at 11:44 pm #570372You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘AV Share Box Loading Wrong Icon Font’ is closed to new replies.