-
AuthorPosts
-
May 13, 2013 at 3:36 pm #23198
Is there a way to add custom icons to the theme to show up in the ‘Icon Box’ options? Where would I upload the icon files in ftp?
Thanks
May 13, 2013 at 6:20 pm #118912The icons come from a special webfont – “entypo” – which is hard-coded into the theme. The character of the font are mapped inside the entypo-fontello-charmap.php file (located: enfoldconfig-templatebuilderavia-template-builderassetsfonts).
You could alter the font at http://www.fontello.com, download the customized font (incl. new charmap), upload the files to the original location and customize the charmap.php file…..
May 14, 2013 at 6:17 am #118913Hey!
Thanks melonmelon for helping us out :)
Best regards,
Peter
May 17, 2013 at 2:33 am #118914Help Please!
I followed these instructions and now certain hard-coded icons in the theme aren’t working, specifically: the icon on the “Go to Top” button that appears on long pages, and the next and previous buttons on either side of the blog posts. Can you tell me what to edit in the charmap.php file to fix this? The site is still in development so I can’t give you a link.
May 17, 2013 at 6:59 am #118915All icons which are used by the theme are stored in an array in functions.php:
/*
* These are some of the font icons used in the theme, defined by the entypo icon font. the font files are included by the new aviaBuilder
* common icons are stored here for easy retrieval
*/
$avia_config['font_icons'] = array(
'search' => '🔍', //36
'standard' => '✎', //6
'link' => '🔗', //40
'image' => '📷', //46
'audio' => '♪', //51
'quote' => '❞', //33
'gallery' => '🌄', //145
'video' => '🎬', //146
'info' => 'ℹ', //120
'next' => '', //190
'prev' => '', //187
'behance' => '', //246
'dribbble' => '', //223
'facebook' => '', //212
'flickr' => '', //206
'gplus' => '', //215
'linkedin' => '', //221
'pinterest' => '', //217
'skype' => '', //238
'tumblr' => '', //219
'twitter' => '', //210
'vimeo' => '', //208
'rss' => '', //98
'mail' => '✉', //5
'cart' => '',
'reload' => '🔄',
'details' => '📄',
'clipboard' => '📋'
);If the unicode of the icons didn’t change you don’t need to modify the array, otherwise replace the cuurent codes with the new codes (take them from the custom charmap).
May 17, 2013 at 10:20 pm #118916That helps, thank you.
May 17, 2013 at 10:30 pm #118917Can you tell me which one of these icons is for the “go to top” link that appears at the bottom of long pages. I’m not seeing it.
May 18, 2013 at 12:22 am #118918Hi,
This is the code for the scroll to top link
 ;
You can find it on footer.php, find this code.
<a href='#top' id='scroll-top-link' class='avia-font-entypo-fontello'></a>
Regards,
Ismael
June 12, 2013 at 6:10 pm #118919Hi,
If you need to add the youtube glyph, or any missing social media glyph , here are the instructions for youtube, and you can use them for any other missing social media as well. https://kriesi.at/support/topic/youtube-icon#post-117381
Thanks,
Nick
-
AuthorPosts
- The topic ‘Adding Custom Icons’ is closed to new replies.