Hi Kriesi team,
I noticed you dont have the telegram icon (paper plane icon) in your social media profiles, however, the icon does exist in general icons.
Is there a way I can add this ‘paper plane’ icon to my social media profile or in the website header? At the moment I have my telegram link under another icon (email – envelope icon). I would like to replace the envelope icon with the telegram/paper plane icon. Thank you
Note: Example image provided in private content
Hey tinagianna,
Thank you for your patience and for the login, to add the Telegram icon to the social profiles I added this code to your functions.php:
// 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);
since you are not using a child theme, this was added on line 47 after:
if( isset( $avia_config['use_child_theme_functions_only'] ) )
{
return;
}
since you are not using a child theme, this will be lost on your next update, I recommend using a child theme.
I also added the Telegram mouse-over css to your Quick CSS using the Telegram Logo Color Palette from here
#top #wrap_all .av-social-link-telegram:hover a{
color:#fff;
background-color:#0088CC;
}
Please clear your browser cache and check.
Best regards,
Mike