Tagged: functions.php
-
AuthorPosts
-
April 13, 2016 at 11:04 am #612553
Hi,
I was trying to add Houzz icon to the social icnos options.
I added the indicated code AT THE END of the functions.php file and I saved the file and now the site is not working.
Could you please help me? Could you please add the correct code to be able to add houzz icon?
Thank you for your help and best regards,
Nicolás
April 13, 2016 at 11:13 am #612563Hi again. Since the problem was urgent I replaced the functions.php file with the original Enfold file via ftp and the site now is working again.
But can you add or tell me the exact code for adding Houzz icon? Where do I add it in the fuctions.php file?
Thank you.April 13, 2016 at 11:53 am #612606Hey!
I am not really sure what exactly what went wrong. If you would like us to import the icon for you, please create a temporary admin login once again. The one you posted in your initial post is not working for me
Regards,
YigitApril 13, 2016 at 12:08 pm #612620Hi!
I created a new temporary admin. See details bellow.
The icon is already imported and works. But when configuring ENFOLD SETTINGS/ SOCIAL PROFILES, the option Houzz-icon is not available.
I have the problem to add this option.
Thank you.
Nicolas
April 13, 2016 at 1:25 pm #612704Hey!
I added following code to Functions.php file in Appearance > Editor
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['houzz'] = array( 'font' =>'icon-houzz', '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['Houzz'] = 'houzz'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please review your website now
Cheers!
YigitApril 13, 2016 at 1:55 pm #612738Thank you Yigit! Works fine.
The only thing is that Houzz Icon on my socket dont react when hoovering like the other icons. Can you tell me how to configure this option? I mean when I hoover the icon I would like a round background in a specific color.
Thanks again.
NicolasApril 13, 2016 at 1:57 pm #612741Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.av-social-link-houzz:hover a { background: orange!important; color: white!important; }
Best regards,
YigitApril 13, 2016 at 2:04 pm #612750Now is perfect. Once again thank you
April 13, 2016 at 2:07 pm #612754Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘HELP! Enfold not working. File functions.php modified’ is closed to new replies.