{"id":866,"date":"2018-10-18T12:09:48","date_gmt":"2018-10-18T06:39:48","guid":{"rendered":"https:\/\/awpguide.com\/?p=866"},"modified":"2018-10-18T12:09:48","modified_gmt":"2018-10-18T06:39:48","slug":"how-to-add-additional-css-in-wordpress","status":"publish","type":"post","link":"https:\/\/awpguide.com\/wp-guides\/how-to-add-additional-css-in-wordpress\/","title":{"rendered":"How To Add Additional CSS In WordPress"},"content":{"rendered":"

Do you want to customize the website by adding additional CSS? Last day one of our users asked that how we added color to our\u00a0heading 2 tags. In this post, we will show you that how can you add additional CSS in WordPress.<\/p>\n

When Do You Need To Add Additional CSS?<\/h2>\n

Most folks are using ready-made WordPress themes for their websites. WordPress theme store like HappyThemes<\/a>, StudioPress<\/a>, and MyThemeShop<\/a> got awesome designs. But the fact is, all those websites will look similar and feel similar.<\/p>\n

By adding some custom CSS to your website, you will be able to be different in look, feel and can improve the user experience!<\/p>\n

How To Add Additional CSS In WordPress<\/h2>\n

First of all, log in to your WordPress admin dashboard. Under the appearance menu, you can see the customizer.<\/p>\n

\"How<\/p>\n

Open it and go to the additional CSS editor.<\/p>\n

\"additional<\/p>\n

Like we said above, we are going to show you that how can you change the h2 color through additional CSS. Open any post which got a heading 2 tag.<\/p>\n

\"heading<\/p>\n

Enter the CSS code something like below.<\/p>\n

\r\nh2 {\r\ncolor: #ff0000;\r\nfont-size: 28px;\r\nfont-weight: 600;\r\n}\r\n<\/pre>\n

Once you added above code in your\u00a0additional CSS field, you can see the live action on the preview screen. If you are happy with the styling, publish the changes.<\/p>\n

\"additional<\/p>\n

For customizing your website body, you may want to consider adding the CSS something like;<\/p>\n

\r\nbody {\r\nfont-size: 15px;\r\nfont-weight: 400;\r\n}\r\n<\/pre>\n

Don’t forget to publish the changes after tweaking the code with your own needs.<\/p>\n

Does It Affect Physically?<\/h2>\n

No. The code will not be added to the theme’s style.css file physically. That will stay as the real. If you need to edit the style.css and add code, find the class of elements and edit the existing styles.<\/p>\n

\"h2<\/p>\n

Using a Child Theme<\/h2>\n

Using a plugin called Child themify, you will be able to create a child theme<\/a>. Add the custom CSS on the child theme’s CSS file. You can see the effect on\u00a0the front end.<\/p>\n

If you are using any caching plugin, you may want to consider clearing your website cache. In some cases, you may also want to clear your browser cache. Or, try the website on incognito mode.<\/p>\n

We hope you found this post helpful and enjoyed the read. If you did, please consider sharing this post with your friends and fellow bloggers on social media. From our blog section<\/a>, you will get more related WordPress tutorials.<\/p>\n","protected":false},"excerpt":{"rendered":"

Do you want to customize the website by adding additional CSS? Last day one of our users asked that how … <\/p>\n

Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":918,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts\/866"}],"collection":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/comments?post=866"}],"version-history":[{"count":0,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/posts\/866\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/media\/918"}],"wp:attachment":[{"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/media?parent=866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/categories?post=866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/awpguide.com\/wp-json\/wp\/v2\/tags?post=866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}