{"id":55573,"date":"2015-10-13T02:53:07","date_gmt":"2015-10-13T06:53:07","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=55573"},"modified":"2017-08-17T06:04:06","modified_gmt":"2017-08-17T10:04:06","slug":"cherryframework-4-how-to-change-font-icons","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-4-how-to-change-font-icons.html","title":{"rendered":"CherryFramework 4. How to change font icons"},"content":{"rendered":"<p>This tutorial shows how to<strong> change font icons <\/strong>in  CherryFramework 4.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=cade6P-aFJA?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to change font icons<\/a>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<p>There are several types of iconic fonts that might be used in CherryFramework 4. They are Font Awesome and Material Design icons. Use<strong> &#8216;Inspect element&#8217; <\/strong>tool to check the specific one in your case. The font reference shows up under<strong> &#8216;font-family&#8217; css line<\/strong>:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_1\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55574\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_2.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_2-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_2\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55575\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_2-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_2-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<h3 class=\"custom\">Font Awesome<\/h3>\r\n<p>Font  Awesome is usually used for the icons. You can replace original icons with new ones using Dashboard options:<\/p>\r\n<ol>\r\n  <li>\r\n    <p>Open  the post\/page where icon should be replaced.<\/p>\r\n    <p class=\"attention\"><strong>NOTE:<\/strong> make sure to use Visual editor for editing.<\/p>\r\n  <\/li>\r\n  <li>\r\n  <p>Scroll down the content to locate required piece of text where Font Awesome is used. The reference to the used icon will be within <strong>[cherry_icon]<\/strong> shortcode, for example: <strong>[cherry_icon  icon=&quot;icon: fa fa-group&quot; size=&quot;48&quot;  color=&quot;#ffffff&quot;]\t\t\t\t<\/strong><\/p>\r\n  <p>Click  <strong>&#8216;Insert shortcode&#8217; button<\/strong> on top of the page to replace default icon with another one:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_3.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_3-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_3\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55576\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_3-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_3-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n  <li>\r\n  <p>Select<strong> &#8216;Icon&#8217; type<\/strong> there. You will get a form with the<strong> &#8216;Icon picker&#8217;<\/strong> to use. This tab specifically opens a list of available Font Awesome icons. Select the one you prefer to be used in a page:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_4.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_4-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_4\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55577\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_4-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_4-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n    <p><strong>&#8216;Media manager&#8217; button<\/strong> allows you to upload custom image to be used as an icon.<\/p>\r\n    <p>Update icon settings (icon size, color, CSS style class), so they match required layout of your page. Click <strong>&#8216;Insert shortcodes&#8217; <\/strong>button once done editing. This places new icon to the page content.<\/p>\r\n    <\/li>\r\n  <li>\r\n    <p><strong>Delete the shortcode for the old icon<\/strong> and update changes to the page.<\/p>\r\n  <\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">Flat Icons<\/h3>\r\n<p>There are icons created with different font than Font Awesome. Use<strong> &#8216;Inspect element&#8217; tool <\/strong>to check the used font. Let&#8217;s use <strong>fl-continuous font icons<\/strong> as an example:<\/p>\r\n\r\n<a href=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1.gif\"><img loading=\"lazy\" src=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_1\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55574\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_1-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Icons of this type are updated in a different  way:<\/p>\r\n\r\n<ol>\r\n  <li>\r\n    <p>Use<strong> &#8216;Inspect Element&#8217; <\/strong>tool first and locate CSS class for the specific icon. Copy the CSS class:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_5.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_5-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_5\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55578\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_5-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_5-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n\t<li>\r\n  <p>Open <strong>Dashboard&gt; Appearance&gt; Editor&gt; theme####&gt; style.css <\/strong>file. Paste the copied CSS class there. Put it to the bottom of the file, below the content it currently contains. <\/p>\r\n  <\/li>\r\n\t<li>\r\n    <p>Now open server files (use hosting cPanel or FTP for that). Locate <strong>\/wp-content\/themes\/theme#####\/assets\/css\/ <\/strong>folder there. You&#8217;ll see CSS files for the custom iconic fonts. Open the one for fl-continuous &#8211;   <strong>&quot;fl-continuous.css&quot; <\/strong>file.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n    <p>List of the available icons and content for them shows up. Locate the icon you&#8217;d like to use there and <strong>copy its content value<\/strong>.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n    <p>Get back to the <strong>style.css file in  Dashboard<\/strong>.  Replace the previous icon content with the new one.<\/p>\r\n    <p class=\"attention\"> <strong>Note:<\/strong> make sure to use<strong> &#8216;!important&#8217; <\/strong> at the end of the line to apply the change:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_6.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_6-300x228.gif\" alt=\"CherryFramework-4_How_to_change_iconic_fonts_icons_6\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-55579\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_6-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework-4_How_to_change_iconic_fonts_icons_6-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t<li>\r\n\t<p>Update changes to the file. Get back to the site&#8217;s front-end to view the result.<\/p>\r\n\t<\/li>\r\n<\/ol>\r\n\r\n<h3 class=\"custom\">Custom Icon Fonts<\/h3>\r\n<p>In case you&#8217;d like to place some custom icon font, some additional steps are required. <\/p>\r\n<ol>\r\n\t<li>\r\n\t\t<p>Download the files for the new icons font and upload them to the following directory:<strong> &#8216;wp-content\/themes\/themeXXXXX\/assets\/fonts&#8217;<\/strong>.<\/p>\r\n\t<\/li>  \r\n\t<li>\r\n\t\t<p> Upload <strong>CSS file of the custom iconic font <\/strong>to the<strong> &#8216;wp-content\/themes\/themeXXXXX\/assets\/css&#8217; <\/strong>folder in the server.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Open<strong> &#8216;wp-content\/themes\/themeXXXXX\/functions.php<\/strong>&#8216; file.  Locate the following piece of code:<\/p>\r\n\t\t\t<pre class=\"brush:php\">\r\nadd_filter( 'cherry_custom_font_icons', 'themeXXXX_custom_font_icons' );\r\nfunction themeXXXXX_custom_font_icons($icons) {\r\n $icons['themeXXXXX_flat_icon_continuous'] = get_stylesheet_directory_uri() . '\/assets\/css\/fl-continuous.css';\r\n $icons['themeXXXXX_flat_icon_justicons'] = get_stylesheet_directory_uri() . '\/assets\/css\/fl-justicons.css';\r\n $icons['themeXXXXX_flat_icon_arrows'] = get_stylesheet_directory_uri() . '\/assets\/css\/arrows.css';\r\n return $icons;\r\n}\r\n\t\t\t<\/pre>\r\n\t<\/li>\r\n\t<li>Edit that with the line for the custom iconic font:\r\n  <pre class=\"brush:php\">$icons['themeXXXXX_custom_font_name] = get_stylesheet_directory_uri() . '\/assets\/css\/path-to-icon-font.css';<\/pre>\r\n\t\t<p><strong>custom_font_name<\/strong> should be replaced with the actual name of the new font. <\/p>\r\n\t\t<p><strong>path-to-icon-font.css<\/strong> should be replaced with the actual name for the CSS file from the &#8216;assets\/css&#8217; folder. <\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p> Update changes to the file. Next you can use the new iconic font in the same way as for the Flat Icons. <\/p>\r\n\t<\/li>\r\n<\/ol>\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=cade6P-aFJA?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to change font icons<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to<strong> change font icons <\/strong>in  CherryFramework 4.<\/p>\n","protected":false},"author":66,"featured_media":55582,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2017,728],"tags":[2012,688,1761,674,1736],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55573"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=55573"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55573\/revisions"}],"predecessor-version":[{"id":82824,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55573\/revisions\/82824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/55582"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=55573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=55573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=55573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}