Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #648474

    Hi,

    I would like to add the Amazon author icon so I can link to my author page on Amazon. I can’t find this icon in the Enfold/social profiles section. How do I add it?

    Thanks.

    #649310

    Hey adinahirjanu,

    Please refer to this post – http://kriesi.at/documentation/enfold/custom-social-icons/

    Best regards,
    Yigit

    #650296

    Hi,

    Thanks for your reply. I’ve tried following the steps suggested in the link you recommended and also looked for old posts on the forums but for some reason it didn’t work.

    So I’m trying to add the ‘Amazon icon’ (ue808). In your ‘Using Fontello-imported Icons’ post (http://kriesi.at/documentation/enfold/custom-social-icons/) it doesn’t say where to put the code so I added to Quick CSS (General Styling) and replaced ‘fontello’ with ‘amazon’ and ‘ue800’ with ‘ue808’. But when checking ‘Social Profiles’ the Amazon icon wasn’t there. Then I researched old posts on the Forum and as per someone’s advice I downloaded the icon as a zip file, then imported it via the Iconfont Manager option and then edited the functions.php file with the following line: ‘amazon’ => array( ‘font’ =>’fontello’, ‘icon’ => ‘ue808’), but it still didn’t work.

    Can you please help.

    #651218

    Hi,

    Please add this in the functions.php file, preferably below line 17:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['amazon']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue924');
    	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['Amazon'] = 'amazon';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    

    Go to the Enfold > Social Profiles to add the new social icon.

    Best regards,
    Ismael

    #653762

    Thanks, Ismael. It worked.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding additional social media icons to the Small Bar above the Main Menu’ is closed to new replies.