Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1038265

    I’ve done some research and can’t seem to get the solutions to work to replace the standard social profile YouTube icon that appears in the top header with a different icon. I’ve uploaded the fontello icon I want (FontAwesome icon), and added the code in my child functions, but all I see in the drop down is “Icon Label” when I try to pick a new YouTube icon. I know I’m missing something, just not sure what.

    Apologies for the redundant support post!

    Thanks!

    #1039130

    Any help?

    #1039517

    Hi,

    Sorry for the late reply. Where can we see the icon/element in question? Which icon would you like to replace it with?

    Best regards,
    Rikard

    #1043437
    This reply has been marked as private.
    #1044346

    Hi DanielCPalmer,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1044651

    Sure see below.

    #1045392

    Hi DanielCPalmer,

    
    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['alt_youtube']	 = array( 'font' =>'fontello', 'icon' => '61802');
    	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['Alternative Youtube'] = 'alt_youtube';
    	return $icons;
    }
    

    Best regards,
    Victoria

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