-
AuthorPosts
-
April 14, 2016 at 5:30 pm #614133
Hello,
I need to add an additional social icon to the drop down list in the Social Profiles Section of theme options and in the widget of Enfold. I am working with a child theme if that helps. The icon that needs to be added is Houzz and I’ve downloaded from Fontello. I can see it in the choices within Content Elements for “Icon List”. Not sure if that helps.Can you tell me how to do this?
Thank you for your time!
April 16, 2016 at 7:27 am #615338Hi Pcarran83,
Please try following this tutorial: http://kriesi.at/documentation/enfold/custom-social-icons/
Regards,
RikardApril 17, 2016 at 8:32 pm #615890I have been through that tutorial and reviewed many of the forums regarding this. It’s not working…
Here is what I have added to my CHILD THEME: functions-child.php
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘houzz’] = array( ‘font’ =>’houzz’, ‘icon’ => ‘ue801’);
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);I can see the Houzz logo in the ICON list but it does not appear in EITHER of the drop down list in the Social Profiles Section of theme options and in the Social Profile Widget of Enfold.
April 19, 2016 at 2:48 am #617015Hi!
I fixed your code in the file but can you please change the file name from functions-child.php to functions.php in your child theme?
Cheers!
YigitApril 19, 2016 at 3:06 am #617035Thank you Yigit!
It works great in the Social Profiles within the header, editable in Theme Options. I’d also like to add it to Social Profiles in the footer, editable in the Widgets. How can I send you a screenshot?
Child theme function name changed.
April 19, 2016 at 3:09 am #617038Hi!
Please add the code in private content field into a text widget and then add following code to Quick CSS in Enfold theme options under General Styling tab
.widget .social_bookmarks li { clear: none!important; }
Cheers!
YigitApril 19, 2016 at 6:30 pm #617603Yigit-
I have added the code in a text widget and the Quick CSS code. The icons do not look as nice as the ones from the Social Profile WIDGET. Is there a way to add the Houzz logo to that area? Sure would look nice. :-)
Patty
April 20, 2016 at 2:39 am #617880Hey!
Please add following code to Quick CSS as well
.widget .social_bookmarks li { border: none!important; } .widget .social_bookmarks li a { color: white; }
Regards,
YigitMay 20, 2017 at 4:12 am #796902Hey Yigit,
so how did you ended up fixing his file? Because I have the same issue with my child theme (function.php)
Cheers
ErsinMay 21, 2017 at 9:47 pm #797312 -
AuthorPosts
- You must be logged in to reply to this topic.