Tagged: 

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

    #1331801

    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,
    Ismael

    #1332028

    Thanks – Works great!

    #1332061

    Hi,

    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,
    Rikard

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