Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1192805

    Hi there

    How can I add a «Telegram» Social Icon on Social Media Profile?

    #1193154

    Hey Stephan,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

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

    Then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top #wrap_all .av-social-link-telegram:hover a {
        color: #fff;
        background-color: #add4ef;
    }

    That should give you this:
    2020-03-14_194649.png

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Telegram Icon’ is closed to new replies.