Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #597617

    Hi 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 Kashyap

    #597861

    Thanks for the response, Vinnie.

    In what file do I place that code? It was not specified in the link.

    Thanks.

    #597871

    Hey!

    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!
    Yigit

    #598792

    Hi 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.

    #598847

    Hey!

    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 Kashyap

    #598848

    Here are the new credentials

    #599260

    Hey!

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.