Forum Replies Created
-
AuthorPosts
-
January 20, 2022 at 12:47 am in reply to: Font Awesome icon not showing after adding from fontello #1336278
Mike – thank you so much! Strange how you’re icons showed up but mine didn’t show at all. I have downloaded what you have provided and went and downloaded Font-Awesome icons from fontello and what you gave me and what is downloaded are different.
1. the icons are different in their appearance, see the screen shot below.
2. when viewing the demo.html provided by fontello the icon codes are different.It appears you downloaded all of the icons from the Zocial icon pack and not the font awesome.
As you can see from my first post I tried to do what I can to get the font-awesome pack to work but it doesn’t.
- This reply was modified 2 years, 11 months ago by CalvaryCSD. Reason: Updating text with more information
January 14, 2022 at 8:30 pm in reply to: Font Awesome icon not showing after adding from fontello #1335628UPDATE 2 : Caching issue? Icons from Zocial are now showing just fine: Still could never get the icons from font-awesome to show.
UPDATE: I went and removed all the FONT AWESOME icons from my download off of fontello and just went with icons that showed up from Zocial – now I have just a pencil? Here is the updated code:
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['itunes'] = array( 'font' =>'fontello', 'icon' => 'ue800'); $icons['play'] = array( 'font' =>'fontello', 'icon' => 'ue801'); $icons['amazon'] = array( 'font' =>'fontello', 'icon' => 'ue802'); $icons['podcast'] = array( 'font' =>'fontello', 'icon' => 'ue803'); $icons['spotify'] = array( 'font' =>'fontello', 'icon' => 'ue804'); $icons['google'] = array( 'font' =>'fontello', 'icon' => 'ue805'); 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['iTunes'] = 'itunes'; $icons['Play'] = 'play'; $icons['Amazon'] = 'amazon'; $icons['Podcast'] = 'podcast'; $icons['Spotify'] = 'spotify'; $icons['Google Podcasts'] = 'google'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Viewing the DEMO HTML from fontello:
What it looks like on the site – the 2nd icon is supposed to be spotify (ue804)
- This reply was modified 2 years, 11 months ago by CalvaryCSD.
-
AuthorPosts