To add your CSS changes safely you have 3 ways of doing this:
- Appearance → Customize → Custom CSS – this custom CSS field from theme, and will work only if you have our main or child theme activated. All CSS added here will be added at end of theme
user/user.css
file. - Appearance → Customize → Additional CSS – 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.
- Using child theme style.css file – this will only work if you have activated child theme.
Choose whatever you option you want, and you can insert there your custom CSS.
Order of CSS that is included in theme
In this theme default stylesheet is loaded from main theme, and then you can overwrite CSS rules in style.css
of child theme. After this comes user.css
with changes set in admin panel. So finally it loads in this order:
- main theme
style.css
- child theme
style.css
- located in main theme
user/user.css
(settings form admin panel) - Custom CSS from panel(it is added at end of
user.css
)