Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #674618

    Hi,
    I searched on the forum but I found nothing that can help me so I’m writing you :)

    I would like to change the Instagram icon from Entypo-Fontello to Font Awesome.
    I added this on the functions.php to add Font Awesome :
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_font_awesome’ );
    function enqueue_font_awesome() {

    wp_enqueue_style( ‘font-awesome’, ‘//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css’ );

    }

    And I replaced in the same php file the Instagram line by :
    ‘instagram’ => array( ‘font’ =>’font-awesome’, ‘icon’ => ‘uf16d’),

    Unfortunetly it doesn’t work ;(

    Have you any idea where the problem is ?

    Thank you very much for helping !
    Regards,
    Thibault

    #675554

    Hi Obeatone,

    Sorry for the late reply, please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #675704

    Hi,
    Thank you for replying !
    You’ll find admin login in privacy area.

    Thank you!
    Regards,
    Thibault

    #676865

    Any idea ? :)

    #677004
    #677077

    Thank you for helping !

    I tried but it still doesn’t work.
    I uploaded the new instagram logo (font-awesome) in a zipped file via fontello.com and I added this in my function.php file :

    add_filter(‘avf_default_icons’,’avia_replace_standard_icon’, 10, 1);

    function avia_replace_standard_icon($icons)
    {
    $icons[‘instagram’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘uf16d’);
    return $icons;
    }

    I have no idea why it doesn’t work ;(

    Thank you in advance for your help !
    Regards,
    Thibault

    #677544

    hellllp please ;)

    #677548

    Hey!

    I changed the code to following one

    add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
    
    function avia_replace_standard_icon($icons)
    {
    $icons['instagram']	 = array( 'font' =>'fontello', 'icon' => 'uf16d');
    return $icons;
    }

    Please review your website now

    Best regards,
    Yigit

    #677576

    Thank you for your help, It works now :)))
    Regards,
    Thibault

    #677579

    Hi,

    You are welcome Thibault, glad we could help! :)
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Change Instagram and Basket Icons’ is closed to new replies.