Hi,
How change icons of social networks in the header by others images?
Thank You!
Hey Marvin!
You’d need to import those images as icons via Fontello, refer to video for that – https://vimeo.com/75743285
Once you done that you need to add this code to theme / child theme functions.php (change accordingly):
function avia_add_custom_icon($icons) {
$icons['polyvore'] = array( 'font' =>'fontello', 'icon' => 'ue800');
return $icons;
}
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
function avia_add_custom_social_icon($icons) {
$icons['Polyvore'] = 'polyvore';
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Regards,
Josue
Hi,
Is there any way to insert own images png?
Thanks
Hi!
With CSS you can do something like (i’m changing the fb link here):
li.social_bookmarks_facebook{
background: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png) center center transparent !important;
font-size: 0;
}
Adjust as needed.
Best regards,
Josue
Hi,
perfect, just what I wanted …
but, when the mouse is above on the button, how change the color by another?
Thanks very much!
Hey!
You’d need to change the image, add this below and change accordingly:
li.social_bookmarks_facebook:hover{
background: url(HOVER IMAGE URL);
}
Best regards,
Josue