{"id":52525,"date":"2015-08-19T03:54:18","date_gmt":"2015-08-19T07:54:18","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=52525"},"modified":"2017-12-12T06:30:06","modified_gmt":"2017-12-12T11:30:06","slug":"wordpress-how-to-change-material-design-icons","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-change-material-design-icons.html","title":{"rendered":"WordPress. How to change material design icons"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to change material design icons in WordPress templates.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=O1DJTC9T9D0?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to change material design icons<\/a><\/p>\r\n<p class=\"info-box\"><strong>Material Design<\/strong> is a full suite of material design icons for easy scalable vector graphics on websites. It is used for some  WordPress templates by TemplateMonster.com. Let&#8217;s check the way to edit it. There are two ways to update the icons:<\/p>\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<ol>\r\n<li>Using shortcodes;<\/li>\r\n<li>Using CSS.<\/li>\r\n<\/ol>\r\n<p>Let&#8217;s check both variants. The first approach shows how to update  material design icons <strong>using shortcodes<\/strong>.<\/p>\r\n<ol>\r\n<li>\r\n<p>Open WordPress Dashboard and navigate to <strong>Pages &gt; All Pages&gt; Home<\/strong>. Locate shortcode lines with material-design icon reference:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_1.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_1-300x228.gif\" alt=\"WordPress_How_to_change_material_design_icons_1\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-52529\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_1-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_1-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Now let&#8217;s open <strong>server File Manager<\/strong> and locate <strong> &#8216;wp-content\/themes\/theme####\/material\/material-design.css&#8217;<\/strong> file there. Open it to check the content. You&#8217;ll find a few variants of each icon there. Search for CSS class corresponding to the new icon and copy its title from the file:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_2.gif\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_2-300x228.gif\" alt=\"WordPress_How_to_change_material_design_icons_2\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-52530\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_2-300x228.gif 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/WordPress_How_to_change_material_design_icons_2-150x114.gif 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Paste it instead of default one to the shortcode line in the page and update changes. Update changes to the page and check the site&#8217;s front-end. \u00a0New icon appears now.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>The second approach shows how to update material design icons <strong>using CSS<\/strong>. <\/p>\r\n<ol>\r\n<li>\r\n<p>Right click the mouse and use <strong>&#8216;Inspect element&#8217;<\/strong> tool to locate the CSS class for the  icon to edit. <strong>Copy the CSS class<\/strong> for the arrow.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Get  back to the WordPress Dashboard and navigate to <strong>Appearance &gt; Editor&gt; style.css  file<\/strong>. Paste the CSS class for the icon and make sure it has &#8216;content&#8217; line value.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Get back to the <strong>&#8216;wp-content\/themes\/theme####\/material\/material-design.css&#8217;<\/strong> file and search for the value you&#8217;d like to use instead of default one.\r\n<\/p>\r\n<\/li>\r\n<li>\r\n<p>Paste the new content value to the style.css file. Remember to use <strong>&#8216;!important&#8217; <\/strong>to apply CSS modification properly. The final CSS class should look as follows:<\/p>\r\n<pre class=\"brush:css\">.block_3  .service-box2:after {\r\n  content: &quot;\\e11d&quot; !important;\r\n  }<\/pre>\r\n<\/li>\r\n<li>Update the style.css file once finished with modifications. Refresh the Home page to view the result.<\/li>\r\n<\/ol>\r\nIn case you\u2019re searching for a premium <a href=\"https:\/\/www.templatemonster.com\/category\/design-photography-wordpress-themes\/\">design WordPress<\/a> themes to build a website from scratch, look through our rich collection of templates.\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=O1DJTC9T9D0?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to change material design icons<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to change material design icons in Wordpress templates.<\/p>\n","protected":false},"author":66,"featured_media":52528,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[955,674,2040,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/52525"}],"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=52525"}],"version-history":[{"count":5,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/52525\/revisions"}],"predecessor-version":[{"id":83387,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/52525\/revisions\/83387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/52528"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=52525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=52525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=52525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}