Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1331767

    Trying to change the YouTube icon in the header using these instructions:https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options.

    /* Update Youtube Icon */
    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘youtube’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue921’);
    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[‘youtube’] = ‘youtube’;
    return $icons;
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    Unfortunately, the icon does not show up. Please help.


    Hey advteksol,

    Thank you for the inquiry.

    We modified the filter in the functions.php file a bit. We just replaced entypo with entypo-fontello because that is the font set where the icon ue921 belongs.

    Best regards,


    Thanks – Works great!



    Great, I’m glad that Ismael could help you out. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change YouTube Icon in Header’ is closed to new replies.