-
AuthorPosts
-
April 20, 2016 at 10:04 pm #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!April 23, 2016 at 1:00 am #620300Hey birte5!
It’s added (you can find the code in Plugins > Edit Functions).
Cheers!
JosueJanuary 25, 2017 at 12:32 am #738027I 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);January 30, 2017 at 11:01 am #740125Hi,
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,
IsmaelJanuary 30, 2017 at 5:52 pm #740324I just sent this in the Private Content.
Thanks in advance – not sure what/where to get the placeholder value.
ChrisJanuary 30, 2017 at 6:06 pm #740327Hi!
I adjusted the code in functions.php file. Please review your website now
Cheers!
YigitJanuary 30, 2017 at 6:37 pm #740342Awesome! Thanks!
Can I make them a little larger?
Thanks again,
ChrisJanuary 30, 2017 at 7:12 pm #740364Hey!
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,
YigitJanuary 30, 2017 at 7:21 pm #740368that worked perfectly
thanks and have a nice day.January 30, 2017 at 7:22 pm #740371 -
AuthorPosts
- The topic ‘Add Houzz badge to social icons’ is closed to new replies.