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

    Hi, I would like to add the houzz icon to social icon list,
    I added the following to functions.php and imported the fontello font zip via Import/Export in Theme Options.

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘icon_name’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’);
    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[‘Icon Label’] = ‘icon_name’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    But I can’t select houzz from the social icons under Social Profiles. What did I do wrong?
    Thanks for helping!

    #620300

    Hey birte5!

    It’s added (you can find the code in Plugins > Edit Functions).

    Cheers!
    Josue

    #738027

    I am trying to add Houzz to my social icons as well. I went to Fontello.com and searched for Houzz and downloaded a ZIP file.
    I added the this code to my child theme functions.php – using the zip file name…
    I do NOT see Houzz in my social list however… did I do it incorrectly??
    Thanks for your help in advance!

    Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘icon_name’] = array( ‘font’ =>’fontello-828d0fbb’, ‘icon’ => ‘houzz’);
    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[‘Icon Label’] = ‘icon_name’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    #740125

    Hi,

    Thank you for using Enfold.

    Please post the login details here so that we can check the actual icon set name and icon value. Or use this code then adjust the placeholder value.

    function avia_add_custom_icon($icons) {
    $icons['houzz']	= array( 'font' =>'ICON SET NAME', 'icon' => 'ICON CHARACTER VALUE');
    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['Houzz'] = 'houzz';
    return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    

    Best regards,
    Ismael

    #740324

    I just sent this in the Private Content.
    Thanks in advance – not sure what/where to get the placeholder value.
    Chris

    #740327

    Hi!

    I adjusted the code in functions.php file. Please review your website now

    Cheers!
    Yigit

    #740342

    Awesome! Thanks!
    Can I make them a little larger?
    Thanks again,
    Chris

    #740364

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #top .av-logo-container .social_bookmarks li a {
        font-size: 24px;
    }

    Regards,
    Yigit

    #740368

    that worked perfectly
    thanks and have a nice day.

    #740371

    Hey!

    Not at all!
    You too have a nice day and 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 ‘Add Houzz badge to social icons’ is closed to new replies.