Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #362288

    Hello, I am trying to add the “Houzz” icon from fontello. It is part of the “Brandico” set and not “Entypo”. I upload the font file as instructed and added this code into to functions.php replacing the existing icon code for “Xing”

    ‘houzz’ => array( ‘font’ =>’fontello’, ‘icon’ => ‘ue801’),

    U+e801 is the code for Houzz

    However, I still see an icon of a pencil rather than the houzz icon. What am I doing wrong?
    Thanks for your help.

    #362616

    Hi designhousegroup!

    Please see here, https://kriesi.at/support/topic/custom-social-bar-icons-replaceadd-enfold/#post-304134.

    What is the exact code your using in the functions.php file?

    Best regards,
    Elliott

    #364918

    Hello, sorry for the late reply. I never received an email of your reply. The exact cod is in my first comment. Your system won’t let me repeat it. I also tried using the code from the link you sent but it didn’t work. I think it needs modification for this icon but I’m not sure how.

    #365182

    Hey!

    You mean, you already added the code before? Can you please post the code on pastebin.com?

    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['houzz']	 = array( 'font' =>'fontello', 'icon' => 'ue801');
    // Add new icon here
    return $icons;
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons['Houzz'] = 'houzz';
    // Add new icon here
    return $icons;
    }

    I tested the code above on my installation and it works fine.

    Regards,
    Ismael

    #365419

    Maybe I didn’t put it in the right place. I just copied the code you just gave me. I added it at the end of the functions.php file. I also used the “Xing” icon code to replace with Houzz. I still don’t see the option in theme options or the Houzz icon. http://bella.staging.wpengine.com/ (hosted on WPengine)

    Here’s the entire functions.php as it is now. http://pastebin.com/FMFF8i4T

    #366239

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #366935
    This reply has been marked as private.
    #367453
    This reply has been marked as private.
    #367723

    Hey!

    Please check the site now: http://bell-la.com/

    Regards,
    Ismael

    #369259

    Hi Ismael, thank you. It’s very close. However, the hover background color effect is missing. It should be green #89c541.

    See the other icons when you hover, the background changes color and the icon itself turns white.

    The footer contains icons too which are circular and also have a background effect.

    #369326

    Hey!

    Use this on Quick CSS to add the hover effect:

    #top #wrap_all .av-social-link-houzz:hover a {
    color: #fff;
    background-color: #89c541;
    }

    Regards,
    Ismael

    #369687

    Perfect! Thanks so much.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Add a new social icon with fontello’ is closed to new replies.