{"id":424,"date":"2017-12-13T10:44:09","date_gmt":"2017-12-13T10:44:09","guid":{"rendered":"http:\/\/rifetheme.com\/docs\/docs\/installation-updating\/installing-the-child-theme\/custom-css\/"},"modified":"2018-11-14T09:45:32","modified_gmt":"2018-11-14T09:45:32","slug":"custom-css","status":"publish","type":"docs","link":"https:\/\/rifetheme.com\/help\/docs\/modifications-of-theme\/custom-css\/","title":{"rendered":"Adding Custom CSS"},"content":{"rendered":"<p>To add your CSS changes safely you have 3 ways of doing this:<\/p>\n<ol>\n<li><a href=\"http:\/\/rifetheme.com\/help\/docs\/customizing-the-theme\/custom-css\/\"><strong>Appearance\u00a0\u2192\u00a0Customize\u00a0\u2192\u00a0Custom CSS<\/strong><\/a> &#8211; this custom CSS field from the theme and will work only if you have our main or <a href=\"http:\/\/rifetheme.com\/help\/docs\/installation-updating\/installing-the-rife-child-theme\/\">child theme<\/a> activated. All CSS added here will be added at end of theme <code>user.css<\/code> file(located in <code>wp-content\/uploads\/apollo13_framework_files\/css<\/code>).<\/li>\n<li><strong>Appearance\u00a0\u2192\u00a0Customize\u00a0\u2192 Additional CSS<\/strong> &#8211; this is WordPress field that was added in version 4.7. Changes added here will be visible independent of theme that you use. CSS from here will be inlined on each page displayed on front-end.<\/li>\n<li><strong>Using child theme style.css file<\/strong> &#8211; this will only work if you have activated <a href=\"http:\/\/rifetheme.com\/help\/docs\/installation-updating\/installing-the-rife-child-theme\/\">the child theme<\/a>.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Choose whatever you option you want, and you can insert there your custom CSS.<\/p>\n<h2>Order of CSS that is included in the theme<\/h2>\n<p>In this theme, default stylesheet is loaded from the main theme, and then you can overwrite CSS rules in <code>style.css<\/code> of <a href=\"http:\/\/rifetheme.com\/help\/docs\/installation-updating\/installing-the-rife-child-theme\/\">child theme<\/a>. After this comes <code>user.css<\/code> with changes set in Customizer. So finally it loads in this order:<\/p>\n<ol>\n<li>main theme <code>style.css<\/code><\/li>\n<li>child theme <code>style.css<\/code><\/li>\n<li>settings form Customizer <code>user.css<\/code><\/li>\n<li>Custom CSS from Customizer panel(it is added at end of <code>user.css<\/code>)<\/li>\n<\/ol>\n","protected":false},"author":1,"featured_media":0,"parent":8354,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[],"class_list":["post-424","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/comments?post=424"}],"version-history":[{"count":7,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/424\/revisions"}],"predecessor-version":[{"id":9168,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/424\/revisions\/9168"}],"up":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/8354"}],"next":[{"title":"Changing Theme Functions","link":"https:\/\/rifetheme.com\/help\/docs\/modifications-of-theme\/changing-theme-functions\/","href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/425"}],"wp:attachment":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/doc_tag?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}