Tagged: social icons
-
AuthorPosts
-
September 30, 2014 at 7:02 pm #327519
In my menu – i have included some social icons – however, I want to have a icon there for registration. is there a way i can upload or place a custom icon there? or modify one of the existing icons (if this is the only way, where are the icons located?)
September 30, 2014 at 8:53 pm #327578Hey!
Refer to this article:
http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/I’d suggest using a social profile you don’t use and replace the icon for that option, you can see the full list of available icons in functions.php, line 145.
If you want to use a custom icon font, refer to this video:
Best regards,
JosueOctober 1, 2014 at 12:05 am #327754okay – so i want to keep the standards fonts that came with the theme – however seeing how i will never use xing social icon – i want to replace it with list-add
but when i replaced the ue923 in theme function file – it just showed a circle on hover.
i am using the child theme – so how do i change ONLY the xing icon to the list-add icon (its from fontello, and from the standard library the theme uses) if that makes any sense….like how is the theme referencing ue923 icon???
October 1, 2014 at 12:18 am #327762Ha i figured it out how to figure out what number that is….
okay so even though i am using the child theme – i modified the main theme function file – i replaced xing’s icon number. and it worked out…however when the new update comes out – i would have to do it again.
is there a code i can put in the child theme function file?
thanks
October 1, 2014 at 12:47 am #327776Hey!
Try adding this at the very end of your child theme functions.php file:
add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1); function avia_replace_standard_icon($icons) { $icons['xing'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue8a6'); return $icons; }
Cheers!
JosueOctober 1, 2014 at 2:34 am #327804HELP!!!
when i added that – it broke the theme!!
i cannot do anything it just shows a blank page – current the site is up because of cloudflare.
October 1, 2014 at 5:38 am #327850Hey!
Maybe there was another function with the same name (avia_replace_standard_icon), check in your child functions.php.
Regards,
JosueOctober 16, 2014 at 3:54 pm #336827Is it possible to change the icons to a uploaded gif or png image?
October 17, 2014 at 3:11 am #337087 -
AuthorPosts
- You must be logged in to reply to this topic.