-
AuthorPosts
-
March 14, 2016 at 4:06 am #597476
I’m trying to add another social media icon to my secondary menu. However, I only have a limited number of options (about 18 total)… starting with 500px, Behance, etc.
I followed the instructions about how to go to Fontello, find the icon(s). Download the zip and install. That went fine, but I still can not see any more icons than the same standard 18. All I want to do is add a Github icon to my secondary menu.
Help.
Thanks.
Rich B.
March 14, 2016 at 9:19 am #597617Hi rbrazeau!
Please check this link http://kriesi.at/documentation/enfold/custom-social-icons/
If you still have any issue please share the link to the page where we can inspect the element and create a temporary user with ‘administrator’ role and share in private content with permission to deactivate all plugins and add custom code if necessary to help you resolve this issue.
Cheers!
Vinay KashyapMarch 14, 2016 at 5:19 pm #597861Thanks for the response, Vinnie.
In what file do I place that code? It was not specified in the link.
Thanks.
March 14, 2016 at 5:25 pm #597871Hey!
Please go to Appearance > Editor and add the code to functions.php file. If you need help, please create a temporary admin login and post it here privately.
Cheers!
YigitMarch 16, 2016 at 6:35 am #598792Hi Vinnie,
I need your help in editing the file properly. I tried once and it killed everything…so I had to reinstall the php file. I will attach my credentials.
March 16, 2016 at 9:16 am #598847Hey!
Sure we can set this up for you but the login credentials you’ve provided do not work please send us working login credentials with user role as ‘administrator’ and permission to disable all plugins and add css if necessary to resolve the issue.
Regards,
Vinay KashyapMarch 16, 2016 at 9:32 am #598848Here are the new credentials
March 16, 2016 at 9:58 pm #599260Hey!
I added following code to Functions.php file in Appearance > Editor
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['git'] = array( 'font' =>'fontello', 'icon' => 'ue800'); $icons['check'] = array( 'font' =>'fontello', 'icon' => 'ue801'); $icons['download'] = array( 'font' =>'fontello', 'icon' => 'ue802'); $icons['github'] = array( 'font' =>'fontello', 'icon' => 'ue804'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); // Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Git'] = 'git'; $icons['Check'] = 'check'; $icons['Download'] = 'download'; $icons['GitHub'] = 'github'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please review your website now
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.