-
AuthorPosts
-
February 19, 2020 at 1:34 am #1185879
Hi there,
I am having issues adding custom icons for my social media profiles. I followed the instructions from this article: https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options.
I specifically downloaded the “imdb” icon from http://fontello.com/. I uploaded the zip file to the icon font manager. The website I am updating is using a child theme so I entered the script to fuctions.php.
I replaced the “fontello” name with “effra” and replaced the code “ue800” with “62168” as that is the code for the imdb icon. I refreshed the site and cleared the cache and still do not see the new icon as an option on social profiles.
Can you please advise? Let me know if you need any more credentials. Thanks!
February 20, 2020 at 2:18 pm #1186362Hey tivo_designs,
Thank you for the link, I see in your socket you have two twitter icons and assume one of these is meant to be the “imdb”
Please include and admin login so I can check your new icon settings.Best regards,
MikeFebruary 21, 2020 at 11:21 pm #1186879This reply has been marked as private.February 22, 2020 at 3:09 pm #1186976Hi,
Thank you for the login, I adjusted your function to this:// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['imdb'] = array( 'font' =>'effra', 'icon' => 'uf2d8'); 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['imdb'] = 'imdb'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please clear your browser cache and check.
Best regards,
MikeFebruary 25, 2020 at 6:16 pm #1187805Thank you so much for your help Mike!
February 26, 2020 at 6:46 am #1187979Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardFebruary 26, 2020 at 9:05 pm #1188263You can close this topic. Thank you!
February 27, 2020 at 11:47 am #1188402Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Adding custom icons’ is closed to new replies.